Results 1 to 5 of 5
Thread: Run Jar file from HTML page
- 09-18-2011, 03:32 PM #1
Member
- Join Date
- Sep 2008
- Posts
- 28
- Rep Power
- 0
-
Re: Run Jar file from HTML page
"didn't work" doesn't tell us much that helps us help you. Please provide the important details if you truly need and want our help, details such as what type of GUI -- is it a JApplet or a JFrame? How did you try to display the applet, what your GUI code looked like? the HTML code? have you considered using Java Web Start instead?
- 09-18-2011, 03:52 PM #3
Member
- Join Date
- Sep 2008
- Posts
- 28
- Rep Power
- 0
Re: Run Jar file from HTML page
Thanks a lot for your reply
This is the HTML code
<Html>
<Head>
<Title>Java Example</Title>
</Head>
<Body>
This is my page<br>
Below you see an applet<br>
<br>
<Applet Code="NewJFrame.class" archive="CIB_User.jar" width=200 Height=100>
</Applet>
</Body>
</Html>
====
CIB_User.jar is complied using netbeans and it extends the JFrame class
For the Java web, Am not fimiliar with it, can you please give me hints so that I go and read a bit about it ?
Thanks
-
Re: Run Jar file from HTML page
- 09-22-2011, 08:13 AM #5
Member
- Join Date
- Sep 2011
- Posts
- 1
- Rep Power
- 0
Re: Run Jar file from HTML page
Hello, yahyaaa! You need to read this article How to Make Applets (The Java™ Tutorials > Creating a GUI With JFC/Swing > Using Swing Components) for resolved your issue and understanding how applet is worked. For example, in your case, NewJFrame.class should extend JApplet, not JFrame.
Similar Threads
-
submit html page
By erics44 in forum New To JavaReplies: 3Last Post: 03-23-2010, 12:58 PM -
redirect to html page
By simo_mon in forum Java ServletReplies: 3Last Post: 02-12-2009, 05:18 PM -
convert html page to pdf
By MarkWilson in forum Advanced JavaReplies: 2Last Post: 09-02-2008, 11:14 PM -
Include Java file in HTML Page
By kathyc in forum New To JavaReplies: 2Last Post: 03-07-2008, 03:51 AM -
HTML page
By bbq in forum New To JavaReplies: 1Last Post: 07-05-2007, 03:46 AM


1Likes
LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks