• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem relating existence of awt pacakage

 
abhinav rajput
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Iam using jdk1.6.
I compiled a code which has "import javax.awt.*;" line, but the problem is compiler says pacakage javax.awt does not exist.
What can I do to resolve the problem.
 
Joanne Neal
Rancher
Posts: 3742
16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could believe what the compiler says and make sure that you are using the right name.
 
Devarsh Shah
Greenhorn
Posts: 6
Eclipse IDE Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Abhinav, its "java.awt.*" there no pkg like javax.awt...
 
Darryl Burke
Bartender
Posts: 5154
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
abhinav, you might like to go through this section of How To Ask Questions On Java Ranch.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!