Felix Berger
2005-02-27 18:20:17 UTC
Hi,
while looking around how things are done in Limewire I did polished the
ListEditor and the StandardListEditor.
The changes for the StandardListEditor are:
* use gridbag layout to make the (add, remove) buttons on the right have the
same horizontal size.
* Removed button row implementation for this purpose, made
ButtonRow.BUTTON_SEP public so the buttons still have the same distance from
each other
* Use Actions internally
* no interface changes
The changes for ListEditor are:
* use gridbag layout for nicer layout of the buttons, the insets can still be
tweaked
* disable remove button when nothing is selected
* enter key in editor field triggers add action
* delete key in list triggers remove action
* use actions internally
* no public interface changes
It's all in one patch.
Regards,
Felix
while looking around how things are done in Limewire I did polished the
ListEditor and the StandardListEditor.
The changes for the StandardListEditor are:
* use gridbag layout to make the (add, remove) buttons on the right have the
same horizontal size.
* Removed button row implementation for this purpose, made
ButtonRow.BUTTON_SEP public so the buttons still have the same distance from
each other
* Use Actions internally
* no interface changes
The changes for ListEditor are:
* use gridbag layout for nicer layout of the buttons, the insets can still be
tweaked
* disable remove button when nothing is selected
* enter key in editor field triggers add action
* delete key in list triggers remove action
* use actions internally
* no public interface changes
It's all in one patch.
Regards,
Felix
--
Try Debian GNU/Linux!
http://www.felix.beldesign.de/
Try Debian GNU/Linux!
http://www.felix.beldesign.de/