Skip to main content



      Home
Home » Archived » Visual Editor (VE) » Run Java Bean using main method
Run Java Bean using main method [message #612331] Mon, 20 March 2006 19:50
Eclipse UserFriend
I have use VE to generate an SWT Shell application and I've been running it
as a Java Bean. I want to modify this application so that it will:

- Run from a main method
- Rus as a Java Bean
- Still be editable using Visual Editor

Here is a sample empty SWT Shell application below, how do I modify this to
achieve my goals?

public class TestShell {
private static Shell sShell = null;
/**
* This method initializes sShell
*/
private void createSShell() {
sShell = new Shell();
sShell.setText("Shell");
sShell.setSize(new Point(300, 200));
sShell.setLayout(new GridLayout());
}
}
Previous Topic:Problem instaling VE v1.2M2 in Eclipse-SDK-3.2M5a
Next Topic:default widget color
Goto Forum:
  


Current Time: Sat Jun 14 23:29:28 EDT 2025

Powered by FUDForum. Page generated in 0.02972 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top