This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes paint with canvas Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "paint with canvas" Watch "paint with canvas" New topic
Author

paint with canvas

jim mark
Greenhorn

Joined: May 19, 2003
Posts: 1
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.
Why?
Thanks
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

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...


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: paint with canvas
 
Similar Threads
component help...
Generics: Shape example does not work as SUN says
MouseListener
Layout
How to bring a shape to front/back?