[jsword-svn] r1387 - in trunk: bibledesktop/src/main/java/org/crosswire/bibledesktop/display/basic biblemapper/src/main/java/org/crosswire/biblemapper/swing common-swing/src/main/java/org/crosswire/common/config/swing

dmsmith at www.crosswire.org dmsmith at www.crosswire.org
Wed Jun 6 13:47:21 MST 2007


Author: dmsmith
Date: 2007-06-06 13:47:21 -0700 (Wed, 06 Jun 2007)
New Revision: 1387

Modified:
   trunk/bibledesktop/src/main/java/org/crosswire/bibledesktop/display/basic/TabbedBookDataDisplay.java
   trunk/biblemapper/src/main/java/org/crosswire/biblemapper/swing/Mapper.java
   trunk/common-swing/src/main/java/org/crosswire/common/config/swing/WizardConfigEditor.java
Log:
removed some unnecessary commented out code.

Modified: trunk/bibledesktop/src/main/java/org/crosswire/bibledesktop/display/basic/TabbedBookDataDisplay.java
===================================================================
--- trunk/bibledesktop/src/main/java/org/crosswire/bibledesktop/display/basic/TabbedBookDataDisplay.java	2007-06-06 20:40:13 UTC (rev 1386)
+++ trunk/bibledesktop/src/main/java/org/crosswire/bibledesktop/display/basic/TabbedBookDataDisplay.java	2007-06-06 20:47:21 UTC (rev 1387)
@@ -69,14 +69,6 @@
 
         center = pnlView.getComponent();
         pnlMain.add(center, BorderLayout.CENTER);
-
-        // NOTE: when we tried dynamic laf update, these needed special treatment
-        // There are times when tab_main or pnl_view are not in visible or
-        // attached to the main widget hierachy, so when we change L&F the
-        // changes do not get propagated through. The solution is to register
-        // them with the L&F handler to be altered when the L&F changes.
-        //LookAndFeelUtil.addComponentToUpdate(pnlView);
-        //LookAndFeelUtil.addComponentToUpdate(tabMain);
     }
 
     /**

Modified: trunk/biblemapper/src/main/java/org/crosswire/biblemapper/swing/Mapper.java
===================================================================
--- trunk/biblemapper/src/main/java/org/crosswire/biblemapper/swing/Mapper.java	2007-06-06 20:40:13 UTC (rev 1386)
+++ trunk/biblemapper/src/main/java/org/crosswire/biblemapper/swing/Mapper.java	2007-06-06 20:47:21 UTC (rev 1387)
@@ -145,9 +145,6 @@
 
         try
         {
-            // NOTE: when we tried dynamic laf update, 'this' needed special treatment
-            //LookAndFeelUtil.addComponentToUpdate(this);
-
             Document xmlconfig = XMLUtil.getDocument("config");
             config.add(xmlconfig, null);
 

Modified: trunk/common-swing/src/main/java/org/crosswire/common/config/swing/WizardConfigEditor.java
===================================================================
--- trunk/common-swing/src/main/java/org/crosswire/common/config/swing/WizardConfigEditor.java	2007-06-06 20:40:13 UTC (rev 1386)
+++ trunk/common-swing/src/main/java/org/crosswire/common/config/swing/WizardConfigEditor.java	2007-06-06 20:47:21 UTC (rev 1387)
@@ -251,9 +251,6 @@
     public void showDialog(Component parent)
     {
         dialog = new JDialog((JFrame) SwingUtilities.getRoot(parent));
-        // NOTE: when we tried dynamic laf update, dialog needed special treatment
-        //LookAndFeelUtil.addComponentToUpdate(dialog);
-
         dialog.getRootPane().setDefaultButton(next);
         dialog.getContentPane().add(this);
         dialog.setTitle(config.getTitle());




More information about the jsword-svn mailing list