JSR-296: The Swing Application Framework - Java
JSR-296: The Swing Application Framework - Java
JSR-296: The Swing Application Framework - Java
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Using the <strong>Framework</strong>: Hello Worldpublic class MyApp extends SingleFrame<strong>Application</strong> {@Override protected void startup() {JLabel label = new JLabel("Hello World");show(label);}public static void main(String[] args) {<strong>Application</strong>.launch(MyApp.class, args);}}// SingleFrame<strong>Application</strong> is a subclass of <strong>Application</strong>2007 <strong>Java</strong>One SM Conference | Session TS-3942 | 18