• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

getResources() keep changing path

 
Kay Lee
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

code is auto-generate...
the code keep changing to...


notice the path there is javaTest/ included...

ive been developing this GUI in other project, then there is this project i need to use the GUI so i just copy the package into my current project.

at first there is error for getResource(),i figure that if i change the path this error will gone.

yes, it work but then after several runtime it change back to original code(second code).

How to prevent the code from change back to original code?? TQ
 
Kay Lee
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
actually, i think it happen everytime i close netbeans and open again...code change.
 
Kay Lee
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
and everytime i have to change the path again and again...
 
Maneesh Godbole
Saloon Keeper
Posts: 11069
13
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks like netbeans issue and not swing related. Moving to a more appropriate forum
 
Ken Masters
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try to enter the full path with file:// at the beginning.

Example:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic