This code is an example of a "hardcoded" path.
Image imageFile= new Image(display, "C://Users//PC-name//Desktop//blah.png");
Hardcoded means the use of a literal instead of computing a value,...
Type: Posts; User: Norm
This code is an example of a "hardcoded" path.
Image imageFile= new Image(display, "C://Users//PC-name//Desktop//blah.png");
Hardcoded means the use of a literal instead of computing a value,...
Will all the PCs have the images in the same local directory? If you have a hardcoded path in your program then all the PCs will have to have the same directory structure for the images.