Hello Dears
I have a jar file complied via netbeans, its contains GUI interface
I want to embed this Jar file into HTML, so that I run it from the web page..
can anybody help, I tried the Applets but didnt work...
Thanks alot
Printable View
Hello Dears
I have a jar file complied via netbeans, its contains GUI interface
I want to embed this Jar file into HTML, so that I run it from the web page..
can anybody help, I tried the Applets but didnt work...
Thanks alot
"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?
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
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.