Results 1 to 7 of 7
Thread: Convert Application to Applet
- 12-11-2012, 06:12 PM #1
Convert Application to Applet
I want to turn this application (link to original code) into an applet.
Here is what I did so far down below:
-replaced JDialog with JApplet
-renamed constructor to void init
- deleted the visible true commands.
When I run the applet on browser, i get a dark grey blank box.
And I have been told that the Applet class will make -> TimeApplet$1.class and TimeApplet$1ButtonHandler.class after compilation.
ThanksLast edited by racewithferrari; 12-12-2012 at 04:58 AM. Reason: question solved.
- 12-11-2012, 06:34 PM #2
Re: Convert Application to Applet
The init() method that the Java plugin invokes on an Applet takes no arguments. You haven't overridden the method, you've overloaded it.
dbWhy do they call it rush hour when nothing moves? - Robin Williams
- 12-11-2012, 06:36 PM #3
- 12-11-2012, 06:50 PM #4
- 12-11-2012, 09:08 PM #5
Re: Convert Application to Applet
Better take some time to learn Applets then.
Lesson: Java Applets (The Java™ Tutorials > Deployment)
dbWhy do they call it rush hour when nothing moves? - Robin Williams
- 12-14-2012, 06:04 AM #6
Member
- Join Date
- Dec 2012
- Posts
- 4
- Rep Power
- 0
Re: Convert Application to Applet
also make sure that when you copy and paste the code to a new project for the applet it says "extend jApplet"
- 12-14-2012, 09:47 AM #7
Similar Threads
-
How to convert java standalone application into applet
By chirayu in forum Java AppletsReplies: 14Last Post: 08-04-2012, 12:08 AM -
convert java application into an exe
By masa in forum AWT / SwingReplies: 12Last Post: 11-20-2009, 03:04 AM -
convert application to applet in netbeans
By dbashby in forum New To JavaReplies: 7Last Post: 04-18-2009, 03:49 AM -
Convert to Applet
By Urgle in forum New To JavaReplies: 1Last Post: 11-12-2008, 01:15 PM -
Convert the application from 9i to 10g
By rahul999 in forum JDBCReplies: 5Last Post: 09-03-2008, 03:55 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks