Subversion Repositories public

Rev

Rev 87 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 87 Rev 89
Line 1... Line 1...
1
/*
1
/*
2
 * Main.java - main LWTT class
2
 * Main.java - main LWTT class
3
 *
3
 *
4
 * Copyright (c) 2006 Lukas Jelinek, http://www.aiken.cz
4
 * Copyright (c) 2006, 2007, 2008 Lukas Jelinek, http://www.aiken.cz
5
 *
5
 *
6
 * ==========================================================================
6
 * ==========================================================================
7
 *
7
 *
8
 * This program is free software; you can redistribute it and/or modify
8
 * This program is free software; you can redistribute it and/or modify
9
 * it under the terms of the GNU General Public License Version 2 as
9
 * it under the terms of the GNU General Public License Version 2 as
Line 21... Line 21...
21
 * ==========================================================================
21
 * ==========================================================================
22
 */
22
 */
23
23
24
package cz.aiken.util.lwtt;
24
package cz.aiken.util.lwtt;
25
25
26
import javax.swing.SwingUtilities;
26
import javax.swing.*;
27
27
28
/**
28
/**
29
 * This class represents the application itself. It creates the main
29
 * This class represents the application itself. It creates the main
30
 * application frame and makes it visible.
30
 * application frame and makes it visible.
31
 * @author luk
31
 * @author luk
Line 41... Line 41...
41
   
41
   
42
    /**
42
    /**
43
     * Creates the main frame and makes it visible. Then it hands control
43
     * Creates the main frame and makes it visible. Then it hands control
44
     * on the main application loop.
44
     * on the main application loop.
45
     *
45
     *
46
     * <I>This method must be called only by the event-dispatching thread.</I>
46
     * <I>This method may be called only by the event-dispatching thread.</I>
47
     */
47
     */
48
    public void run() {
48
    public void run() {
49
       TaskFrame tf = new TaskFrame();
49
        TaskFrame tf = new TaskFrame();
50
       tf.setVisible(true);
50
        tf.setVisible(true);
51
    }
51
    }
52
   
52
   
53
    /**
53
    /**
54
     * The main application method. It starts the application by
54
     * The main application method. It starts the application by
55
     * scheduling the initialization for the event-dispatching thread.
55
     * scheduling the initialization for the event-dispatching thread.