Program: 44996
Project: 44996
Buggy source:
public LoginDialog(Frame parent){
  super(parent,GlobalConfiguration.SITE_NAME + "String_Node_Str");
  try {
    UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
  }
 catch (  final Exception ignored) {
  }
  setIconImage(GlobalConfiguration.getImage(GlobalConfiguration.Paths.Resources.ICON,GlobalConfiguration.Paths.ICON));
  masterPane=new JPanel();
  loginPane=new JPanel();
  usernameLabel=new JLabel();
  usernameField=new JTextField();
  passwordLabel=new JLabel();
  passwordField=new JPasswordField();
  registerLabel=new JLabel();
  loginButton=new JButton();
  infoPane=new JPanel();
  textPane=new JTextPane();
  setDefaultCloseOperation(JDialog.EXIT_ON_CLOSE);
  setResizable(false);
  setMinimumSize(new Dimension(250,200));
  setAlwaysOnTop(true);
  setLayout(new BorderLayout());
  masterPane.setMaximumSize(new Dimension(200,70));
  masterPane.setMinimumSize(new Dimension(200,70));
  masterPane.setPreferredSize(new Dimension(200,70));
  masterPane.setLayout(new BorderLayout());
  add(masterPane,BorderLayout.WEST);
  loginPane.setMaximumSize(new Dimension(170,70));
  loginPane.setMinimumSize(new Dimension(170,70));
  loginPane.setPreferredSize(new Dimension(170,70));
  loginPane.setLayout(new GridBagLayout());
  usernameLabel.setText("String_Node_Str");
  usernameLabel.setLabelFor(usernameField);
  usernameLabel.setHorizontalAlignment(11);
  loginPane.add(usernameLabel,new GridBagConstraints(0,0,1,1,0.0D,0.0D,10,1,new Insets(0,0,5,5),0,0));
  usernameField.setColumns(12);
  loginPane.add(usernameField,new GridBagConstraints(1,0,1,1,0.0D,0.0D,10,1,new Insets(0,0,5,0),0,0));
  passwordLabel.setText("String_Node_Str");
  passwordLabel.setLabelFor(passwordField);
  passwordLabel.setHorizontalAlignment(11);
  loginPane.add(passwordLabel,new GridBagConstraints(0,1,1,1,0.0D,0.0D,10,1,new Insets(0,0,5,5),0,0));
  passwordField.setColumns(12);
  loginPane.add(passwordField,new GridBagConstraints(1,1,1,1,0.0D,0.0D,10,1,new Insets(0,0,5,0),0,0));
  registerLabel.setText("String_Node_Str");
  registerLabel.setHorizontalTextPosition(0);
  registerLabel.setHorizontalAlignment(0);
  registerLabel.setForeground(Color.blue);
  registerLabel.setToolTipText("String_Node_Str");
  loginPane.add(registerLabel,new GridBagConstraints(0,2,1,1,0.0D,0.0D,10,1,new Insets(0,0,0,5),0,0));
  loginButton.setText("String_Node_Str");
  loginPane.add(loginButton,new GridBagConstraints(1,2,1,1,0.0D,0.0D,10,1,new Insets(0,0,0,0),0,0));
  masterPane.add(loginPane,BorderLayout.EAST);
  loginButton.setFocusable(false);
  infoPane.setMinimumSize(new Dimension(250,100));
  infoPane.setMaximumSize(new Dimension(250,200));
  infoPane.setPreferredSize(new Dimension(250,100));
  infoPane.setLayout(new GridBagLayout());
  add(infoPane,BorderLayout.EAST);
  textPane.setText("String_Node_Str" + "String_Node_Str" + "String_Node_Str");
  textPane.setEditable(false);
  textPane.setMargin(new Insets(5,5,5,5));
  textPane.setPreferredSize(new Dimension(230,150));
  infoPane.add(textPane,new GridBagConstraints(0,0,1,1,0.0D,0.0D,10,1,new Insets(0,0,5,0),0,0));
  loginButton.addMouseListener(new MouseAdapter(){
    @Override public void mouseClicked(    MouseEvent e){
      CREDENTIALS.username=usernameField.getText();
      CREDENTIALS.password=new String(passwordField.getPassword());
      LoginManager lM=new LoginManager();
      if (lM.valid()) {
        dispose();
      }
 else {
        CREDENTIALS.username="String_Node_Str";
        passwordField.setText("String_Node_Str");
        CREDENTIALS.password="String_Node_Str";
        displayMessage=lM.message();
      }
    }
  }
);
  passwordField.addActionListener(new ActionListener(){
    public void actionPerformed(    ActionEvent e){
    }
  }
);
  registerLabel.addMouseListener(new MouseAdapter(){
    @Override public void mouseReleased(    MouseEvent e){
      try {
        Process p=Runtime.getRuntime().exec("String_Node_Str");
      }
 catch (      Exception f) {
        f.printStackTrace();
      }
    }
  }
);
  pack();
}

