Program: 31082
Project: 31082
Buggy source:
@SuppressWarnings("String_Node_Str") public ComponentMapDialog(JFrame parrentFrame,String projectPath){
  OldDirectory=projectPath;
  panel=new JDialog(parrentFrame,ModalityType.APPLICATION_MODAL);
  panel.setTitle("String_Node_Str");
  panel.setResizable(false);
  panel.setAlwaysOnTop(true);
  panel.setDefaultCloseOperation(JDialog.HIDE_ON_CLOSE);
  GridBagLayout thisLayout=new GridBagLayout();
  GridBagConstraints c=new GridBagConstraints();
  panel.setLayout(thisLayout);
  BoardPic=new SelectionWindow();
  BoardPic.setPreferredSize(new Dimension(BoardPic.getWidth(),BoardPic.getHeight()));
  c.gridx=0;
  c.gridy=0;
  c.gridwidth=3;
  c.fill=GridBagConstraints.HORIZONTAL;
  panel.add(BoardPic,c);
  JLabel UnmappedText=new JLabel();
  UnmappedText.setText("String_Node_Str");
  UnmappedText.setHorizontalTextPosition(JLabel.CENTER);
  UnmappedText.setPreferredSize(new Dimension((BoardPic.getWidth() * 2) / 5,25));
  UnmappedText.setToolTipText("String_Node_Str" + "String_Node_Str" + "String_Node_Str");
  c.gridx=0;
  c.gridy=1;
  c.gridwidth=1;
  panel.add(UnmappedText,c);
  JLabel MappedText=new JLabel();
  MappedText.setText("String_Node_Str");
  MappedText.setHorizontalTextPosition(JLabel.CENTER);
  MappedText.setPreferredSize(new Dimension((BoardPic.getWidth() * 2) / 5,25));
  c.gridx=1;
  panel.add(MappedText,c);
  JLabel CommandText=new JLabel();
  CommandText.setText("String_Node_Str");
  CommandText.setHorizontalTextPosition(JLabel.CENTER);
  CommandText.setPreferredSize(new Dimension((BoardPic.getWidth()) / 5,25));
  c.gridx=2;
  panel.add(CommandText,c);
  ScaleButton.setText("String_Node_Str");
  ScaleButton.setActionCommand("String_Node_Str");
  ScaleButton.addActionListener(this);
  ScaleButton.setEnabled(true);
  c.gridx=2;
  c.gridy=3;
  panel.add(ScaleButton,c);
  UnMapButton.setText("String_Node_Str");
  UnMapButton.setActionCommand("String_Node_Str");
  UnMapButton.addActionListener(this);
  UnMapButton.setEnabled(false);
  c.gridx=2;
  c.gridy=4;
  panel.add(UnMapButton,c);
  UnMapAllButton.setText("String_Node_Str");
  UnMapAllButton.setActionCommand("String_Node_Str");
  UnMapAllButton.addActionListener(this);
  UnMapAllButton.setEnabled(false);
  c.gridy=5;
  panel.add(UnMapAllButton,c);
  LoadButton.setText("String_Node_Str");
  LoadButton.setActionCommand("String_Node_Str");
  LoadButton.addActionListener(this);
  LoadButton.setEnabled(true);
  c.gridy=6;
  panel.add(LoadButton,c);
  SaveButton.setText("String_Node_Str");
  SaveButton.setActionCommand("String_Node_Str");
  SaveButton.addActionListener(this);
  SaveButton.setEnabled(false);
  c.gridy=7;
  panel.add(SaveButton,c);
  CancelButton.setText("String_Node_Str");
  CancelButton.setActionCommand("String_Node_Str");
  CancelButton.addActionListener(this);
  CancelButton.setEnabled(true);
  c.gridy=8;
  panel.add(CancelButton,c);
  DoneButton.setText("String_Node_Str");
  DoneButton.setActionCommand("String_Node_Str");
  DoneButton.addActionListener(this);
  DoneButton.setEnabled(false);
  c.gridy=9;
  panel.add(DoneButton,c);
  UnmappedList=new JList();
  UnmappedList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
  UnmappedList.addListSelectionListener(this);
  UnmappedList.addMouseListener(mouseListener);
  UnMappedPane=new JScrollPane(UnmappedList);
  UnMappedPane.setPreferredSize(new Dimension((BoardPic.getWidth() * 2) / 5,175));
  c.gridx=0;
  c.gridy=2;
  c.gridheight=9;
  panel.add(UnMappedPane,c);
  ComponentSelectionMode=false;
  MappedList=new JList();
  MappedList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
  MappedList.addListSelectionListener(this);
  MappedPane=new JScrollPane(MappedList);
  MappedPane.setPreferredSize(new Dimension((BoardPic.getWidth() * 2) / 5,175));
  c.gridx=1;
  c.gridy=2;
  c.gridheight=9;
  panel.add(MappedPane,c);
  MessageLine.setForeground(Color.BLUE);
  MessageLine.setText("String_Node_Str");
  MessageLine.setEnabled(true);
  c.gridx=0;
  c.gridy=10;
  c.gridwidth=3;
  panel.add(MessageLine,c);
  panel.pack();
  panel.setLocationRelativeTo(null);
  panel.setVisible(false);
}

