Created
February 10, 2014 13:23
-
-
Save ozgun/8915848 to your computer and use it in GitHub Desktop.
IntelliJ IDEA folding example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void init() { | |
//Execute a job on the event-dispatching thread; creating this applet's GUI. | |
try { | |
SwingUtilities.invokeAndWait(new Runnable() { | |
public void run() { | |
buffer = new StringBuffer(); | |
} | |
}); | |
} catch (Exception e) { | |
System.err.println("createGUI didn't complete successfully"); | |
} | |
} | |
public void init() { | |
//Execute a job on the event-dispatching thread; creating this applet's GUI. | |
try { | |
SwingUtilities.invokeAndWait(() -> { | |
buffer = new StringBuffer(); | |
} | |
}); | |
} catch (Exception e) { | |
System.err.println("createGUI didn't complete successfully"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment