File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Feb 27, 2004
Mar 10, 2004 10:47:00
Is it possible to put a panel onto a canvas, the paint method is used to put everything i have onto the canvas but i want to put a panel onto it. How can i do this?.
Marilyn de Queiroz
Joined: Jul 22, 2000
Mar 10, 2004 18:37:00
You can put a Canvas into a Panel (which is a Container), but you can't put a Panel into a Canvas (which is a Component but not a Container).
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Don't get me started about those stupid
Controlling Window Focus
Graphics2D on JPanel
image in panel
Panel in ScrollPane
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013