MenuBarUI ui = ((MenuBarUI) UIManager.getUI(this)); setUI(ui);
setUI((MenuBarUI) UIManager.getUI(this));
  public void updateUI()    {    MenuBarUI ui = ((MenuBarUI) UIManager.getUI(this));    setUI(ui);    invalidate();    }