Here you can find the source of setWFActionMap(Vector
public static void setWFActionMap(Vector<JButton> actionButtons, String action, Map<String, String> wfActionMap)
//package com.java2s; //License from project: Apache License import java.util.Map; import java.util.Vector; import javax.swing.JButton; public class Main { public static void setWFActionMap(Vector<JButton> actionButtons, String action, Map<String, String> wfActionMap) { for (int i = 0; i < actionButtons.size(); i++) { JButton button = actionButtons.elementAt(i); String[] cmnd = button.getActionCommand().split("="); String stepAction = cmnd[1]; wfActionMap.put(stepAction, action); }/*w ww .j a v a2s . c om*/ } }