Re: Web Start and Third Party Beans
Here is an example of the code, note where the program stops is all
'automagically' done by netbeans.
What happens when you run it from the command line,
with the Java Console configured to pop-up automatically?
... The program when using webstart
never makes it to my code.... I added comments in the Init method
around the code that stops the program, it is only about 50 lines down
OK. So if the problem occurs 50 lines into a class that is
over 1000 lines long, it is a good idea to trim the code past
the 50 lines (check the problem still occurs), then trim some
of the lines before that, and check the application again.
This process would be what you do in preparing an SSCCE.
It is a good debugging technique, and even if it fails to
solve the problem for you, there is a neat little code example
at the end, to present to others.
Read more here..
Here is the code..... Below the code is a copy of the JNLP file as
That JNLP references a non-existant DTD (404) - typically of
JNLP files produced by NetBeans.
Here is an optimised JNLP.
<?xml version="1.0" encoding="UTF-8"?>
<jar href="dist/RaceReporter.jar" main="false"/>
<jar href="DateChooser.jar" main="false"
All the (effecively identical) resources elements were merged, the
empty icon and description elements were removed, and both
'download="eager"' (the default) attributes removed.
BTW - What happens when you try to fetch?
Message posted via http://www.javakb.com