void () { boolean enabled = !getSelectedSuspendPolicy().equals( ((XBreakpointManagerImpl)myBreakpointManager).getBreakpointDefaults(myBreakpointType).getSuspendPolicy()); ((CardLayout)myMakeDefaultPanel.getLayout()).show(myMakeDefaultPanel, enabled ? "Show" : "Hide"); myMakeDefaultButton.setVisible(enabled); myMakeDefaultButton.setEnabled(enabled); }