🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: aus.computers.java
1 messages
1 total messages Started by news reader Fri, 18 Sep 2009 01:04
Implementing this app in browser with multiple jar/classes?
#68
Author: news reader
Date: Fri, 18 Sep 2009 01:04
46 lines
2380 bytes
Hello,
Complete newbie here.
How do you get the following application to run in a web browser?

myapp.jar
myappcommoncommons.jar
myappchartcomp.jar

classes\mycompany\chart
 MyappChart.class

classes\mycompany\gui
 Main.class
 Main_AboutBox.class
 Main_jMenuFileExit_ActionAdapter.class
 Main_jMenuFileOpen_ActionAdapter.class
 Main_jMenuHelpAbout_ActionAdapter.class
 Main_plotButton_mouseAdapter.class
 Monitor.class

classes\mycompany\metrics
 MyappMetricManager.class
 MyappMetrics.class

classes\mycompany\util
 DateUtil.class


I've found this web page:
http://java.sun.com/docs/books/tutorial/deployment/jar/run.html
and have tried embedding the main JAR of our application as follows:

<html>
<body>
<applet code="classes/mycompany/gui/Main.class"
        archive="myapp.jar"
        width=100% height=90%>
</applet>
</html>

but this fails miserably!
How do you direct the browser to handle multiple classes?  Or do I need to?
How about the alternate JARs?
I would really appreciate your knowledgeable input!

Thank you very much!
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads