1 23 24 package org.objectweb.fractal.gui.toolbar.view; 25 26 import org.objectweb.fractal.swing.JToolBarImpl; 27 28 import java.awt.Insets ; 29 30 import javax.swing.JButton ; 31 import javax.swing.Action ; 32 33 36 37 public class BasicToolBarView extends JToolBarImpl { 38 39 protected JButton createActionComponent (final Action a) { 40 JButton b = super.createActionComponent(a); 41 b.setMargin(new Insets (2, 2, 2, 2)); 42 return b; 43 } 44 } 45 | Popular Tags |