Permalink
Browse files

Have the right LnF class name

  • Loading branch information...
1 parent be60f3e commit 656983a2fcad6de7095aac743c7c64091713cadf karthik.kumar committed Dec 9, 2009
Showing with 18 additions and 7 deletions.
  1. +2 −2 .settings/org.eclipse.jdt.core.prefs
  2. +16 −5 src/java/org/jreversepro/gui/MenuLooknFeel.java
@@ -1,4 +1,4 @@
-#Tue Dec 08 16:29:20 PST 2009
+#Tue Dec 08 16:59:30 PST 2009
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
@@ -14,7 +14,7 @@ org.eclipse.jdt.core.compiler.problem.fatalOptionalError=enabled
org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
-org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
+org.eclipse.jdt.core.compiler.problem.forbiddenReference=ignore
org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore
@@ -16,8 +16,19 @@
**/
package org.jreversepro.gui;
-import javax.swing.*;
-import java.awt.event.*;
+import java.awt.event.ActionEvent;
+import java.awt.event.ActionListener;
+
+import javax.swing.ButtonGroup;
+import javax.swing.JFrame;
+import javax.swing.JMenu;
+import javax.swing.JRadioButtonMenuItem;
+import javax.swing.SwingUtilities;
+import javax.swing.UIManager;
+import javax.swing.plaf.metal.MetalLookAndFeel;
+
+import com.sun.java.swing.plaf.motif.MotifLookAndFeel;
+import com.sun.java.swing.plaf.windows.WindowsLookAndFeel;
@SuppressWarnings("serial")
public class MenuLooknFeel extends JMenu {
@@ -30,9 +41,9 @@
JFrame AppFrame;
- public static final String MOTIF_LF = "com.sun.java.swing.plaf.motif.MotifLookAndFeel";
- public static final String WINDOWS_LF = "com.sun.java.swing.plaf.windows.WindowsLookAndFeel";
- public static final String METAL_LF = "javax.swing.plaf.metal.MetalLookAndFeel";
+ public static final String MOTIF_LF = MotifLookAndFeel.class.getName();
+ public static final String WINDOWS_LF = WindowsLookAndFeel.class.getName();
+ public static final String METAL_LF = MetalLookAndFeel.class.getName();
String App_LF;
static final String WINDOWS = "Win";

0 comments on commit 656983a

Please sign in to comment.