我是真正的 java 新手,请告诉我有关使用 netbeans 的信息
我听说过“如果你是新手,不要使用像 eclipse、netbeans 这样的 IDE.. 因为如果你使用这个 IDE,你就会变成傻瓜..”
我只是练习一点 java...(包括类路径,关于基础知识..)并进行了一些编码..
我刚刚开始尝试GUI,并考虑是否使用netbeans..(在我只使用vim和cmd..之前)
当新手时,什么适合我?都是手动实现gui并学习底层的swing?只使用 Netbeans 的设计器而不关心 gui 代码?只注重逻辑??
关于gui,你有什么建议?摇摆&小程序?从 awt 开始? gtk?我是不是快点了?
也许我的英语不会那么好(..),我会感谢你的评论:)
I've heard "If you're newbie, don't use IDE like eclipse, netbeans.. Because you'll be a fool if you used this ide.."
I just practice java little... (including classpath, about basics..) and did coding some..
I just started trying GUI, and thought whether using netbeans or not.. (before I just used vim & cmd..)
when newbie, what is proper for me? All implementing gui by manually and learn low-level of swing? Just using Netbeans's designer and don't care about gui code? Just focus on logic??
And about gui, what is your recommendation? swing & applet? start by awt? gtk? Am I doing hurry?
Maybe my english will be not that good(..) and I'll thank for you about your comment :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
忘记 AWT,如果您需要本机小部件,您可以使用 SWT。然而,使用 SWT,您始终必须为正确的平台和位数提供本机库,这可能会很麻烦。
对于初学者来说,我确实推荐 Swing,尽管它看起来很丑(是的,即使平台具有“本机”外观和感觉),但您不一定需要底层细节。看一下 Java 教程 – 它们真的很好。
无论您选择什么,Eclipse 都有一个非常好的图形创作工具:WindowBuilder,它可以生成有用的代码通常,甚至可以使用手写的 Swing 代码。它说它也支持SWT,但我从未尝试过。
Forget AWT, if you need native widgets you can use SWT. However, with SWT you always have to provide native libraries for the correct platform and bit-ness which can be a hassle.
For starters I'd indeed recommend Swing, even though it looks ugly (yes, even with the platform “native” look and feel), but you don't necessarily need the low-level details. Take a look at the Java Tutorials – they are really good.
Whatever you choose, there is also a very good graphical authoring tool for Eclipse: WindowBuilder which generates useful code to work on and, in general, even works with hand-written Swing code. It says it supports SWT too, but I never tried.
您应该使用 Eclipse 和 SWT
You should use Eclipse and SWT