tplehman / keytool-iui

Automatically exported from code.google.com/p/keytool-iui
0 stars 0 forks source link

Change the layout manager #29

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The GridBagLayout used in the application is impractical to make changes to the 
UI. For example it's impossible to align the "Source" and "Target" borders 
while preserving the alignment of the fields in the two boxes.

I suggest switching to a versatile layout manager like MigLayout.

Original issue reported on code.google.com by ebo...@apache.org on 5 Apr 2011 at 10:55

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Just took a glance of MigLayout, with their WebStart demos. Like it.

My only concern is about licensing issue:
1) They (MIG Layout) are a ".com". Are they willing to continue offer/support 
their library under free BSD or GPL? in the future?, could it be possible that 
after time, it turns out that they will just support a commercial product?
2) We are licensing under LGPL, "MIG Layout" is licensed either under free BSD 
or GPL. Don't we break the LGPL, if using for eg. MIG Layout under it's GPL 
license? I guess not. 

Original comment by bantc...@gmail.com on 5 Apr 2011 at 11:55

GoogleCodeExporter commented 8 years ago
I've used MigLayout on several projects and it's really simple and powerful, 
especially the debug mode which outlines the grid and the border of the 
components, that's an invaluable help.

Regarding your concerns:

1) Considering that the author of MigLayout is looking for support to include 
its layout into the JDK I doubt he plans to turn it into a close source 
commercial project. If it happened the project would be undoubtedly forked by 
someone. Also the project is quite mature and the code is very stable now, so 
the support is less of an issue.

2) MigLayout is double licensed, that's fully compatible with the LGPL used for 
KeyTool IUI.

Original comment by emmanuel...@gmail.com on 6 Apr 2011 at 6:35

GoogleCodeExporter commented 8 years ago
It is OK with me.

Original comment by bantc...@gmail.com on 6 Apr 2011 at 7:12