开发 Java 桌面应用程序的最佳 IDE
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/574756/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Best IDE for developing Java Desktop Applications
提问by Nischal
I've been developing Java Web apps using Eclipse as the IDE. Planning to start developing a desktop app based on Java.
我一直在使用 Eclipse 作为 IDE 开发 Java Web 应用程序。计划开始开发基于 Java 的桌面应用程序。
Can someone suggest the best IDE for developing Java based desktop apps? (One that would have drag drop for building the interface like Visual Studio)
有人可以推荐用于开发基于 Java 的桌面应用程序的最佳 IDE 吗?(一个可以通过拖放来构建像 Visual Studio 这样的界面)
采纳答案by Ray Lu
I recommend NetBeans IDEand of course it is free.
我推荐NetBeans IDE,当然它是免费的。
Check out Swing GUI Builder Features
回答by Giancarlo
回答by GaZ
+1 for Netbeans for GUIs, however IntelliJis still my favourite general-purpose IDE for work. Unfortunately, it's not free.
用于 GUI 的 Netbeans +1,但是IntelliJ仍然是我最喜欢的工作通用 IDE。不幸的是,它不是免费的。
UPDATE: There's an open sourced version of IntelliJ Idea suitable for Java Desktop Development
更新:有一个适用于 Java 桌面开发的 IntelliJ Idea 的开源版本
回答by Fabian Steeg
I'd say it depends on which GUI framework you are going to use:
我会说这取决于您将使用哪个 GUI 框架:
- For Swing, the NetBeans Swing GUI builderseems to be the best choice (though there are visual editors for Swing in Eclipsetoo)
- For JavaFX, the choice is pretty clear
- For Eclipse (i.e. SWT, JFace, RCP) the Eclipse IDE for Javaplus the visual editorwould probably be the best way to go
- 对于 Swing,NetBeans Swing GUI builder似乎是最佳选择(尽管Eclipse 中也有用于 Swing 的可视化编辑器)
- 对于 JavaFX,选择非常明确
- 对于 Eclipse(即SWT、JFace、RCP),Eclipse IDE for Java加上可视化编辑器可能是最好的方法
回答by Bjorn
I've always liked Eclipse (http://www.eclipse.org/downloads/) + Instantiation's Window Builder (http://www.instantiations.com/windowbuilder/)
我一直喜欢 Eclipse ( http://www.eclipse.org/downloads/) + Instantiation 的 Window Builder ( http://www.instantiations.com/windowbuilder/)
回答by Fortyrunner
In some ways it doesn't matter which tool you use as long as you put the effort into learning it in depth. Know your tools! Read the Free Manual!
在某些方面,只要您努力深入学习,使用哪种工具并不重要。了解你的工具!阅读免费手册!
In practice: you would want to pick Eclipse for SWT and Netbeans for Swing (Matisse is great when you are getting started). I haven't used IntelliJ but I am sure it is excellent.
在实践中:您可能希望为 SWT 选择 Eclipse,为 Swing 选择 Netbeans(Matisse 在您开始时非常棒)。我没有使用过 IntelliJ,但我确信它非常好。
回答by Paul Walker
A couple of years ago, I used Eclipse with Visual Editor, which I found very useful. I liked the code that it generated - it was really easy to take that and add the extra functionality I needed.
几年前,我将 Eclipse 与Visual Editor 一起使用,我发现它非常有用。我喜欢它生成的代码 - 使用它并添加我需要的额外功能真的很容易。
回答by hackworks
Response to RTFM messages: I agree reading the manual is a good way to learn more about the tool. The OP is trying to figure out a few tools to learn more in depth and finally zero in on one (or a subset to meet varying requirements). To get to the first list before reading the accompanying manuals, one would require some directions and help based on experience. If you had to read manuals of all related tools before identifying the tool that meets your requirement, a new tool would have come in or your project would have gone past you!
对 RTFM 消息的回应:我同意阅读手册是了解有关该工具的更多信息的好方法。OP 正试图找出一些工具来深入了解更多信息,并最终归零(或满足不同要求的一个子集)。要在阅读随附的手册之前获得第一个列表,需要根据经验获得一些指导和帮助。如果您在确定满足您要求的工具之前必须阅读所有相关工具的手册,那么新工具就会出现,否则您的项目就会被淘汰!
Response to original question on best IDE based editor:
对基于最佳 IDE 的编辑器的原始问题的回应:
- Eclipse (strong community + well designed and documented plugin architecture)
- GNU Emacs (a text editor engine with ability to infinitely extend... Your imagination is the limit)
- Eclipse(强大的社区 + 精心设计和记录的插件架构)
- GNU Emacs(具有无限扩展能力的文本编辑器引擎......你的想象力是极限)
回答by dmihailescu
if you aim for windows only than Visual studio is the best choice. For multiple platforms Mono is very good and it does not have java's performance issues. Of course you would use C# rather than Java if going with Mono or VS.
如果您只针对 Windows,那么 Visual Studio 是最佳选择。对于多平台 Mono 非常好,它没有 java 的性能问题。当然,如果使用 Mono 或 VS,您将使用 C# 而不是 Java。