*/
public class ActivateActionListener implements ActionListener {
public void actionPerformed(ActionEvent e) {
List<EventHandle> eventsToPost = new ArrayList<EventHandle>();
Hashtable<String, Object> qq_Params = new Hashtable<String, Object>();
qq_Params.put("x", new ParameterHolder(0));
qq_Params.put("y", new ParameterHolder(0));
int modifiers = 0;
if ((e.getModifiers() & ActionEvent.CTRL_MASK) > 0)
modifiers = modifiers | 1;
if ((e.getModifiers() & ActionEvent.SHIFT_MASK) > 0)
modifiers = modifiers | 2;
if ((e.getModifiers() & ActionEvent.ALT_MASK) > 0)
modifiers = modifiers | 4;
if ((e.getModifiers() & ActionEvent.META_MASK) > 0)
modifiers = modifiers | 8;
qq_Params.put("modifier", new ParameterHolder(modifiers));
qq_Params.put("node", new ParameterHolder(null));
qq_Params.put("row", new ParameterHolder(0));
qq_Params.put("column", new ParameterHolder(0));
if (e.getSource() instanceof JRadioButtonMenuItem) {
ButtonGroup bg = ((DefaultButtonModel) ((JRadioButtonMenuItem) e
.getSource()).getModel()).getGroup();
eventsToPost.add(new EventHandle(bg, "Activate", qq_Params));
} else {