- Timestamp:
- 2009-06-10T16:23:33+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/ExtendedDialog.java
r1432 r1661 30 30 31 31 // For easy access when inherited 32 protected Object contentConstraints = GBC.eol().anchor(GBC.CENTER). insets(5,10,5,0);32 protected Object contentConstraints = GBC.eol().anchor(GBC.CENTER).fill(GBC.HORIZONTAL).insets(5,10,5,0); 33 33 protected ArrayList<JButton> buttons = new ArrayList<JButton>(); 34 34 … … 175 175 Action actionListener = new AbstractAction() { 176 176 public void actionPerformed(ActionEvent actionEvent) { 177 // 0 means that the dialog has been closed otherwise. 178 // We need to set it to zero again, in case the dialog has been re-used 179 // and the result differs from its default value 180 result = 0; 177 181 setVisible(false); 178 182 }
Note:
See TracChangeset
for help on using the changeset viewer.