Results 1 to 3 of 3
- 10-24-2012, 03:06 AM #1
Member
- Join Date
- Oct 2012
- Posts
- 14
- Rep Power
- 0
Using JPanel to switch between JFrame and JApplet
Hi, I want to make my program be able to switch between a desktop version and a website version, so I want to make a JPanel and have everything inside there and put the panel inside either a JFrame or JApplet.
Can someone give me an example of how I would do this? Maybe show how to add two numbers using Swing?
- 10-24-2012, 04:42 AM #2
Re: Using JPanel to switch between JFrame and JApplet
Not without seeing your own efforts first. This is a forum, not a code factory.
Better go through the tutorial and learn how to use Swing: Trail: Creating a GUI With JFC/Swing (The Java™ Tutorials)
dbWhy do they call it rush hour when nothing moves? - Robin Williams
- 10-24-2012, 01:46 PM #3
Similar Threads
-
JApplet in JFrame...
By Rolf83 in forum Java AppletsReplies: 8Last Post: 06-03-2011, 05:15 PM -
Making a JApplet into a JFrame into a .jar
By aqualicy in forum Java AppletsReplies: 2Last Post: 05-14-2010, 04:29 AM -
Need help in switch JPanel
By chyeeqi in forum NetBeansReplies: 2Last Post: 03-19-2010, 04:10 AM -
JFrame to JApplet or JApplet to JApplet
By ramesh.8189 in forum AWT / SwingReplies: 13Last Post: 02-08-2009, 06:14 AM -
Problems while loading a JPanel to JApplet...
By Ananth Chellathurai in forum Java AppletsReplies: 0Last Post: 11-24-2007, 10:47 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks