How to get source code from jnlp file

I have downloaded several files jnlp

from the oracle swing tutorials available on their website, which they cite as examples. Although they trigger the launch, is there a way I can extract the source code from them? It would really help me understand their examples better.

Thanx in advance!

+3


source to share


1 answer


Given the .jnlp

file from the Java Tutorials , focus on the two Java Web Start :

codebase = "http://docs.oracle.com/javase/tutorialJWS/uiswing/components/ex6"
main-class = "components.ColorChooserDemo"

Look for a name main-class

on the site codebase

, for example



http://www.google.com/#q=site:oracle.com+ColorChooserDemo 

Voilà, first hit !

Bonus feature: most of the examples section have the HTML name

, eg

.

+5


source







All Articles