学习Java Swing(GUI构建器与否?) [英] Learning Java Swing (GUI builder or not?)

查看:141
本文介绍了学习Java Swing(GUI构建器与否?)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道基本的Java并想学习Swing,所以当然首先看一下Sun网站,其中本教程是。我打算开始它,但意识到它严重依赖NetBeans,我不确定。

Well I know basic Java and wanted to learn Swing so of course looked at the Sun website first, where this tutorial is. I was going to start it but realised it relied heavily on NetBeans, which I'm not sure about.

我不确定因为它是学习我想要实现,而不是一个漂亮的程序。

I'm not sure because it's learning that I want to acheive, not a nice looking program.

所以我认为使用NetBeans这样一旦我知道它会很棒,但我不想要建立一些东西,不知道底下发生了什么,当然这也可能导致问题。

So I thought using NetBeans like this would be great once I know it, but I don't want to be building things without a clue what's going on underneath, and of course this could also cause problems later.

我的第一个问题是这是正确的方法,我应该尽量不依赖IDE吗?通过网站上的问题查看,大多数人都建议使用Sun教程,我只看到一个与我正在思考的内容一致的答案,并且它们链接到此资源看起来很有前景。
或许我对Sun教程有了错误的想法,也许它不依赖于IDE,它就像是这样。

My first question is is this the right way to do it, should I try not to rely on an IDE heavily? Looking through questions on the site most people recommend using the Sun tutorial, and I've only seen one answer that agrees with what I'm thinking, and they linked to this resource which looks promising. Or perhaps I'm getting the wrong idea of the Sun tutorial, perhaps it doesn't rely on the IDE, it just seemed like that.

My第二个问题是,如果您同意我的意见,您会推荐哪些资源(除上述资源外)?

My second question is, if you agree with me, what resources (apart from the one above) would you recommend?

感谢您的回答。

推荐答案

我不会说Sun在他们的教程中依赖于NetBeans,因为NetBeans是Sun的IDE。

I wouldn't say that Sun relies on NetBeans in their tutorials as much as references NetBeans because NetBeans is Sun's IDE.

我使用Eclipse进行Java开发。一个好的IDE可以帮助你忙碌的工作,所以你可以专注于手头的问题。

I use Eclipse for my Java development. A good IDE can help you with the busy work, so you can focus on the problem at hand.

如果你想学习Swing,我推荐 Java Swing权威指南,第三版。本书将逐步介绍布局和小部件,使用和强化GUI开发的MVC模式。

If you want to learn Swing, I recommend The Definitive Guide to Java Swing, Third Edition. This book takes you step by step through layouts and widgets, using and reinforcing the MVC pattern of GUI development.

对于高级Swing开发人员,我建议 Swing Hacks:Killer GUI的提示和工具。本书向您展示了一些使您的GUI流行的技巧。

For the advanced Swing developers, I recommend Swing Hacks: Tips and Tools for Killer GUIs. This book shows you some tricks to make your GUI pop.

这篇关于学习Java Swing(GUI构建器与否?)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