KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > SOFA > SOFAnode > Made > TIR > Access > TIRBrowser > Main


1 package SOFA.SOFAnode.Made.TIR.Access.TIRBrowser;
2 import javax.swing.UIManager JavaDoc;
3
4 public class Main {
5   public static void main(String JavaDoc[] argv) {
6     try {
7       UIManager.setLookAndFeel( UIManager.getCrossPlatformLookAndFeelClassName());
8     } catch (Exception JavaDoc e) {
9       System.out.println("Plaf error");
10       System.exit(0);
11     }
12
13     BrFrame frame = new BrFrame();
14     frame.pack();
15     frame.setVisible(true);
16   }
17 }
18
19
Popular Tags