• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What does it mean?

 
Hui Zhao
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

It doesn't mean import anything of awt, right?
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24208
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic