public JLabel createJLabel(String textResourceId) {
return new CFJLabel(resources, textResourceId);
}
public JButton createJButton(String textResourceId, ActionListener actionListener) {
JButton button = new CFJButton(resources, textResourceId);
if (actionListener != null) {
button.addActionListener(actionListener);
}
return button;
}