if (brkButton == null) {
brkButton = new JButton();
brkButton.setIcon(new ImageIcon(WebSocketPanel.class.getResource("/resource/icon/16/break_add.png")));
brkButton.setToolTipText(Constant.messages.getString("websocket.filter.button.break_add"));
final WebSocketBreakpointsUiManagerInterface brkManager = this.brkManager;
brkButton.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
brkManager.handleAddBreakpoint(new WebSocketMessageDTO());
}
});
}
return brkButton;
}