Exemplo n.º 1
0
 public void deinstallNorthComponents() {
   for (IdeRootPaneNorthExtension northComponent : myNorthComponents) {
     myNorthPanel.remove(northComponent.getComponent());
     Disposer.dispose(northComponent);
   }
   myNorthComponents.clear();
 }
Exemplo n.º 2
0
 void updateToolbar() {
   if (myToolbar != null) {
     myNorthPanel.remove(myToolbar);
   }
   myToolbar = createToolbar();
   myNorthPanel.add(myToolbar);
   updateToolbarVisibility();
   myContentPane.revalidate();
 }