aspose file tools
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 The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "paint with canvas" Watch "paint with canvas" New topic

paint with canvas

jim mark

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

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

Write once, run anywhere, because there's nowhere to hide! - /. A.C.
It is sorta covered in the JavaRanch Style Guide.
subject: paint with canvas