001 package demo; 002 003 import javax.swing.*; 004 005 public class LazyLRSDemo { 006 007 //Construct the application 008 public LazyLRSDemo() { 009 JFrame frame = new LazyLRSDemoFrame(); 010 011 frame.validate(); 012 frame.setVisible(true); 013 } 014 015 //Main method 016 public static void main(String[] args) { 017 System.out.println("Starting..."); 018 try { 019 UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); 020 } 021 catch(Exception e) { 022 } 023 new LazyLRSDemo(); 024 } 025 }