几个学习Swing& Java2D 的好地方

最近在网上找到了一些比较好的学习Swing 的网站,不敢独享,发表上来大家一起学习。

 

1.第一个就不用说了,Sun官方的教程 相当的不错。(英语基础不一定要很好,安装个Lingoes 就可以了)

 

Swing :   http://java.sun.com/docs/books/tutorial/uiswing/TOC.html

 

Java2D:   http://java.sun.com/docs/books/tutorial/2d/index.html

 

btw:你也可以将教程下载到本地上看

http://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/VerifyItem-Start/tutorial-2008_03_14.zip?BundledLineItemUUID=Ga9IBe.oL0QAAAEgy6s0_EWl&OrderID=WkRIBe.oIjoAAAEguqs0_EWl&ProductID=D4NIBe.oo4wAAAEY3mU9OsN.&FileName=/tutorial-2008_03_14.zip

 

2. 第二个也是个英文的网站 代码和实例都很多,也是难得的学习Swing 和Java2D 的好地方

 

Swing:http://aplcenmp.apl.jhu.edu/~hall/java/Swing-Tutorial/


Java2D:http://www.apl.jhu.edu/~hall/java/Java2D-Tutorial.html

 

3.第三个还是英文的网站,这个网站上介绍的组件不多,但是代码很经典,而且还有几个简单的游戏教程。

Swing :http://www.zetcode.com/tutorials/javaswingtutorial/

 

Java2D:http://www.zetcode.com/tutorials/java2dtutorial/

 

Java2D Games:http://www.zetcode.com/tutorials/javagamestutorial/    (这个游戏教程不错

 

4.第四个还是英文的学习站点 ,这个个站点的学习文章比较多,涉及的方面也比较广,是个不错的学习java GUI 的

站点。 

 

Swing:http://life.csu.edu.au/java-tut/uiswing/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Readme - SwingLabs SwingX Project - http://swingx.dev.java.net<br><br><br>SwingX is a library of components and utilities extending the Java Swing library; read more at our website, <br>http://swingx.dev.java.net, and Wiki page, http://wiki.java.net/bin/view/Javadesktop/SwingLabsSwingX<br><br><br>Getting the Latest Source<br>=========================<br><br>1) Check out the lastest code<br>Download the latest release from our CVS repository; full instructions are at<br>https://swingx.dev.java.net/servlets/ProjectSource<br><br>but you can check out using the generic account "guest", with these settings<br><br>cvs -d :pserver:guest@cvs.dev.java.net:/cvs login<br><br>followed by<br><br>cvs -d :pserver:guest@cvs.dev.java.net:/cvs checkout swingx <br><br><br>Building the Source<br>===================<br>SwingX relies on Ant and Ant build files for controlling compilation, building docs, testing, etc. You can use our Ant build scripts or use your own--some IDEs make this easy to do.<br><br>To compile from the command line, you'll need to have Apache Ant installed; see http://ant.apache.org. <br><br>IMPORTANT: our default task in Ant also runs our unit tests, which are written using jUnit. You need to have Ant be aware of jUnit *before* compiling SwingX. We can't help you with <br>this--it's an Ant configuration issue. <br><br>If jUnit is not properly configured, you may get an error like this:<br> BUILD FAILED<br> c:\swingx\nbproject\build-impl.xml:407: Following error occured while executing this line<br> c:\\swingx\nbproject\build-impl.xml:127: Could not create task or type of type: junit.<br><br> Ant could not find the task or a class this task relies upon.<br><br>Suggestions: <br>- for Ant 1.5.x and previous, make sure optional.jar is in your ANT_HOME\lib directory.<br>- for Ant 1.6.x and above, make sure ant-junit.jar is in your ANT_HOME\lib directory, and that jUnit.jar is either in that directory as well OR listed on your CLASSPATH.<br><br>You can build SwingX by going to the command line and typing<br>ant<br><br>That should be it--this will test and build swingx.jar in the dist directory. <br><br><br>

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值