[jsword-svn] r1390 - trunk/common-swing/src/main/java/org/crosswire/common/config/swing

dmsmith at www.crosswire.org dmsmith at www.crosswire.org
Thu Jun 7 07:26:12 MST 2007


Author: dmsmith
Date: 2007-06-07 07:26:12 -0700 (Thu, 07 Jun 2007)
New Revision: 1390

Modified:
   trunk/common-swing/src/main/java/org/crosswire/common/config/swing/DirectoryField.java
Log:
Removed a deprecation of Java 5.

Modified: trunk/common-swing/src/main/java/org/crosswire/common/config/swing/DirectoryField.java
===================================================================
--- trunk/common-swing/src/main/java/org/crosswire/common/config/swing/DirectoryField.java	2007-06-07 13:55:25 UTC (rev 1389)
+++ trunk/common-swing/src/main/java/org/crosswire/common/config/swing/DirectoryField.java	2007-06-07 14:26:12 UTC (rev 1390)
@@ -48,7 +48,7 @@
             FileDialog chooser = new FileDialog(GuiUtil.getFrame(getParent()), text.getText());
             String prop = "apple.awt.fileDialogForDirectories"; //$NON-NLS-1$
             System.setProperty(prop, "true"); //$NON-NLS-1$
-            chooser.show();
+            chooser.setVisible(true);
             System.setProperty(prop, "false"); //$NON-NLS-1$
             String dir = chooser.getFile();
             if (dir != null)




More information about the jsword-svn mailing list