Netbeans 8.1 and Java - How to enable a checkbox after the main form is displayed
<p>First, I have only been into Java for couple of months.  Delphi before that, and before that, Clipper (showing my age!).</p>

<p>I want to enable a checkbox when my program starts.  I have tried the following in the <code>WindowActivated Event</code> in <strong>Netbeans</strong> but it does nothing.</p>

<pre><code>private void formWindowActivated(java.awt.event.WindowEvent evt){                                     
    cbMyCheckbox.setEnabled(true);
}
</code></pre>

<p>I know it is firing because I set a breakpoint on it and see that it is being executed.</p>