Visual J and javax.swing


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Visual J and javax.swing

  1. #1
    Join Date
    Mar 2003
    Posts
    1

    Arrow Visual J and javax.swing

    Hi,

    I'm new to Java. I'm using Visual J++ 6.0

    I am trying to use the javax package. When i import javax.swing I get an error message "Undefined Package 'javax'".

    I have no idea why i'm getting this. Please help.

    Thanks!

  2. #2
    Join Date
    Mar 2003
    Posts
    834
    OK. A little history...

    Sun bring out Java. It's a beautful language and it's platform-independant. The world gets excited.

    Microsoft bring out Visual J++. It's a beautiful language with a fantastic GUI editor, but it will only run on windows. Sun get angry.

    Sun sue Microsoft for polluting Java.

    *sigh*...

    Anyway, the reason that it says that it can't find javax.swing is because those are Sun packages which were introduced after Visual J++ was produced. You can't use them. Sorry!
    ArchAngel.
    O:-)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center