Results 1 to 4 of 4
Thread: JFrame needed for JPanel??
- 02-14-2011, 03:32 PM #1
Member
- Join Date
- Nov 2010
- Posts
- 40
- Rep Power
- 0
- 02-14-2011, 03:42 PM #2
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,405
- Blog Entries
- 7
- Rep Power
- 17
When people rob a bank they get a penalty; when banks rob people they get a bonus.
- 02-14-2011, 03:43 PM #3
Yes. A JPanel is simply an area inside a window. You need to put that in a window. Whether that window is an JFrame or an Applet is up to you.
Recommended reading: Trail: Creating a GUI With JFC/Swing (The Java™ Tutorials)
Edit- Too slow. What Jos said.How to Ask Questions the Smart Way
Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!
- 02-15-2011, 08:01 AM #4
Member
- Join Date
- Nov 2010
- Posts
- 40
- Rep Power
- 0
Similar Threads
-
jpanel in jframe-pls help
By archanaanbu in forum Java AppletsReplies: 3Last Post: 02-14-2011, 05:01 AM -
Jpanel and Jframe help!!
By Java_n00b in forum AWT / SwingReplies: 4Last Post: 01-23-2011, 04:05 PM -
JFrame and JPanel
By khiat in forum New To JavaReplies: 6Last Post: 01-15-2011, 07:32 PM -
Help with JPanel and JFrame
By weikang in forum AWT / SwingReplies: 3Last Post: 11-26-2010, 01:22 AM -
JPanel/JFrame
By Mayur in forum New To JavaReplies: 2Last Post: 12-20-2009, 05:07 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks