void expireInvite(final String name){
  JComponent button=invites.get(name);
  if (button != null) {
    inviteContainer.remove(button);
    inviteContainer.revalidate();
  }
  invites.remove(name);
}

void expireInvite ( final String name ) { JComponent button = invites . get ( name ) ; if ( button != null ) { inviteContainer . remove ( button ) ; inviteContainer . revalidate ( ) ; } invites . remove ( name ) ; }
remove the join button of an invite .
