From: Erik V. <ev...@us...> - 2009-12-30 19:54:42
|
Update of /cvsroot/rails/18xx/rails/ui/swing/elements In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv9072/rails/ui/swing/elements Modified Files: CheckBoxDialog.java Log Message: Minor change Index: CheckBoxDialog.java =================================================================== RCS file: /cvsroot/rails/18xx/rails/ui/swing/elements/CheckBoxDialog.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** CheckBoxDialog.java 4 May 2009 20:29:14 -0000 1.2 --- CheckBoxDialog.java 30 Dec 2009 19:54:31 -0000 1.3 *************** *** 51,55 **** initialize(); pack(); ! this.setVisible(true); // Center on owner int x = --- 51,55 ---- initialize(); pack(); ! // Center on owner int x = *************** *** 61,64 **** --- 61,65 ---- setLocation(x, y); + setVisible(true); } *************** *** 123,132 **** } else if (arg0.getSource().equals(cancelButton)) { } ! this.setVisible(false); ! this.dispose(); ! } ! public boolean[] getSelectedOptions() { return selectedOptions; } --- 124,132 ---- } else if (arg0.getSource().equals(cancelButton)) { } ! setVisible(false); ! dispose(); } ! public synchronized boolean[] getSelectedOptions() { return selectedOptions; } |