Hi *,

On the Java tutorial website at [1], there is the following text about the JFileChooser we use everywhere:


«Note: If you intend to distribute your program as an unsigned JavaT Web Start application, then instead of using the JFileChooser API you should use the file services provided by the JNLP API. These services - FileOpenService and FileSaveService - not only provide support for choosing files in a restricted environment, but also take care of actually opening and saving them. An example of using these services is in JWSFileChooserDemo. Documentation for using the JNLP API can be found in the Java Web Start lesson. »


If you run the demo at [2] (on Windows), then you see one big benefit: you get the native file chooser from the Windows, instead of the limited generic Java implementation.

Now my question: Should we adapt?
If so, I can start by creating an issue for this...

[1] http://java.sun.com/docs/books/tutorial/uiswing/components/filechooser.html [2] http://java.sun.com/docs/books/tutorialJWS/uiswing/components/ex6/JWSFileChooserDemo.jnlp


Regards,
Michiel

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to