Results 1 to 2 of 2
Thread: jframe inside japplet
- 07-15-2011, 09:24 AM #1
Member
- Join Date
- Jul 2011
- Posts
- 1
- Rep Power
- 0
- 07-19-2011, 12:31 AM #2
Lesson: Java Applets (The Java Tutorials > Deployment)
This is "the" applet-tutorial, but it has much more then you need. Try to find launching-code examples, and info on the EDT (Event Dispatch Thread), and applet-restrictions.
To just address your question: both JFrame and JApplet are top-level containers. Most programs consist basically of a tree made from nested JPanels (with content). The root of this tree is then contained in a JApplet (applet, able to run on the web) or JFrame (app). You can launch from your applet other free-floating JFrames. You can also make programs that are both applet and application.No bug ever had to calculate its fitnessfunction.
Similar Threads
-
JApplet in JFrame...
By Rolf83 in forum Java AppletsReplies: 8Last Post: 06-03-2011, 05:15 PM -
Is it possible to run an exe inside a JFrame?
By alacn in forum Advanced JavaReplies: 15Last Post: 08-16-2010, 04:42 AM -
Making a JApplet into a JFrame into a .jar
By aqualicy in forum Java AppletsReplies: 2Last Post: 05-14-2010, 04:29 AM -
JApplet.getGraphics() draws but JFrame doesn't
By ChazZeromus in forum New To JavaReplies: 5Last Post: 07-27-2009, 10:02 PM -
JFrame to JApplet or JApplet to JApplet
By ramesh.8189 in forum AWT / SwingReplies: 13Last Post: 02-08-2009, 06:14 AM


1Likes
LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks