[Fedora-directory-commits] console/src/com/netscape/management/nmclf SuiLookAndFeel.java, 1.1.1.1, 1.2 SuiTreeUI.java, 1.1.1.1, 1.2

Richard Allen Megginson (rmeggins) fedora-directory-commits at redhat.com
Fri Dec 2 21:30:33 UTC 2005


Author: rmeggins

Update of /cvs/dirsec/console/src/com/netscape/management/nmclf
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5215/console/src/com/netscape/management/nmclf

Modified Files:
	SuiLookAndFeel.java SuiTreeUI.java 
Log Message:
Fixes to allow the console to build with gcj/classpath.  NOTE: You need a later version of Classpath than the one included with Fedora Core 4 in order to build with these changes.  But these changes work fine with Sun or IBM 1.4.2 or later javac.
Bug 170577
Bug 170823
Bug 171051
Thanks to Lillian Angel for the contribution.



Index: SuiLookAndFeel.java
===================================================================
RCS file: /cvs/dirsec/console/src/com/netscape/management/nmclf/SuiLookAndFeel.java,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -r1.1.1.1 -r1.2
--- SuiLookAndFeel.java	18 Jul 2005 00:34:28 -0000	1.1.1.1
+++ SuiLookAndFeel.java	2 Dec 2005 21:30:25 -0000	1.2
@@ -24,15 +24,9 @@
 import javax.swing.*;
 import javax.swing.border.*;
 import javax.swing.plaf.basic.*;
-import com.sun.java.swing.plaf.windows.*;
 import javax.swing.plaf.*;
-import javax.swing.text.JTextComponent;
-import javax.swing.text.DefaultEditorKit;
-import java.awt.event.KeyEvent;
-import java.awt.event.InputEvent;
-import java.util.*;
+import javax.swing.plaf.metal.*;
 
-import java.net.URL;
 import java.io.Serializable;
 
 import com.netscape.management.client.util.*;
@@ -49,7 +43,7 @@
  * @author Ben fry
  * @author Andy Hakim
  */
-public class SuiLookAndFeel extends WindowsLookAndFeel implements Serializable, SuiConstants 
+public class SuiLookAndFeel extends MetalLookAndFeel implements Serializable, SuiConstants 
 {
     public static final boolean _isWindows =
             System.getProperty("os.name").startsWith("Windows");


Index: SuiTreeUI.java
===================================================================
RCS file: /cvs/dirsec/console/src/com/netscape/management/nmclf/SuiTreeUI.java,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -r1.1.1.1 -r1.2
--- SuiTreeUI.java	18 Jul 2005 00:34:28 -0000	1.1.1.1
+++ SuiTreeUI.java	2 Dec 2005 21:30:25 -0000	1.2
@@ -20,16 +20,11 @@
 package com.netscape.management.nmclf;
 
 import java.awt.*;
-import java.awt.event.*;
-
-import java.io.*;
-import java.util.*;
 
 import javax.swing.*;
 import javax.swing.plaf.*;
 import javax.swing.tree.*;
 import javax.swing.plaf.basic.*;
-import com.sun.java.swing.plaf.windows.*;
 
 /**
  * A UI for JTree.  The original intent was to use curved lines




More information about the Fedora-directory-commits mailing list