Results 1 to 6 of 6
  1. #1
    timosoft is offline Member
    Join Date
    Feb 2011
    Posts
    5
    Rep Power
    0

    Default package javax.swing does not exist

    need help
    jdk 6.9.1 install on my win xp
    my ide is displaying error message
    package javax.swing does not exist
    when i try to import it
    even the ide generated javax code shows same error.


    thanks

  2. #2
    j2me64's Avatar
    j2me64 is offline Senior Member
    Join Date
    Sep 2009
    Location
    Zurich, Switzerland
    Posts
    962
    Rep Power
    5

    Default

    use the JDK 6 Update 23 or you must tell to your ide where the jdk is installed.

  3. #3
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

    Default

    Did you try to just import the package only and compile?

    Could you provide more details also, as j2me64 says?

  4. #4
    timosoft is offline Member
    Join Date
    Feb 2011
    Posts
    5
    Rep Power
    0

    Default thanks for you replies

    my jdk is properlly installed.. no such problem in java application
    but in mobile application jave me.. all swing component show the
    error message.. do i need to install java me sdk.. how to i configure that on my netbean.. thanks

  5. #5
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

  6. #6
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

Similar Threads

  1. package does not exist error
    By glaze24 in forum New To Java
    Replies: 1
    Last Post: 11-28-2010, 02:03 PM
  2. javax.servet.* does not exist
    By junaidsherief in forum Java Servlet
    Replies: 2
    Last Post: 09-20-2010, 10:18 PM
  3. package javax.servlet does not exist :>
    By wildheart25c in forum Java Servlet
    Replies: 2
    Last Post: 02-17-2010, 12:02 AM
  4. package javax.servlet does not exist
    By nikhil2jan in forum Java Servlet
    Replies: 1
    Last Post: 01-04-2009, 04:32 PM
  5. package mj does not exist
    By PzK in forum New To Java
    Replies: 8
    Last Post: 12-03-2008, 10:30 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •