View Javadoc

1   package de.jaret.examples.timebars.scheduling.swing;
2   
3   import java.awt.BorderLayout;
4   
5   import javax.swing.JFrame;
6   
7   import de.jaret.examples.timebars.events.swing.SwingEventExample;
8   
9   public class SwingSchedulingExample {
10  
11      /***
12       * @param args
13       */
14      public static void main(String[] args) {
15          JFrame f = new JFrame(SwingEventExample.class.getName());
16          f.setSize(1200, 800);
17          f.getContentPane().setLayout(new BorderLayout());
18          f.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
19  
20          SchedulingPanel panel = new SchedulingPanel();
21          f.getContentPane().add(panel, BorderLayout.CENTER);
22          
23          f.setVisible(true);
24          
25      }
26  
27  }