Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import javax.swing.JFrame; // by pressing Control+Shift+O
- import javax.swing.SwingUtilities;
- public class App {
- public static void main(String[] args) {
- SwingUtilities.invokeLater(new Runnable() { // The programme runs better with this function
- @Override
- public void run() {
- new MainFrame();
- } // End of function run
- }); // End of function invokeLater
- } // End of main
- } // End of class App
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement