prj03-group06/src/weather/WeatherMain.java
public static void main(final String[] theArgs) {
        // start the GUI in a separate thread
    	WeatherGUI gui = new WeatherGUI();
        EventQueue.invokeLater(new Runnable() {
            public void run() {
                gui.start();
            }
        });
        
        WeatherStation station = new WeatherStation(true);
        WeatherController controller = new WeatherController(station, gui);
        
        Thread thread = new Thread(controller);
        thread.start();
    }
/**
     * The entry point for the Weather Console application.
     * 
     * @param theArgs the unused command line arguments
     */
The entry point for the Weather Console application.

@param theArgs the unused command line arguments
The entry point for the Weather Console application . @param theArgs the unused command line arguments
public static void main(final String[] theArgs) {
    	WeatherGUI gui = new WeatherGUI();
        EventQueue.invokeLater(new Runnable() {
            public void run() {
                gui.start();
            }
        });
        WeatherStation station = new WeatherStation(true);
        WeatherController controller = new WeatherController(station, gui);
        Thread thread = new Thread(controller);
        thread.start();
    }
public static void main ( final String [ ] theArgs ) { WeatherGUI gui = new WeatherGUI ( ) ; EventQueue . invokeLater ( new Runnable ( ) { public void run ( ) { gui . start ( ) ; } } ) ; WeatherStation station = new WeatherStation ( true ) ; WeatherController controller = new WeatherController ( station , gui ) ; Thread thread = new Thread ( controller ) ; thread . start ( ) ; }
The entry point for the Weather Console application.
The entry point for the Weather Console application .
// start the GUI in a separate thread