From: <kp...@us...> - 2013-08-19 10:05:32
|
Revision: 23136 http://jedit.svn.sourceforge.net/jedit/?rev=23136&view=rev Author: kpouer Date: 2013-08-19 10:05:26 +0000 (Mon, 19 Aug 2013) Log Message: ----------- use of JPanel instead of a Box Modified Paths: -------------- jEdit/trunk/org/gjt/sp/jedit/options/ShortcutsOptionPane.java Modified: jEdit/trunk/org/gjt/sp/jedit/options/ShortcutsOptionPane.java =================================================================== --- jEdit/trunk/org/gjt/sp/jedit/options/ShortcutsOptionPane.java 2013-08-19 09:54:02 UTC (rev 23135) +++ jEdit/trunk/org/gjt/sp/jedit/options/ShortcutsOptionPane.java 2013-08-19 10:05:26 UTC (rev 23136) @@ -93,16 +93,14 @@ keymaps.addActionListener(actionHandler); keymaps.setSelectedItem(selectedKeymap); - Box keymapBox = Box.createHorizontalBox(); + JPanel keymapBox = new JPanel(new FlowLayout(FlowLayout.LEADING)); keymapBox.add(new JLabel(jEdit.getProperty( "options.shortcuts.keymap.label"))); - keymapBox.add(Box.createHorizontalStrut(6)); keymapBox.add(keymaps); keymapBox.add(Box.createHorizontalStrut(6)); keymapBox.add(duplicateKeymap); keymapBox.add(resetKeymap); keymapBox.add(deleteKeymap); - keymapBox.add(Box.createHorizontalGlue()); // combobox to choose action set selectModel = new JComboBox<>(models); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |