JPanel panel;
public JComponent createJComponent(ViewerFactory factory) {
JPanel buttonPanel = new JPanel(new GridBagLayout());
JComponent button = null;
DataModelCommand command;
DataViewer buttonViewer;
DataModelCommandVector commandVector = popupModel.getMethods();
GridBagConstraints buttonConstr = new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(0, 2, 0, 2), 0, 0);
if (commandVector != null) {