@Override public void mouseClicked(int xPos,int yPos,int par3){
  int x=(width - xSize) / 2, y=(height - ySize) / 2;
  if (!xbox.isFocused() && yPos < y + 40 && yPos > y + 31 && xPos < x + 163 && xPos > x + 113) {
    xbox.setFocused(true);
    ybox.setFocused(false);
  }
  if (!ybox.isFocused() && yPos < y + 50 && yPos > y + 41 && xPos < x + 163 && xPos > x + 113) {
    ybox.setFocused(true);
    xbox.setFocused(false);
  }
  super.mouseClicked(xPos,yPos,par3);
}

@ Override public void mouseClicked ( int xPos , int yPos , int par3 ) { int x = ( width - xSize ) / 2 , y = ( height - ySize ) / 2 ; if ( ! xbox . isFocused ( ) && yPos < y + 40 && yPos > y + 31 && xPos < x + 163 && xPos > x + 113 ) { xbox . setFocused ( true ) ; ybox . setFocused ( false ) ; } if ( ! ybox . isFocused ( ) && yPos < y + 50 && yPos > y + 41 && xPos < x + 163 && xPos > x + 113 ) { ybox . setFocused ( true ) ; xbox . setFocused ( false ) ; } super . mouseClicked ( xPos , yPos , par3 ) ; }
args : x , y , buttonclicked
