• Post Reply Bookmark Topic Watch Topic
  • New Topic

What does it mean?  RSS feed

 
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
Sheriff
Posts: 24217
38
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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!