@Override public void updateUI(){
  if (this.popup != null) {
    SwingUtilities.updateComponentTreeUI(this.popup);
  }
  super.updateUI();
}

@ Override public void updateUI ( ) { if ( this . popup != null ) { SwingUtilities . updateComponentTreeUI ( this . popup ) ; } super . updateUI ( ) ; }
updates the ui for a lookandfeel change .
