How to access resource editor file to Netbeans?/How resource editor files are imported and opened in Netbeans?Detailed description.
Asked
Active
Viewed 258 times
1 Answers
2
Ok for open the .res file from code, you need to use this lines:
try{
Resources.open("/myResFile.res");
catch(IOException ioe){
//manage the exception
}
The path for your .res file will be different, in my example is like it would be in the src folder.

Shai Almog
- 51,749
- 5
- 35
- 65

Mun0n
- 4,438
- 4
- 28
- 46
-
1Fixed a minor typo in the source – Shai Almog Jul 15 '12 at 18:16
-
thanks,but my question is ..how are the files from resourse editor imported in netbeans and excecuted? – user1521546 Jul 25 '12 at 17:46
-
You need to put your res file into your project and later you can open it with these orders. If you want to execute the res for using the navigation etc etc...you need to generate the project from the Resource editor – Mun0n Jul 25 '12 at 18:00
-
So, which storage system (File System, Storage, SQLite) should I be using given a scenario that I wanted to store a private key for encryption and decryption purpose. As the key will only be written once (private key initialization)... – Roy Lee Mar 14 '13 at 03:54
-
make a new question and notify me – Mun0n Mar 14 '13 at 07:59