Program: 143783
Project: 143783
Buggy source:
public void actionRuntimePerformed(ActionEvent event){
  Action a=null;
  Object source=event.getSource();
  if (source == heightCombo) {
    Object val=heightCombo.getSelectedItem();
    int size=Utils.getAsInteger(val);
    if (size <= 0)     size=10;
    a=(Action)actions.get("String_Node_Str" + size);
    if (a == null) {
      a=new StyledEditorKit.FontSizeAction("String_Node_Str",size);
    }
  }
 else   if (source == styleCombo) {
    a=new StyledEditorKit.FontFamilyAction("String_Node_Str",allFonts[styleCombo.getSelectedIndex()].getFamily());
  }
 else   if (source == fcolor) {
    Window parent=SwingUtilities.getWindowAncestor(this);
    if (parent == null)     parent=application.getMainApplicationFrame();
    CustomColorChooserDialog ccd=(CustomColorChooserDialog)application.getWindow("String_Node_Str");
    if (ccd == null || ccd.getOwner() != parent) {
      if (parent instanceof Frame) {
        ccd=new CustomColorChooserDialog((Frame)parent,application);
      }
 else       if (parent instanceof Dialog) {
        ccd=new CustomColorChooserDialog((Dialog)parent,application);
      }
      application.registerWindow("String_Node_Str",ccd);
    }
    Color c=ccd.showDialog(Color.black);
    if (c != null) {
      a=new StyledEditorKit.ForegroundAction("String_Node_Str",c);
    }
  }
 else   if (source == moreCmds) {
    moreCmdsMenu.show(moreCmds,0,moreCmds.getHeight());
  }
 else {
    String cmd=event.getActionCommand();
    if (cmd != null) {
      a=(Action)actions.get(cmd);
    }
  }
  if (a != null) {
    a.actionPerformed(event);
  }
}

Fixed version (ground truth):
public void actionRuntimePerformed(ActionEvent event){
  Action a=null;
  Object source=event.getSource();
  if (source == heightCombo) {
    Object val=heightCombo.getSelectedItem();
    int size=Utils.getAsInteger(val);
    if (size <= 0)     size=10;
    a=(Action)actions.get("String_Node_Str" + size);
    if (a == null) {
      a=new StyledEditorKit.FontSizeAction("String_Node_Str",size);
    }
  }
 else   if (source == styleCombo) {
    a=new StyledEditorKit.FontFamilyAction("String_Node_Str",allFonts[styleCombo.getSelectedIndex()].getFamily());
  }
 else   if (source == fcolor) {
    Window parent=SwingUtilities.getWindowAncestor(this);
    if (parent == null)     parent=application.getMainApplicationFrame();
    CustomColorChooserDialog ccd=(CustomColorChooserDialog)application.getWindow("String_Node_Str");
    if (ccd == null || ccd.getOwner() != parent) {
      if (parent instanceof Frame) {
        ccd=new CustomColorChooserDialog((Frame)parent,application);
      }
 else       if (parent instanceof Dialog) {
        ccd=new CustomColorChooserDialog((Dialog)parent,application);
      }
      application.registerWindow("String_Node_Str",ccd);
    }
    Color c=ccd.showDialog(Color.black);
    if (c != null) {
      a=new ForegroundSetWithAttributeFilteringAction("String_Node_Str",c);
    }
  }
 else   if (source == moreCmds) {
    moreCmdsMenu.show(moreCmds,0,moreCmds.getHeight());
  }
 else {
    String cmd=event.getActionCommand();
    if (cmd != null) {
      a=(Action)actions.get(cmd);
    }
  }
  if (a != null) {
    a.actionPerformed(event);
  }
}