SHOW:
|
|
- or go back to the newest paste.
1 | import javax.swing.SwingUtilities; | |
2 | // import whatever.else.*; | |
3 | ||
4 | public class Whatever { | |
5 | public static void main(String[] args) { | |
6 | SwingUtilities.invokeLater(new Runnable() { | |
7 | - | // put your crap here |
7 | + | @Override |
8 | - | // apparently this makes your code run faster |
8 | + | public void run() { |
9 | // put your crap here | |
10 | // apparently this makes your code run faster | |
11 | } | |
12 | }); | |
13 | } | |
14 | } |