This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes how to paint some shape over another JComponent Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "how to paint some shape over another JComponent" Watch "how to paint some shape over another JComponent" New topic
Author

how to paint some shape over another JComponent

Edward Chen
Ranch Hand

Joined: Dec 23, 2003
Posts: 798
how to paint some shape over another JComponent, such as JLabel ? The coding below is my try. But it doesn't work.

Thanks

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to paint some shape over another JComponent
 
Similar Threads
Get x,y coords outside of windows/screen using mouselook technique
java swing repaint
Wanted: example mouse coordinates->world coordinates
Moveable tooltips
Stamping an Image