Results 1 to 3 of 3

Thread: import error

  1. #1
    amarenash23 is offline Member
    Join Date
    Dec 2009
    Posts
    4
    Rep Power
    0

    Default import error

    import org.jdesktop.application.Application;

    when I type this at he beginning of my code, it always gives me errors with underlining the (org.jesktop) part with red color. What can I do to solve this?

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,772
    Blog Entries
    7
    Rep Power
    21

    Default

    Quote Originally Posted by amarenash23 View Post
    import org.jdesktop.application.Application;

    when I type this at he beginning of my code, it always gives me errors with underlining the (org.jesktop) part with red color. What can I do to solve this?
    Put the .jar or the directory where that .class is stored on your classpath.

    kind regards,

    Jos

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

Similar Threads

  1. import javax.microedition.io.file.*; - error
    By artemff in forum CLDC and MIDP
    Replies: 6
    Last Post: 01-06-2013, 04:58 PM
  2. Import error for csv file in outlook
    By nida in forum New To Java
    Replies: 5
    Last Post: 09-07-2012, 02:22 AM
  3. error with import java.io.*
    By osval in forum New To Java
    Replies: 5
    Last Post: 05-13-2010, 06:03 PM
  4. Error - "The import org.junit cannot be resolved"
    By Jessaurum in forum New To Java
    Replies: 7
    Last Post: 11-03-2009, 04:20 AM
  5. import problem
    By anki.gulsvart in forum Networking
    Replies: 9
    Last Post: 10-16-2009, 08:03 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
  •