sjain
sjain

Reputation: 1723

Where to put a file in the netbeans?

In which location I should put any file in Netbeans project directory structure?
Also in the code how should I give the path(absolute or relative) to that file?

Thanks

Upvotes: 0

Views: 700

Answers (1)

Jigar Joshi
Jigar Joshi

Reputation: 240996

If it is about Java,
I would suggest you to put it in default package , It would be directly available in classes folder after building, so you can directly access it from classpath.

Here is sample

Upvotes: 1

Related Questions