This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes What does it mean? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "What does it mean?" Watch "What does it mean?" New topic

What does it mean?

Hui Zhao
Ranch Hand

Joined: Jul 09, 2007
Posts: 116

It doesn't mean import anything of awt, right?
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24195

It means that any classes directly in the package java.awt can be used in this file without using their package names; nothing more, nothing less. So, for example, if you include this like you can say "new Button()" instead of "new java.awt.Button()" which you'd be require to say without it.

[Jess in Action][AskingGoodQuestions]
wood burning stoves
subject: What does it mean?
It's not a secret anymore!