Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

paint with canvas

 
jim mark
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic