Wednesday 24 April 2013

Create GUI from Eclipse




As i have told you in my earlier post, how to install WindowBuilder Pro for GUI in eclipse. In this post i am going to explain how to use it.

Steps to do it:

 1. go to File menu and select new project, in this wizard select Window Builder---->SWT Designer---->SWT/JFACE java project and click next and so on...................




2. select src folder and package and click on icon on top-left side of window i.e. create new visual classes. It will display the following window(here you will have list and you need to select any one of them). Given below is for Swing.




3. Now you can see in the above figure that there are two modes i.e. Source and Design where you can do coding and design of your GUI respectively.


4. At last run this as a java application as you do it for normal java application.





No comments:

Post a Comment