Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java Glass pane

I have a problem. I want to ask you how can I implement GlassPane to paint on it.

I mean, if I click mouse button, in mouseClicked event, my transparent glass pane should be created, because I want to see all my components behind glassPane and I can paint on it using mouseDragged event. When I release mouse button my glassPane disappears.

I have another question too. When I will paint on glass pane all my components behind them will be refreshing and repainting? Maybe somebody have nice example with glass pane which might help me.

like image 382
edi233 Avatar asked May 11 '11 07:05

edi233


1 Answers

How to Create Translucent and Shaped Windows

like image 84
Umesh K Avatar answered Sep 22 '22 12:09

Umesh K