/** Called when the mouse is clicked. */ @Override protected void mouseClicked(int par1, int par2, int par3) { if (this.buttonId >= 0) { } else { super.mouseClicked(par1, par2, par3); } }