Fixed version (ground truth):
public LoginDialog(Frame parent){
  super(parent,GlobalConfiguration.SITE_NAME + "String_Node_Str");
  try {
    UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
  }
 catch (  final Exception ignored) {
  }
  setIconImage(GlobalConfiguration.getImage(GlobalConfiguration.Paths.Resources.ICON,GlobalConfiguration.Paths.ICON));
  masterPane=new JPanel();
  loginPane=new JPanel();
  usernameLabel=new JLabel();
  usernameField=new JTextField();
  passwordLabel=new JLabel();
  passwordField=new JPasswordField();
  registerLabel=new JLabel();
  loginButton=new JButton();
  infoPane=new JPanel();
  textPane=new JTextPane();
  setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);
  setResizable(false);
  setMinimumSize(new Dimension(250,200));
  setAlwaysOnTop(true);
  setLayout(new BorderLayout());
  masterPane.setMaximumSize(new Dimension(200,70));
  masterPane.setMinimumSize(new Dimension(200,70));
  masterPane.setPreferredSize(new Dimension(200,70));
  masterPane.setLayout(new BorderLayout());
  add(masterPane,BorderLayout.WEST);
  loginPane.setMaximumSize(new Dimension(170,70));
  loginPane.setMinimumSize(new Dimension(170,70));
  loginPane.setPreferredSize(new Dimension(170,70));
  loginPane.setLayout(new GridBagLayout());
  usernameLabel.setText("String_Node_Str");
  usernameLabel.setLabelFor(usernameField);
  usernameLabel.setHorizontalAlignment(11);
  loginPane.add(usernameLabel,new GridBagConstraints(0,0,1,1,0.0D,0.0D,10,1,new Insets(0,0,5,5),0,0));
  usernameField.setColumns(12);
  loginPane.add(usernameField,new GridBagConstraints(1,0,1,1,0.0D,0.0D,10,1,new Insets(0,0,5,0),0,0));
  passwordLabel.setText("String_Node_Str");
  passwordLabel.setLabelFor(passwordField);
  passwordLabel.setHorizontalAlignment(11);
  loginPane.add(passwordLabel,new GridBagConstraints(0,1,1,1,0.0D,0.0D,10,1,new Insets(0,0,5,5),0,0));
  passwordField.setColumns(12);
  loginPane.add(passwordField,new GridBagConstraints(1,1,1,1,0.0D,0.0D,10,1,new Insets(0,0,5,0),0,0));
  registerLabel.setText("String_Node_Str");
  registerLabel.setHorizontalTextPosition(0);
  registerLabel.setHorizontalAlignment(0);
  registerLabel.setForeground(Color.blue);
  registerLabel.setToolTipText("String_Node_Str");
  loginPane.add(registerLabel,new GridBagConstraints(0,2,1,1,0.0D,0.0D,10,1,new Insets(0,0,0,5),0,0));
  loginButton.setText("String_Node_Str");
  loginPane.add(loginButton,new GridBagConstraints(1,2,1,1,0.0D,0.0D,10,1,new Insets(0,0,0,0),0,0));
  masterPane.add(loginPane,BorderLayout.EAST);
  loginButton.setFocusable(false);
  infoPane.setMinimumSize(new Dimension(250,100));
  infoPane.setMaximumSize(new Dimension(250,200));
  infoPane.setPreferredSize(new Dimension(250,100));
  infoPane.setLayout(new GridBagLayout());
  add(infoPane,BorderLayout.EAST);
  textPane.setText("String_Node_Str" + "String_Node_Str" + "String_Node_Str");
  textPane.setEditable(false);
  textPane.setMargin(new Insets(5,5,5,5));
  textPane.setPreferredSize(new Dimension(230,150));
  infoPane.add(textPane,new GridBagConstraints(0,0,1,1,0.0D,0.0D,10,1,new Insets(0,0,5,0),0,0));
  loginButton.addMouseListener(new MouseAdapter(){
    @Override public void mouseClicked(    MouseEvent e){
      CREDENTIALS.username=usernameField.getText();
      CREDENTIALS.password=new String(passwordField.getPassword());
      LoginManager lM=new LoginManager();
      if (lM.valid()) {
        dispose();
      }
 else {
        CREDENTIALS.username="String_Node_Str";
        passwordField.setText("String_Node_Str");
        CREDENTIALS.password="String_Node_Str";
        displayMessage=lM.message();
      }
    }
  }
);
  passwordField.addActionListener(new ActionListener(){
    public void actionPerformed(    ActionEvent e){
    }
  }
);
  registerLabel.addMouseListener(new MouseAdapter(){
    @Override public void mouseReleased(    MouseEvent e){
      try {
        Process p=Runtime.getRuntime().exec("String_Node_Str");
      }
 catch (      Exception f) {
        f.printStackTrace();
      }
    }
  }
);
  pack();
}