Jack BeNimble
Jack BeNimble

Reputation: 36723

How to import files into nebeans

I'm trying to copy some Java source files created on the local filesystem (macbook) into Netbeans. For some reason it doesn't allow this with copy paste. What's the best way to do this? I'd like the files to be copied into the project directory under the Netbeans folder.

Upvotes: 0

Views: 57

Answers (2)

Bhesh Gurung
Bhesh Gurung

Reputation: 51030

You can also create an empty file where ever you need to copy the file on Netbeans. Give the empty file the same name as the one you need to copy. Open the file to be copied with a text editor and copy and paste the content on Netbeans and save it.

Upvotes: 0

Jigar Joshi
Jigar Joshi

Reputation: 240996

  • Create a proper NetBeans java project (java app, java web app..etc..)
  • Create a sample source file and see where it is being created and place your java file at that place also note the package structure.

Upvotes: 1

Related Questions