Jak zmienić krycie jbutton
MyJButton myJbtn = new MyJButton();
myJbtn.setOpacity(0.5);
myJbtn.repaint();
Zany Zebra
MyJButton myJbtn = new MyJButton();
myJbtn.setOpacity(0.5);
myJbtn.repaint();
private float opacity;
//......
public setOpacity(float opacity) {
this.opacity = opacity;
}
public void getOpacity(){
return this.opacity
}