java - setting JLabel transparency -


you may see duplicate question please here me out.

i have jlabel image. jlabel has mouse listener binded function. there way make jlabel disappear (or technically, transparent) in order mouse listener function preserved?

i know can set transparent image icon jlabel, i'm wondering if there's kind of "toggle" function out there.

you use yourlabel.setvisible(false); not same dispose frame; however, extend question little bit more or make clearer?(i'm having hard time trying understand want do)


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -