Clazz.declarePackage ("org.eclipse.swt.snippets");
org.eclipse.swt.snippets.Snippet1 = function () {
Clazz.instantialize (this, arguments);
};
org.eclipse.swt.snippets.Snippet1.__CLASS_NAME__ = org.eclipse.swt.snippets.Snippet1.prototype.__CLASS_NAME__ = "org.eclipse.swt.snippets.Snippet1";
Clazz.defineMethod (org.eclipse.swt.snippets.Snippet1, "main", 
function (args) {
var display =  new org.eclipse.swt.widgets.Display ();
var shell =  new org.eclipse.swt.widgets.Shell (display);
shell.open ();
while (!shell.isDisposed ()) {
if (!display.readAndDispatch ()) display.sleep ();
}
display.dispose ();
}, "Array");
org.eclipse.swt.snippets.Snippet1.main = org.eclipse.swt.snippets.Snippet1.prototype.main;
