TavernerPOS - Source Code
Clone:
git clone http://www.librarysmith.co.uk/tavernerPOS
package com.floreantpos.bo.actions;
import java.awt.event.ActionEvent;
import javax.swing.AbstractAction;
import javax.swing.Icon;
import com.floreantpos.bo.ui.BOMessageDialog;
import com.floreantpos.ui.dialog.BeanEditorDialog;
import com.floreantpos.ui.model.MenuCategoryForm;
public class NewMenuCategoryAction extends AbstractAction {
public NewMenuCategoryAction() {
super();
}
public NewMenuCategoryAction(String name) {
super(name);
}
public NewMenuCategoryAction(String name, Icon icon) {
super(name, icon);
}
public void actionPerformed(ActionEvent e) {
try {
MenuCategoryForm editor = new MenuCategoryForm();
BeanEditorDialog dialog = new BeanEditorDialog(editor);
dialog.open();
} catch (Exception x) {
BOMessageDialog.showError(com.floreantpos.POSConstants.ERROR_MESSAGE, x);
}
}
}
- Details
- Last Updated: Monday, 04 April 2016 02:04
- Hits: 35975092