Need help with javax.jnlp.SingleInstanceService

S

steve.albin

I have a Swing application (using Java 5) that is launched via Web
Start and I am trying to use the javax.jnlp.SingleInstanceService so
that there is only one instance of my application running and so that I
can pass new parameters to it whenever the user attempts to launch
another instance. Unfortunately I can't get a sample to work and the
documentation is sparse. Can anyone who has used this service provide
guidelines or sample code?

Thank you,
Steve A.
 
A

Andrew Thompson

....Unfortunately I can't get a sample to work ..

Lazy, is it?*
..and the documentation is sparse.

<http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/examples.html#SingleInstanceService>

It looks pretty straightforward. What's missing?

* You might put up** a simple, 30 line example
for us to test, which will provide information that
is a lot more specific and useful than 'it does not
work'.

** 'Up' as in, on the net, where all those handy little
URL's are, as opposed to on your home PC, on which
we cannot test.

Andrew T.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top