This week's book giveaway is in the Reactive Progamming forum.
We're giving away four copies of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams and have Adam Davis on-line!
See this thread for details.
Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

AWT Tutorial

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 34
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
look! it's a bird! it's a plane! It's .... a teeny tiny ad
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!