如何在 Java 中执行 GUI 任务
我正从 C# 转向 Java,出于好奇,我喜欢问问题,在 C# 中添加 UI 对象是拖放任务,并且更改和设置对象属性也很容易。 如何在 Java 中完成 GUI 任务?它们像 C# 吗? 以及使用哪个 IDE,因为我使用的是 Visual Studio 2008 for C#。
谢谢
I 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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
Gui Building:NetBeans 很常见。
http://netbeans.org/kb/docs/java/quickstart-gui.html
就我个人而言,我构建了自己的,但它们并不复杂,所以我可以摆脱它。
Java 开发概况:Eclipse 非常流行。这就是我用的。
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 非常适合 GUI,因为它有一个构建器。但是,我强烈建议您自己编码。这并不是一项太复杂的任务。不过,请注意线程问题,学习一些简单的概念,例如事件调度线程、Swingworker 等。我建议开始一个小项目来掌握它。否则,强烈推荐 Sun 教程。
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.
使用 JFC/Swing 创建 GUI
是的!
Netbeans 或 Eclipse
更多:Java GUI 替代方案
Creating a GUI With JFC/Swing
Yes!
Netbeans or Eclipse
More: Java GUI Alternatives