Skip to content

Instantly share code, notes, and snippets.

@codenameone
Created March 30, 2015 06:28
Show Gist options
  • Save codenameone/5db41188891aa24cb556 to your computer and use it in GitHub Desktop.
Save codenameone/5db41188891aa24cb556 to your computer and use it in GitHub Desktop.
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