Fixed version (ground truth):
@SuppressWarnings("String_Node_Str") public ComponentMapDialog(JFrame parrentFrame,String projectPath){
  OldDirectory=projectPath;
  panel=new JDialog(parrentFrame,ModalityType.APPLICATION_MODAL);
  panel.setTitle("String_Node_Str");
  panel.setResizable(false);
  panel.setAlwaysOnTop(true);
  panel.setDefaultCloseOperation(JDialog.HIDE_ON_CLOSE);
  GridBagLayout thisLayout=new GridBagLayout();
  GridBagConstraints c=new GridBagConstraints();
  panel.setLayout(thisLayout);
  panel.addWindowListener(new WindowAdapter(){
    public void windowClosing(    WindowEvent e){
      ResetScale();
    }
  }
);
  BoardPic=new SelectionWindow();
  BoardPic.setPreferredSize(new Dimension(BoardPic.getWidth(),BoardPic.getHeight()));
  c.gridx=0;
  c.gridy=0;
  c.gridwidth=3;
  c.fill=GridBagConstraints.HORIZONTAL;
  panel.add(BoardPic,c);
  JLabel UnmappedText=new JLabel();
  UnmappedText.setText("String_Node_Str");
  UnmappedText.setHorizontalTextPosition(JLabel.CENTER);
  UnmappedText.setPreferredSize(new Dimension((BoardPic.getWidth() * 2) / 5,25));
  UnmappedText.setToolTipText("String_Node_Str" + "String_Node_Str" + "String_Node_Str");
  c.gridx=0;
  c.gridy=1;
  c.gridwidth=1;
  panel.add(UnmappedText,c);
  JLabel MappedText=new JLabel();
  MappedText.setText("String_Node_Str");
  MappedText.setHorizontalTextPosition(JLabel.CENTER);
  MappedText.setPreferredSize(new Dimension((BoardPic.getWidth() * 2) / 5,25));
  c.gridx=1;
  panel.add(MappedText,c);
  JLabel CommandText=new JLabel();
  CommandText.setText("String_Node_Str");
  CommandText.setHorizontalTextPosition(JLabel.CENTER);
  CommandText.setPreferredSize(new Dimension((BoardPic.getWidth()) / 5,25));
  c.gridx=2;
  panel.add(CommandText,c);
  ScaleButton.setText("String_Node_Str");
  ScaleButton.setActionCommand("String_Node_Str");
  ScaleButton.addActionListener(this);
  ScaleButton.setEnabled(true);
  c.gridx=2;
  c.gridy=3;
  panel.add(ScaleButton,c);
  UnMapButton.setText("String_Node_Str");
  UnMapButton.setActionCommand("String_Node_Str");
  UnMapButton.addActionListener(this);
  UnMapButton.setEnabled(false);
  c.gridx=2;
  c.gridy=4;
  panel.add(UnMapButton,c);
  UnMapAllButton.setText("String_Node_Str");
  UnMapAllButton.setActionCommand("String_Node_Str");
  UnMapAllButton.addActionListener(this);
  UnMapAllButton.setEnabled(false);
  c.gridy=5;
  panel.add(UnMapAllButton,c);
  LoadButton.setText("String_Node_Str");
  LoadButton.setActionCommand("String_Node_Str");
  LoadButton.addActionListener(this);
  LoadButton.setEnabled(true);
  c.gridy=6;
  panel.add(LoadButton,c);
  SaveButton.setText("String_Node_Str");
  SaveButton.setActionCommand("String_Node_Str");
  SaveButton.addActionListener(this);
  SaveButton.setEnabled(false);
  c.gridy=7;
  panel.add(SaveButton,c);
  CancelButton.setText("String_Node_Str");
  CancelButton.setActionCommand("String_Node_Str");
  CancelButton.addActionListener(this);
  CancelButton.setEnabled(true);
  c.gridy=8;
  panel.add(CancelButton,c);
  DoneButton.setText("String_Node_Str");
  DoneButton.setActionCommand("String_Node_Str");
  DoneButton.addActionListener(this);
  DoneButton.setEnabled(false);
  c.gridy=9;
  panel.add(DoneButton,c);
  UnmappedList=new JList();
  UnmappedList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
  UnmappedList.addListSelectionListener(this);
  UnmappedList.addMouseListener(mouseListener);
  UnMappedPane=new JScrollPane(UnmappedList);
  UnMappedPane.setPreferredSize(new Dimension((BoardPic.getWidth() * 2) / 5,175));
  c.gridx=0;
  c.gridy=2;
  c.gridheight=9;
  panel.add(UnMappedPane,c);
  ComponentSelectionMode=false;
  MappedList=new JList();
  MappedList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
  MappedList.addListSelectionListener(this);
  MappedPane=new JScrollPane(MappedList);
  MappedPane.setPreferredSize(new Dimension((BoardPic.getWidth() * 2) / 5,175));
  c.gridx=1;
  c.gridy=2;
  c.gridheight=9;
  panel.add(MappedPane,c);
  MessageLine.setForeground(Color.BLUE);
  MessageLine.setText("String_Node_Str");
  MessageLine.setEnabled(true);
  c.gridx=0;
  c.gridy=10;
  c.gridwidth=3;
  panel.add(MessageLine,c);
  panel.pack();
  panel.setLocationRelativeTo(null);
  panel.setVisible(false);
}