yesB.addActionListener(new ActionListener () {
public void actionPerformed(ActionEvent arg0) {
BrowserControl bc = BrowserControl.getBrowserControl();
try {
bc.displayURL(TreeViewApp.getAnnouncementUrl());
} catch (IOException e) {
JOptionPane.showMessageDialog(RegEditor.this, "Failed to upen url " + TreeViewApp.getAnnouncementUrl());
e.printStackTrace();
}
}