@@ -60,6 +60,7 @@ import org.utplsql.sqldev.resources.UtplsqlResources
6060import org.utplsql.sqldev.runner.UtplsqlRunner
6161import org.utplsql.sqldev.runner.UtplsqlWorksheetRunner
6262
63+ // TODO: fix missing checkmark on Windows with windows look and feel (just a blue box is shown instead of checkmark)
6364class RunnerPanel implements FocusListener , ActionListener {
6465 static val GREEN = new Color (0 , 153 , 0 )
6566 static val RED = new Color (153 , 0 , 0 )
@@ -631,16 +632,13 @@ class RunnerPanel implements FocusListener, ActionListener {
631632
632633 // Context menu for counters panel
633634 val countersPopupMenu = new JPopupMenu
634- showDisabledCounterCheckBoxMenuItem = new JCheckBoxMenuItem (UtplsqlResources . getString(" PREF_SHOW_DISABLED_COUNTER_LABEL" ). replace(" ?" ," " ))
635- showDisabledCounterCheckBoxMenuItem. selected = true
635+ showDisabledCounterCheckBoxMenuItem = new JCheckBoxMenuItem (UtplsqlResources . getString(" PREF_SHOW_DISABLED_COUNTER_LABEL" ). replace(" ?" ," " ), true )
636636 showDisabledCounterCheckBoxMenuItem. addActionListener(this )
637637 countersPopupMenu. add(showDisabledCounterCheckBoxMenuItem)
638- showWarningsCounterCheckBoxMenuItem = new JCheckBoxMenuItem (UtplsqlResources . getString(" PREF_SHOW_WARNINGS_COUNTER_LABEL" ). replace(" ?" ," " ))
639- showWarningsCounterCheckBoxMenuItem. selected = true
638+ showWarningsCounterCheckBoxMenuItem = new JCheckBoxMenuItem (UtplsqlResources . getString(" PREF_SHOW_WARNINGS_COUNTER_LABEL" ). replace(" ?" ," " ), true )
640639 showWarningsCounterCheckBoxMenuItem. addActionListener(this )
641640 countersPopupMenu. add(showWarningsCounterCheckBoxMenuItem)
642- showInfoCounterCheckBoxMenuItem = new JCheckBoxMenuItem (UtplsqlResources . getString(" PREF_SHOW_INFO_COUNTER_LABEL" ). replace(" ?" ," " ))
643- showInfoCounterCheckBoxMenuItem. selected = true
641+ showInfoCounterCheckBoxMenuItem = new JCheckBoxMenuItem (UtplsqlResources . getString(" PREF_SHOW_INFO_COUNTER_LABEL" ). replace(" ?" ," " ), true )
644642 showInfoCounterCheckBoxMenuItem. addActionListener(this )
645643 countersPopupMenu. add(showInfoCounterCheckBoxMenuItem)
646644 counterPanel. componentPopupMenu = countersPopupMenu
@@ -706,16 +704,13 @@ class RunnerPanel implements FocusListener, ActionListener {
706704 testOverviewRunWorksheetMenuItem. addActionListener(this )
707705 testOverviewPopupMenu. add(testOverviewRunWorksheetMenuItem)
708706 testOverviewPopupMenu. add(new JSeparator )
709- showWarningIndicatorCheckBoxMenuItem = new JCheckBoxMenuItem (UtplsqlResources . getString(" PREF_SHOW_WARNING_INDICATOR_LABEL" ). replace(" ?" ," " ))
710- showWarningIndicatorCheckBoxMenuItem. selected = true
707+ showWarningIndicatorCheckBoxMenuItem = new JCheckBoxMenuItem (UtplsqlResources . getString(" PREF_SHOW_WARNING_INDICATOR_LABEL" ). replace(" ?" ," " ), true )
711708 showWarningIndicatorCheckBoxMenuItem. addActionListener(this )
712709 testOverviewPopupMenu. add(showWarningIndicatorCheckBoxMenuItem)
713- showInfoIndicatorCheckBoxMenuItem = new JCheckBoxMenuItem (UtplsqlResources . getString(" PREF_SHOW_INFO_INDICATOR_LABEL" ). replace(" ?" ," " ))
714- showInfoIndicatorCheckBoxMenuItem. selected = true
710+ showInfoIndicatorCheckBoxMenuItem = new JCheckBoxMenuItem (UtplsqlResources . getString(" PREF_SHOW_INFO_INDICATOR_LABEL" ). replace(" ?" ," " ), true )
715711 showInfoIndicatorCheckBoxMenuItem. addActionListener(this )
716712 testOverviewPopupMenu. add(showInfoIndicatorCheckBoxMenuItem)
717- syncDetailTabCheckBoxMenuItem = new JCheckBoxMenuItem (UtplsqlResources . getString(" PREF_SYNC_DETAIL_TAB_LABEL" ). replace(" ?" ," " ))
718- syncDetailTabCheckBoxMenuItem. selected = true
713+ syncDetailTabCheckBoxMenuItem = new JCheckBoxMenuItem (UtplsqlResources . getString(" PREF_SYNC_DETAIL_TAB_LABEL" ). replace(" ?" ," " ), true )
719714 syncDetailTabCheckBoxMenuItem. addActionListener(this )
720715 testOverviewPopupMenu. add(syncDetailTabCheckBoxMenuItem)
721716 testOverviewTable. componentPopupMenu = testOverviewPopupMenu
0 commit comments