this.factorySwicther.add(new CLabel(SUBSETS_NAME));
}
this.viewSubsetsDrawers();
} else if (usingSys) {
this.factorySwicther.removeAll();
final CBorderlessButton factoryButton = new CBorderlessButton(STATIC_NAME);
final CBorderlessButton myblocksButton = new CBorderlessButton(DYNAMIC_NAME);
ActionListener listener = new ActionListener() {
public void actionPerformed(ActionEvent e) {
if (factoryButton.equals(e.getSource())) {
FactoryManager.this.viewStaticDrawers();
} else if (myblocksButton.equals(e.getSource())) {
FactoryManager.this.viewDynamicDrawers();
}
}
};
factoryButton.addActionListener(listener);
myblocksButton.addActionListener(listener);
this.factorySwicther.add(factoryButton, BorderLayout.WEST);
this.factorySwicther.add(myblocksButton, BorderLayout.EAST);
this.viewStaticDrawers();
}
this.factorySwicther.revalidate();