How To Make Java Web Start Application Using Netbeans.: - Click Project Properties Under The File Menu
How To Make Java Web Start Application Using Netbeans.: - Click Project Properties Under The File Menu
Once you make a graphical Java application, youll want to show it off to
the world! Luckily for us, Netbeans does most of the hard work for us. Be
thankful.
Step 1: Make your project ready for Web Application Deployment.
Go to Application>Web Start and click the Enable Web Start check box and select
Web Application Deployment from the drop down menu.
<body>
<h3>Test page for launching the application via JNLP</h3>
<a href="launch.jnlp">Launch the application</a>
<!-- Or use the following script element to launch with the Deployment Toolkit ->
<!-- Open the deployJava.js script to view its documentation -->
<!-<script src="http://java.com/js/deployJava.js"></script>
<script>
var url="http://[fill in your URL]/launch.jnlp"
deployJava.createWebStartLaunchButton(url, "1.6")
</script>
-->
</body>
</html>
You probably dont have to mess with this. If you feel adventurous, you can play with the
html of your web page.
Step 4: Setting up your web page.
For those of you who do not have a web page, the University offers everyone a web page
FOR FREE!
Here is some information on your H: drive and your web page
http://www.labs.uncc.edu/basics/novell.html#netstorage
You will want to use https://webf.uncc.edu to access your H drive remotely if youre not
on campus.
Now add everything in your dist file into public_html on your H: drive
Once you add your files you can go to your launch.html page and run your Java Web
Start Application!
Note: you may have to save the launch.jnlp to your hard drive to run it if your browser
takes you directly to the launch.jnlp xml.