aspose file tools*
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "What does it mean?" Watch "What does it mean?" New topic
Author

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
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

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]
 
jQuery in Action, 2nd edition
 
subject: What does it mean?