| | |
AWT or Swing?
![]() |
Well some of the conditions which could influence you use whether AWT or Swing are:-
- Eye Candy, Swing really gives you a lot more features when it comes to Eye candy, you can change the look and feel, add icons to buttons etc, which AWT would never allow
- Second point is where do you expect your application to run ?, If you want it to run on just about any machine with any version of JRE (even 1.0 or 1.1) then you do not have a choice but need to go with AWT. (Since swing was added only in version 1.2)
- AWT would also be an option in situations where limited CPU power or memory is an important factor.
- But for day to day desktop applications I would any time prefer Swing over AWT
Last edited by stephen84s; Oct 28th, 2008 at 6:12 am.
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."
"How to ask questions the smart way ?"
"How to ask questions the smart way ?"
![]() |
Similar Threads
- Error warning using show() from java.awt.Window (Java)
- AWT versus Swing (Java)
- Java awt and swing event handling (Java)
- Using the *awt package (Java)
- Applet or Application? (Java)
Other Threads in the Java Forum
- Previous Thread: GUI problem
- Next Thread: Using user input to change background color of JPanel
| Thread Tools | Search this Thread |
2dgraphics account android api apple applet application array arrays automation banking bidirectional binary binarytree birt bluetooth chat chatprogramusingobjects class client code columns component database derby design eclipse encryption error errors expand fractal game givemetehcodez graphics gui homework html ide if_statement image inheritance input integer intellij interface j2me java javadesktopapplications javaprojects jlabel jme jni jpanel jtextfield julia linux list loop map method methods midlethttpconnection mobile mobiledevelopmentcreatejar monitoring netbeans newbie nullpointerexception open-source problem program programming project property recursion reference ria scanner search server set sms sort sourcelabs splash sql sqlite static stop string support swing testautomation threads tree ui unicode validation windows







youngest, most up to date and in certain parts improved compared to awt.