Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
this week in the
Swing / AWT / SWT
Is it possible to add a JPanel to AWT Frame?
Joined: Nov 01, 2004
Nov 01, 2004 11:37:00
Is it possible to add a
with some swing components to AWT Frame?
If yes, how?
Joined: Oct 29, 2001
Nov 01, 2004 11:57:00
has an add() method that takes a
has Component as an ancestor, so it's as easy as calling add(). However, mixing AWT and Swing components is
as it can have some ugly side effects.
"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
How To Ask Questions On JavaRanch
It is sorta covered in the
JavaRanch Style Guide
subject: Is it possible to add a JPanel to AWT Frame?
Setting the container position of JScrollPane
jpanel and internal frame
Centering Buttons in a FLow Layout
Add component above JFrame's menubar
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014