Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Modified Gui.java

  • Loading branch information...
commit 0ecfc4e9128bf3c43f9167b4cb3891c70d12c68e 1 parent f9049a1
@thomasabraham authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 netconvert/Gui.java
View
8 netconvert/Gui.java
@@ -13,6 +13,9 @@
public void actionPerformed(java.awt.event.ActionEvent ae){
if(ae.getSource()==exit_jmi){
System.exit(0);
+ }else if(ae.getSource()==addCat_jmi){
+ AddCat ac = new AddCat(this,true);
+ ac.mainx();
}
}
@@ -458,6 +461,11 @@ public Class getColumnClass(int columnIndex) {
exit_jmi.addActionListener(this);
jMenu1.add(exit_jmi);
+ addCat_jmi.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_A, java.awt.event.InputEvent.CTRL_MASK));
+ addCat_jmi.setText("Add Category");
+ addCat_jmi.addActionListener(this);
+ jMenu1.add(addCat_jmi);
+
jMenuBar1.add(jMenu1);
jMenu2.setText("Help");
Please sign in to comment.
Something went wrong with that request. Please try again.