Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Create GUI using Eclipse (Java) [duplicate]

Possible Duplicate:
Best GUI designer for eclipse?

Is there any Eclipse Plugin tool(s) who can help to create Graphical User Interface for (swing, awt or swt), because I'm tired of writing everytime the code of Panels, Labels, ...

Thanks

like image 631
Wassim AZIRAR Avatar asked Jun 30 '11 10:06

Wassim AZIRAR


People also ask

Can you create GUI in Eclipse?

eclipse is an editor. you write code, and THAT code would create your gui. The Eclipse Rich Client Platform (RCP) allows you to build a GUI using Eclipse as the framework. Eclipse is also an integrated development environment (IDE) that allows you to write code in Java and other languages to construct a GUI.

How do I create a JFrame in Eclipse?

Select Window > Preferences from the menu to open it and then expand the node "JFormDesigner" in the tree. See Preferences for details. You can also set project specific settings in the Eclipse project dialog. Select Project > Properties from the menu to open it and then expand the node "JFormDesigner" in the tree.


2 Answers

Yes. Use WindowBuilder Pro (provided by Google). It supports SWT and Swing as well with multiple layouts (Group layout, MiGLayout etc.) It's integrated out of the box with Eclipse Indigo, but you can install plugin on previous versions (3.4/3.5/3.6):

enter image description here

like image 137
Grzegorz Szpetkowski Avatar answered Sep 26 '22 02:09

Grzegorz Szpetkowski


There are lot of GUI designers even like Eclipse plugins, just few of them could use both, Swing and SWT..

WindowBuilder Pro GUI Designer - eclipse marketplace

WindowBuilder Pro GUI Designer - Google code home page

and

Jigloo SWT/Swing GUI Builder - eclipse market place

Jigloo SWT/Swing GUI Builder - home page

The window builder is quite better tool..

But IMHO, GUIs created by those tools have really ugly and unmanageable code..

like image 26
Sorceror Avatar answered Sep 24 '22 02:09

Sorceror