Skip to content

Commit

Permalink
Fix bug in button action.
Browse files Browse the repository at this point in the history
  • Loading branch information
Demian authored and Demian committed Apr 28, 2011
1 parent e9f81ca commit 1098db3
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,16 +112,16 @@ private void initComponents() {
jScrollPane1.setViewportView(usersList);

javax.swing.ActionMap actionMap = org.jdesktop.application.Application.getInstance(org.plugtree.training.jbpm.humantasks.client.ui.Application.class).getContext().getActionMap(ApplicationView.class, this);
startProcessButton.setAction(actionMap.get("startWorkAction")); // NOI18N
startProcessButton.setAction(actionMap.get("startProcessAction")); // NOI18N
startProcessButton.setName("startProcessButton"); // NOI18N
startProcessButton.setText("Start Process");

reportsButton.setAction(actionMap.get("reportsAction")); // NOI18N
reportsButton.setName("Reports"); // NOI18N
reportsButton.setText("Reports");

completeTaskButton.setAction(actionMap.get("completeTaskAction")); // NOI18N
completeTaskButton.setName("completeTaskButton"); // NOI18N
completeTaskButton.setAction(actionMap.get("startWorkAction")); // NOI18N
completeTaskButton.setName("startWorkAction"); // NOI18N
completeTaskButton.setText("Work!");
completeTaskButton.setEnabled(false);

Expand Down

0 comments on commit 1098db3

Please sign in to comment.