6

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.

Tanmay Patil
  • 6,882
  • 2
  • 25
  • 45
edi233
  • 3,511
  • 13
  • 56
  • 97

1 Answers1

8

How to Create Translucent and Shaped Windows

Umesh K
  • 13,436
  • 25
  • 87
  • 129