Reputation: 73
I am so new to this, this is probably a stupid question but...
Basically my lecturer has given us a bunch a of .java demos. They are all inside a single file called 'demos'. I was wondering how would I import the 'demos' folder into Eclipse so I can use the folder expand it and select and drag any program I want to run into the work space.
Upvotes: 2
Views: 108
Reputation:
Right click in project, Import... > General > Existing Projects into Workspace, chose your project.
Or:
Create a new project, drag and drop example.java
files.
Upvotes: 4
Reputation: 40315
Extract your demos folder somewhere. Right click on the project browser, then:
Now your folder will appear in your project, and you can edit files as usual. Keep in mind that editing / adding / removing files there will modify the actual files in that source folder.
Upvotes: 0