I've made all my scripts with intractable paints.. The code I am currently using doesn't work?
boolean hide;
Point p;
Rectangle hideBox = new Rectangle(52, 41, 70, 81);
public void mouseEntered(MouseEvent e) {
p = e.getPoint();
if(hideBox.contains(p) && !hide) {
hide= true;
} else if(hideBox.contains(p) && hide){
hide = false;
}
}
and then in the paint section..
if (!hide) {
g.drawString("Showing Paint...", 0,0)
} else {
g.drawString("Not Showing PAint...",0,0)
Thanks for the help!