How to link a button to a form in java?
<p>I am trying to load a form when clicking a button.</p>

<pre><code> private void btnAddRecordMouseClicked(java.awt.event.MouseEvent evt) {
    // TODO add your handling code here:
}
</code></pre>

<p>This is my method.
The form name is Admin.java.</p>

<p>Any ideas?
Thanks</p>
