Swings in Eclipse

Hi All,Please tell me how can i work with Swings in Eclipse? What configuration needs to be done for this?Thanks & Regards,Sneha
[160 byte] By [snehaa] at [2007-11-27 6:27:35]
# 1

hi!

its simple...

1) create a java project

2) add package [optional]

3) add your own class and then right click on the .java file which one is having the main function.

4) then click run as->java application.

i guess this runs the application. you can use any swing component which is supported by your installed java.

regards

Aniruddha

Aniruddha-Herea at 2007-7-12 17:49:40 > top of Java-index,Desktop,Core GUI APIs...
# 2
Download Jigloo from the following link,,, http://www.cloudgarden.com/jigloo/and follow the instructions about how to incorporate it into Eclipse...Jigloo is an SWT/Swing Builder for Eclipse and Websphere.....
Kami_Pakistana at 2007-7-12 17:49:40 > top of Java-index,Desktop,Core GUI APIs...
# 3

Swing is a built-in part of the Java API. If you need simple interfaces, a UI builder plug-in is fine, I guess, but you'd do a lot better for yourself to learn Swing. There's nothing special required to use Swing in an IDE.

Buy a book on Swing or read this:

http://java.sun.com/docs/books/tutorial/uiswing/

bsampieria at 2007-7-12 17:49:40 > top of Java-index,Desktop,Core GUI APIs...
# 4
they are all correct. just do not forget to import swing.ex.import javax.swing.*;this inserted right before your main class/method or right after your package that is, if you have one. God Bless!
dadaa at 2007-7-12 17:49:40 > top of Java-index,Desktop,Core GUI APIs...
# 5

Thank u so much to all of u for help. I tried to install Jigloo but that site is not responding , there might be some problem... I want visual editor for eclipse so that i can drag n drop the components, i've tried a lot but didn't get success yet.. :-( If someone knows plz help me.....

Thanks n Regards,

Sneha

snehaa at 2007-7-12 17:49:40 > top of Java-index,Desktop,Core GUI APIs...
# 6
hello friend try to visit this site for your Visual Editor for Eclipse: http://www.eclipse.org/vep/WebContent/main.phphope this helps. God Bless!
dadaa at 2007-7-12 17:49:40 > top of Java-index,Desktop,Core GUI APIs...
# 7
It worked... Thank u sooooooooo much :-)Regards,sneha
snehaa at 2007-7-12 17:49:40 > top of Java-index,Desktop,Core GUI APIs...