Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Using JNLP.jar for use of file chooser in a java web start applet

  • 03-03-2005 5:12pm
    #1
    Moderators, Society & Culture Moderators, Sports Moderators Posts: 12,325 Mod ✭✭✭✭


    Hi,

    im trying to build an applet that allows you to choose and open a file from your computer. to do this im using filechooser which needs to to use the JNLP API. i have downloaded this API set in in my classpath but im getting a very strange error ive never seen before and wondering f anybody knows the problem or if there is a better way I could go about doing this or building the applet.

    The error im getting is:

    Note: C:\Documents and Settings\Patrick Ellard\Desktop\XYZ\Chooser\Chhoser\JWSFileChooserDemo.java uses or overrides a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.

    Although i get these errors my programme does compile and i do get the class file which i use to run the applet.

    However when I run the applet using web start the Java Console gives me the error :
    java.lang.NoClassDefFoundError: javax/jnlp/UnavailableServiceException

    Any help would be real good im totally at a loss here


Advertisement