Results 1 to 4 of 4
  1. #1
    natdizzle's Avatar
    natdizzle is offline Nathan Nelson
    Join Date
    Jan 2009
    Posts
    100
    Rep Power
    0

    Post Importing a .java class

    Hi,

    I started a project about a year ago, and since then I have re-installed eclipse and lost my project file. All I have now is the .java file and the images, so do I make a new project and how do I import the code and where do I put the images if I want to start coding again? Did I lose anything that I needed to continue work on the program?

  2. #2
    JosAH's Avatar
    JosAH is online now Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,438
    Blog Entries
    7
    Rep Power
    20

    Default Re: Importing a .java class

    If you still have your project structure (directories etc.) with the sources in it, simply create a new project with the same name as the old one and Eclipse is clever enough to recognize the old project structure and creates the new project as you expected.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  3. #3
    natdizzle's Avatar
    natdizzle is offline Nathan Nelson
    Join Date
    Jan 2009
    Posts
    100
    Rep Power
    0

    Default Re: Importing a .java class

    anyone know how to mark this thread as solved?

  4. #4
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,193
    Rep Power
    19

    Default Re: Importing a .java class

    Moved from 'New to Java'

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Replies: 10
    Last Post: 09-06-2011, 06:22 AM
  2. Importing a class folder
    By malaguena in forum Advanced Java
    Replies: 6
    Last Post: 03-15-2011, 12:04 PM
  3. importing class files
    By bizso in forum New To Java
    Replies: 6
    Last Post: 03-28-2009, 02:11 PM
  4. Importing custom class
    By BigRed in forum Eclipse
    Replies: 2
    Last Post: 02-14-2009, 02:12 PM
  5. Importing a Custom Class
    By jfredrickson in forum New To Java
    Replies: 3
    Last Post: 07-11-2007, 11:23 AM

Posting Permissions

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