Hi,
I need to open a specific Image with for example windows picture viewer.
how i could run it?
Printable View
Hi,
I need to open a specific Image with for example windows picture viewer.
how i could run it?
do you mean, importing an image, like changing the background of a frame?
Do you wish to launch an external application with your java app? You can do so using the exec function of Runtime, however this forces your app to be platform dependent. If you with to read an image into the memory for use in your app, try using ImageIO
Java Image I/O API Guide: 3 - Writing Image I/O Applications
Would you please tell me which command I have to send to Runtime exec?