Author: rmeggins
Update of /cvs/dirsec/console/src/com/netscape/management/client/console
In directory
cvs-int.fedora.redhat.com:/tmp/cvs-serv5215/console/src/com/netscape/management/client/console
Modified Files:
Console.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: Console.java
===================================================================
RCS file: /cvs/dirsec/console/src/com/netscape/management/client/console/Console.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- Console.java 29 Nov 2005 18:36:56 -0000 1.3
+++ Console.java 2 Dec 2005 21:30:15 -0000 1.4
@@ -28,8 +28,6 @@
import java.net.MalformedURLException;
import javax.swing.*;
-import javax.swing.event.*;
-import javax.swing.border.*;
import com.netscape.management.nmclf.*;
import com.netscape.management.client.*;
@@ -151,7 +149,7 @@
if (!_useJavaLookAndFeel) {
SuiLookAndFeel nmclf = new SuiLookAndFeel();
- UIManager.setLookAndFeel(nmclf);
+ UIManager.setLookAndFeel((LookAndFeel)nmclf);
// With JDK1.4 on Unix, the first instance of JFileChooser
// has an incorrect layout for some of the buttons. Create
Show replies by date