[Patch] javax.swing merged

Michael Koch konqueror@gmx.de
Sat Oct 16 16:07:00 GMT 2004


Hi list,


I just merged the attached patch from GNU classpath.


Michael


2004-10-16  Jeroen Frijters  <jeroen@frijters.net>

	* javax/swing/JDialog.java
	(decorated): Likewise.
	* javax/swing/JFrame.java
	(defaultLookAndFeelDecorated): Likewise.

-------------- next part --------------
Index: javax/swing/JDialog.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/swing/JDialog.java,v
retrieving revision 1.2.18.3
diff -u -r1.2.18.3 JDialog.java
--- javax/swing/JDialog.java	30 Jul 2004 21:34:34 -0000	1.2.18.3
+++ javax/swing/JDialog.java	16 Oct 2004 16:06:05 -0000
@@ -77,7 +77,7 @@
   private int close_action = HIDE_ON_CLOSE;
   
   /** Whether JDialogs are decorated by the Look and Feel. */
-  private static boolean decorated = false;
+  private static boolean decorated;
 
   /**
    * Creates a new non-modal JDialog with no title 
Index: javax/swing/JFrame.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/swing/JFrame.java,v
retrieving revision 1.4.2.8
diff -u -r1.4.2.8 JFrame.java
--- javax/swing/JFrame.java	13 Sep 2004 10:26:19 -0000	1.4.2.8
+++ javax/swing/JFrame.java	16 Oct 2004 16:06:05 -0000
@@ -60,7 +60,7 @@
   implements WindowConstants, RootPaneContainer
 {
   private static final long serialVersionUID = -3362141868504252139L;
-  private static boolean defaultLookAndFeelDecorated = false;
+  private static boolean defaultLookAndFeelDecorated;
   private int close_action = HIDE_ON_CLOSE;
   protected AccessibleContext accessibleContext;
   protected JRootPane rootPane;


More information about the Java-patches mailing list