Created
March 30, 2015 06:28
-
-
Save codenameone/5db41188891aa24cb556 to your computer and use it in GitHub Desktop.
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 start() { | |
if (current != null) { | |
current.show(); | |
return; | |
} | |
Form hi = new Form("Basic memory leakage test"); | |
Container mainContainer = hi.getContentPane(); | |
BorderLayout layout = new BorderLayout(); | |
mainContainer.setLayout(layout); | |
/*mainContainer.setScrollableX(false); | |
mainContainer.setScrollableY(false); | |
mainContainer.setTensileDragEnabled(false); | |
mainContainer.setAlwaysTensile(false);*/ | |
mainContainer.addComponent(BorderLayout.CENTER, new VertIC()); | |
hi.show(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment