public CDebuggerEventSettingsPanel(final DebuggerEventSettings eventSettings){
  super(new BorderLayout());
  final JPanel innerPanel=new JPanel(new BorderLayout());
  final JPanel componentPanel=new JPanel(new GridLayout(2,2));
  m_breakOnDllLoadCheckbox=new JCheckBox("Break on module load");
  m_breakOnDllUnloadCheckbox=new JCheckBox("Break on module unload");
  m_breakOnDllLoadCheckbox.setSelected(eventSettings.getBreakOnDllLoad());
  m_breakOnDllUnloadCheckbox.setSelected(eventSettings.getBreakOnDllUnload());
  componentPanel.add(m_breakOnDllLoadCheckbox);
  componentPanel.add(m_breakOnDllUnloadCheckbox);
  innerPanel.add(new JScrollPane(componentPanel),BorderLayout.NORTH);
  add(innerPanel);
}

public CDebuggerEventSettingsPanel ( final DebuggerEventSettings eventSettings ) { super ( new BorderLayout ( ) ) ; final JPanel innerPanel = new JPanel ( new BorderLayout ( ) ) ; final JPanel componentPanel = new JPanel ( new GridLayout ( 2 , 2 ) ) ; m_breakOnDllLoadCheckbox = new JCheckBox ( "Break on module load" ) ; m_breakOnDllUnloadCheckbox = new JCheckBox ( "Break on module unload" ) ; m_breakOnDllLoadCheckbox . setSelected ( eventSettings . getBreakOnDllLoad ( ) ) ; m_breakOnDllUnloadCheckbox . setSelected ( eventSettings . getBreakOnDllUnload ( ) ) ; componentPanel . add ( m_breakOnDllLoadCheckbox ) ; componentPanel . add ( m_breakOnDllUnloadCheckbox ) ; innerPanel . add ( new JScrollPane ( componentPanel ) , BorderLayout . NORTH ) ; add ( innerPanel ) ; }
creates a new instance of the debugger events panel .
