mirror of https://github.com/acidanthera/audk.git
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1239 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
cfe26d0ed8
commit
b48e3710a5
|
@ -124,8 +124,15 @@ public class FirstPanel extends JPanel implements ActionListener, UI {
|
||||||
//---------------------------------------------------------------------------------------//
|
//---------------------------------------------------------------------------------------//
|
||||||
|
|
||||||
public static void init() throws Exception {
|
public static void init() throws Exception {
|
||||||
JFrame.setDefaultLookAndFeelDecorated(true);
|
|
||||||
JFrame frame = new JFrame("FrameDemo");
|
//UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName());
|
||||||
|
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
|
||||||
|
//UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel");
|
||||||
|
//UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
|
||||||
|
//UIManager.setLookAndFeel("com.sun.java.swing.plaf.gtk.GTKLookAndFeel");
|
||||||
|
//UIManager.setLookAndFeel("com.sun.java.swing.plaf.motif.MotifLookAndFeel");
|
||||||
|
|
||||||
|
JFrame frame = new JFrame("MigrationTools");
|
||||||
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
||||||
|
|
||||||
FirstPanel fp = new FirstPanel();
|
FirstPanel fp = new FirstPanel();
|
||||||
|
|
Loading…
Reference in New Issue