1 21 22 package org.armedbear.j; 23 24 import javax.swing.JComponent ; 25 import javax.swing.plaf.ComponentUI ; 26 import javax.swing.plaf.metal.MetalToolBarUI ; 27 28 public final class ToolBarUI extends MetalToolBarUI  29 { 30 public static ComponentUI createUI(JComponent c) 31 { 32 if (ToolBar.isRolloverEnabled()) 33 c.putClientProperty("JToolBar.isRollover", Boolean.TRUE); 34 return new org.armedbear.j.ToolBarUI(); 35 } 36 37 protected void installKeyboardActions() 39 { 40 } 41 42 protected void uninstallKeyboardActions() 43 { 44 } 45 } 46 | Popular Tags |