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

dmsmith at www.crosswire.org dmsmith at www.crosswire.org
Mon Jun 11 08:31:38 MST 2007


Author: dmsmith
Date: 2007-06-11 08:31:38 -0700 (Mon, 11 Jun 2007)
New Revision: 1396

Modified:
   trunk/common-swing/src/main/java/org/crosswire/common/swing/ActionFactory.java
Log:
fixed a button transparency issue with JDK 1.5 on Linux.

Modified: trunk/common-swing/src/main/java/org/crosswire/common/swing/ActionFactory.java
===================================================================
--- trunk/common-swing/src/main/java/org/crosswire/common/swing/ActionFactory.java	2007-06-11 15:22:51 UTC (rev 1395)
+++ trunk/common-swing/src/main/java/org/crosswire/common/swing/ActionFactory.java	2007-06-11 15:31:38 UTC (rev 1396)
@@ -201,6 +201,7 @@
     {
         JButton button = new JButton(getAction(key));
         button.setBorderPainted(false);
+        button.setContentAreaFilled(false);
         button.setText(null);
         button.setMargin(new Insets(0, 0, 0, 0));
         return button;




More information about the jsword-svn mailing list