b.add(Box.createHorizontalGlue());
return b;
}
public XJRotableToggleButton createToggleButton(String title, final int tag, Component c) {
XJRotableToggleButton b = new XJRotableToggleButton(title);
b.setFocusable(false);
b.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
performToggleButtonAction(tag);
}
});