Results 1 to 3 of 3
  1. #1
    tomkonikkara is offline Member
    Join Date
    Jul 2011
    Posts
    2
    Rep Power
    0

    Default How to embed java swing into a html

    i am a java beginner. I started coding java swing in netbeans IDE. When i build file in normal java applet using awt, automatic html code is generated in the build directory. But in the case of swing applications it is not automatically generated.
    first of all can i embed java swing app on html?
    if yes, how to automatically generate it using netbeans IDE?
    if automatic generation is not possible, how could i do it manually? I tried a similar coding in swing application also. but didn't work.
    thanks in advance.

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,189
    Rep Power
    19

    Default

    first of all can i embed java swing app on html?
    Extend JApplet

    if yes, how to automatically generate it using netbeans IDE?
    Don't be afraid of learning to write your own code/html.

    if automatic generation is not possible, how could i do it manually?
    How to Make Applets (The Java™ Tutorials > Creating a GUI With JFC/Swing > Using Swing Components)
    Lesson: Java Applets (The Java™ Tutorials > Deployment)

    You might also like to go through Lesson: Java Web Start (The Java™ Tutorials > Deployment)

    db

  3. #3
    tomkonikkara is offline Member
    Join Date
    Jul 2011
    Posts
    2
    Rep Power
    0

    Default

    What DarrylBurke said is correct. But there's a lot to read on those links but I did it at the end. Thanks. For beginners like me, go this link. It is more specific. Creating Executable JAR File with NetBeans | Jerome Locson

Similar Threads

  1. Determing class path for jar html embed
    By two7s_clash in forum Java Applets
    Replies: 0
    Last Post: 03-08-2011, 03:11 PM
  2. embed Flex component in Java Swing
    By monireh in forum AWT / Swing
    Replies: 0
    Last Post: 02-24-2011, 02:28 PM
  3. embed the video in the html page by youtube api
    By javastuden in forum Advanced Java
    Replies: 6
    Last Post: 06-17-2010, 01:23 PM
  4. how to embed .jar in an html or php file
    By clydedoris in forum AWT / Swing
    Replies: 0
    Last Post: 03-10-2010, 06:00 AM
  5. How to embed Swing and AWT in SWT
    By Java Tip in forum SWT
    Replies: 0
    Last Post: 07-02-2008, 08:07 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •