Results 1 to 3 of 3
  1. #1
    utsav1995 is offline Member
    Join Date
    May 2012
    Posts
    7
    Rep Power
    0

    Lightbulb JFrame to Applet

    I have made a game using netbeans gui frame.
    I want to upload it to my site but for it i need to have convert it into applet.
    the thing is i don't know how to do it.

  2. #2
    hei1233212000 is offline Member
    Join Date
    Jul 2010
    Posts
    36
    Rep Power
    0

    Default Re: JFrame to Applet

    I think the following link shows a very clear steps to do so.
    Integrating an Applet in a Web Application

    Hope it is helpful

  3. #3
    doWhile is offline Moderator
    Join Date
    Jul 2010
    Location
    California
    Posts
    1,642
    Rep Power
    6

    Default Re: JFrame to Applet

    Not sure I understand the question...you have a java desktop application, and wish to convert it to an applet?
    See How to Make Applets (The Java™ Tutorials > Creating a GUI With JFC/Swing > Using Swing Components)
    A JApplet extends Container, and a JFrame extends Container - thus the components you add to a JFrame can be added to a JApplet (eg use JApplet rather than a JFrame)

Similar Threads

  1. JFrame to Applet?
    By Alerhau in forum New To Java
    Replies: 27
    Last Post: 08-14-2011, 02:38 AM
  2. Problem of conversion JFrame to Applet
    By Rekuta in forum Java Applets
    Replies: 9
    Last Post: 05-16-2010, 03:31 AM
  3. Jframe pass variable to Applet
    By wayn in forum AWT / Swing
    Replies: 0
    Last Post: 03-10-2010, 09:54 AM
  4. Applet in JFrame, JMenu problem
    By Bill86 in forum New To Java
    Replies: 5
    Last Post: 12-28-2009, 04:20 AM
  5. JFrame vs Applet
    By baltimore in forum AWT / Swing
    Replies: 1
    Last Post: 08-06-2007, 03:24 AM

Posting Permissions

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