alertText = new javax.swing.JLabel();
stylePanel = new javax.swing.JPanel();
okButton = new javax.swing.JButton();
setTitle("Alert");
setResizable(false);
alertText.setText(getNotificationText());
alertText.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
getContentPane().add(alertText, java.awt.BorderLayout.CENTER);
okButton.setText("OK");
okButton.addActionListener(new java.awt.event.ActionListener()
{
public void actionPerformed(java.awt.event.ActionEvent evt)
{
okButtonActionPerformed(evt);
}
});
stylePanel.add(okButton);
getContentPane().add(stylePanel, java.awt.BorderLayout.SOUTH);