A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
paint with canvas
Joined: May 19, 2003
May 19, 2003 14:38:00
I have made a canvas in one one class. when I click a button a shape is created.But the shape is behind the canvas so it isn't visible.
Joined: Oct 18, 2000
May 20, 2003 08:24:00
I really don't understand what you're doing... is the canvas painting the shape? Is the shape on another component? I need more description (and possibly code) before I can help you out...
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
I agree. Here's the link:
subject: paint with canvas
Generics: Shape example does not work as SUN says
How to bring a shape to front/back?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014