]> git.proxmox.com Git - mirror_edk2.git/commitdiff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1239 6f19259b...
authoralfred <alfred@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 11 Aug 2006 03:22:44 +0000 (03:22 +0000)
committeralfred <alfred@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 11 Aug 2006 03:22:44 +0000 (03:22 +0000)
Tools/Source/MigrationTools/org/tianocore/migration/FirstPanel.java

index 342c01c44306b4a68909cf65853c92289fa0ef81..18c02996ea46ee8878873b1d9d5f77b4324a9417 100644 (file)
@@ -124,8 +124,15 @@ public class FirstPanel extends JPanel implements ActionListener, UI {
     //---------------------------------------------------------------------------------------//\r
     \r
     public static void init() throws Exception {\r
     //---------------------------------------------------------------------------------------//\r
     \r
     public static void init() throws Exception {\r
-               JFrame.setDefaultLookAndFeelDecorated(true);\r
-               JFrame frame = new JFrame("FrameDemo");\r
+       \r
+       //UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName());\r
+       UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());\r
+       //UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel");\r
+       //UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");\r
+       //UIManager.setLookAndFeel("com.sun.java.swing.plaf.gtk.GTKLookAndFeel");\r
+       //UIManager.setLookAndFeel("com.sun.java.swing.plaf.motif.MotifLookAndFeel");\r
+       \r
+               JFrame frame = new JFrame("MigrationTools");\r
                frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r
 \r
         FirstPanel fp = new FirstPanel();\r
                frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r
 \r
         FirstPanel fp = new FirstPanel();\r