开发者

How to perform GUI task in Java

开发者 https://www.devze.com 2023-02-11 19:21 出处:网络
I开发者_C百科 am moving to Java from C#, and formy curiosity I like to ask question, in C# adding UI objects was drag and drop task and also changing and setting the object property was easy.

I开发者_C百科 am moving to Java from C#, and for my curiosity I like to ask question, in C# adding UI objects was drag and drop task and also changing and setting the object property was easy. How to do the GUI tasks in Java? are they like C#? and which IDE to use for it, as I have used Visual Studio 2008 for C#.

Thanks


Gui Building: NetBeans is very common.

http://netbeans.org/kb/docs/java/quickstart-gui.html

Personally I build my own, but they aren't complicated so I can get away with that.

Java development in general: Eclipse is very popular. It's what I use.


Netbeans is good for GUI as it has a builder. However, I would strongly recommend coding it yourself. Its not too complicated a task. Be aware of threading issues though, learn some simple concepts like Event Dispatch Thread, Swingworker, etc. I would suggest embarking on a small project to get a hang of it. Otherwise, Sun tutorials are highly recommended.


How to do the GUI tasks in Java?

Creating a GUI With JFC/Swing

are they like C#?

Yes!

and which IDE to use for it, as I have used Visual Studio 2008 for C#.

Netbeans or Eclipse

More: Java GUI Alternatives

0

精彩评论

暂无评论...
验证码 换一张
取 消