With either a File or URI, it lets you launch a viewer to display the file, e.g. a browser, email client, The Desktop class allows a Java application to launch associated applications registered on the native desktop to handle a URI or a file. or a the associated open, edit or print application.
Unlike exec, you can use these features without knowing the name of the local command processor, browser, mail program etc.
| You can get the freshest copy of this page from: | or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror) | |
| http://mindprod.com/jgloss/desktop.html | J:\mindprod\jgloss\desktop.html | |
![]() | ||
| Canadian Mind Products | ||
| mindprod.com IP:[65.110.21.43] | ||
| view Blog | Your face IP:[38.107.191.101] | |
| Feedback | You are visitor number 11. | |