|
-
April 19th, 2007, 03:59 PM
#1
checkboxes and netbeans
Hi! It's been awhile since I've been here. I'm moving on to using java as well as visual basic and I'm having MANY troubles!! 
Code:
private void chkShowActionPerformed(java.awt.event.ActionEvent evt) {
lblShowText.setVisible(false);
}
When I run this I can uncheck the box and the label will disappear. This is good... however; I want it to come back when the checkbox IS checked. I'm used to a little "if" statement and I can't figure out how to ask: "If it is checked, show label, if not, don't show label"
Thanks!!!
PS: I'm using Ivor Horton's Java book as a reference, but it's not as helpful with Netbeans... any other reference text suggestions?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|