0

I have a JDialog which gets open once you click on a Button. I wanted to show an arrow indicator towards the button when the JDialog gets opened. For this I require extreme portion of JDialog (towards the Button) to be transparent so that I can paint or add an Image of arrow.

How can I make the JDialog a transparent Dialog with some portion as transparent.

Deepak Chaudhry
  • 219
  • 4
  • 12

1 Answers1

1

Setting JDialog opacity by Timer

this might help you. In general method setOpacity() is the one you want

Community
  • 1
  • 1
Jan Hruby
  • 1,477
  • 1
  • 13
  • 26