JCommandButton cbtnCategories = new JCommandButton(
I18n.CUSTOMERS.getString("Action.Categories"),
ViewHelpers.createResizableIcon(new ImageIcon(getClass().getResource(
ViewHelpers.ICONS22 + "category.png"))));
cbtnCategories.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
onOpenCategories();
}
});