Use system desktop - plugin detail
Use System default editors via java.awt.Desktop
Verifications for NetBeans versions
Decisions of individual verifiers for Use system desktop plugin for NetBeans IDE 6.1
Comments
Decisions of individual verifiers for Use system desktop plugin for NetBeans IDE 6.5
Comments
Decisions of individual verifiers for Use system desktop plugin for NetBeans IDE 6.7
Comments
|
Introduction
In Java 6 a new class is introduced - java.awt.Desktop, using which you can leave file handling to the underlying operating system's file associations.
For ex. Notepad can be the assigned editor for .txt files. Or you can view the System file explorer from the selected node. You might want to view files within the browser.
This plugin has three actions, Open, View in browser and send by mail. Each of these uses the Desktop.edit/open, browse and mail methods. Caveat Emptor - Known issues :
Behaviour is not guaranteed to be as expected. For example browse and open can do the same thing - open in the default editor. My testing has shown that only html and xml files open properly in browser.
Mail - Selected file is not introduced as an attachment since the mailto protocol does not support attachments.
There are no options to set. What ever is set on the operating system will be used.
When file association are not set; For example for manifest.mf file there might not be a file association. In these case you get an IOException which is shown to the user.
Works with Netbeans 6.1 and JDK6 only
Tested Platforms - Netbeans 6.1 and JDK6 Update 10 on Windows XP
BIG NOTE: If an application is not associated with the given file. it does not bring up the "Open With" dialog
What's new in this version
Updated license for CDDL and provided a new signer certificate.
Initial install will ask for verify the certificate.
Requires Java 6
|
[ You have to be logged in to be able to comment. ]
User Comments
There are no comments yet.