Jump to content
  • Advertisement
Sign in to follow this  
metallicsoul92

[java] Confusion with java

This topic is 3145 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
Swing is Java's flagship standard GUI library, and Sun provides a tutorial trail here.

It builds upon the earlier AWT, but instead of using the underlying operating system's GUI components (and thus varying in appearance from OS to OS), Swing is rendered using the Java 2D graphics library, and thus (normally) looks the same on every platform. Swing may offer a bit too much flexibility, can be complicated and boilerplate code-heavy; but it is a powerful WORA GUI library and offers a lot of powerful and elegant features.

Share this post


Link to post
Share on other sites
Swing and AWT are both part of Sun's JRE. If you run your application using Sun's JRE, you do not need to do anything extra and can use them right away (assuming you have the JDK installed so that you can compile your applications). For other libraries (SWT for instance) you have to make sure that that library's class files (or the JAR containing them) are on your classpath (set through an environment variable or passed as a command line parameter to the Java VM executable).

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!