Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: Convert Desktop app into Applet

  1. #1
    Member
    Join Date
    Oct 2011
    Posts
    53
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Default Convert Desktop app into Applet

    Hello,

    me again

    I am wondering how I could (If possible, without many modifications) run my desktop application as applet.
    I use swing components and JDBC (online DB).

    I tried to add in the main class 'extends JApplet', but it tries to load but nothing happens...

    I thought that from Java and JApplet the difference would be little, otherwise there would be no point in using it...

    Any suggestions? I would like to not change my code that much...


  2. #2
    Member
    Join Date
    Oct 2011
    Posts
    50
    My Mood
    Fine
    Thanks
    2
    Thanked 1 Time in 1 Post

    Default Re: Convert Desktop app into Applet

    First of all you need to understand the functionality of an applet vs. an application. This can be job for less than an hour, or days, depending on how you designed your app. Search the web for guides to convert apps to applets, and from the whole you'll find, at least some will surely fit your design and you can follow them easily.

    application context
    Last edited by daniel.j2ee; December 13th, 2011 at 05:00 PM.

  3. #3
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: Convert Desktop app into Applet

    Again, what research have you done? Have you read the tutorials? What has google told you? Where is your SSCCE? Please read the link in my signature on asking questions the smart way.

    Lesson: Java Applets (The Java™ Tutorials > Deployment)
    Application To JApplet And Reverse - Java Tutorials | Dream.In.Code
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

Similar Threads

  1. AWT Desktop Open
    By StevenTNorris in forum What's Wrong With My Code?
    Replies: 11
    Last Post: October 24th, 2011, 02:34 PM
  2. how to convert applet to a JPanel or JFrame
    By flipsyde02 in forum Java Theory & Questions
    Replies: 2
    Last Post: August 29th, 2011, 07:40 AM
  3. Netbean Desktop Application Help!!
    By flyto9 in forum Java Theory & Questions
    Replies: 2
    Last Post: June 30th, 2011, 05:52 PM
  4. How to convert thread.sleep() into a timer in an Applet
    By all_pro in forum Java Theory & Questions
    Replies: 2
    Last Post: April 14th, 2011, 07:45 AM
  5. Desktop Database Application
    By TCoomer in forum JDBC & Databases
    Replies: 2
    Last Post: June 4th, 2009, 03:51 PM