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
Post a Comment