This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes AWT Tutorial Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "AWT Tutorial " Watch "AWT Tutorial " New topic
Author

AWT Tutorial

David Coello
Greenhorn

Joined: Jun 05, 2012
Posts: 22
Hello forum members,

I am a new Java developer and am learning about AWT to work on a class assignment for a Fahrenheit to Celsius temperature converter.

I found the following tutorial about AWT http://www.ged.fi/DesignPatterns/, and would appreciate your suggestions about any good tutorials for AWT that can break down on how to create a user interface.

Thank you.

David
Greg Ferguson
Ranch Hand

Joined: Jun 04, 2012
Posts: 34
Hey David,

A lot of AWT has been replaced by what is known as Swing. You will still use some things from AWT like the event listeners (ex. java.awt.event.ActionListener) and layout managers, but most of the graphical stuff like Panel, Button, and TextField can be replaced by JPanel, JButton, JTextField in Swing. Here's a beginner's tutorial to get you familiar with using Swing. http://www.javabeginner.com/java-swing/java-swing-tutorial Enjoy!

Edit: Also I asked the instructor if we could use Swing components even though the project seemed to specify only AWT and he assured me that using Swing was fine because you're still going to use components from the java.awt.* and java.awt.event.* classes anyway.
David Coello
Greenhorn

Joined: Jun 05, 2012
Posts: 22
Thanks Buenny, I also found a nice tutorial and it has some examples.

http://java.sun.com/developer/onlineTraining/awt/contents.html#AWTTextArea

I found this helpful.

Greetings,

David
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: AWT Tutorial
 
Similar Threads
Re:Applet buttons
tutorial for thread
Matisse designer_problem with displaying drawn circle at JPanel/also animation problem
JFC
check box