Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JFrame windowOpened Event

843806Oct 15 2007 — edited Oct 15 2007
When I place code inside this event, it will correctly execute when debugging in NetBeans. However, when I compile and run the JAR, it won't execute the code in this event. Am I missing something? The code is just a simple Button Grouping and setting one the of the JLabels to invisible.
private void formWindowOpened(java.awt.event.WindowEvent evt) {
    ButtonGroup oButtonGroup = new ButtonGroup();
    oButtonGroup.add(rbXML);
    oButtonGroup.add(rbProp);

    lbStatus.setVisible(false)
}
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 12 2007
Added on Oct 15 2007
1 comment
293 views