hi!I am using Jbuilder2006. I have a simple Swing applet with a button and a label. I double-clicked on the button and added this code:
jLabel3.text = "Hello";
I have attempted to do this like a Delphi statement. I'm probley wrong!
this is the error I got: "myswing.java": text has private access in javax.swing.JLabel at line 91, column 9
My jLabel3 is declared as public by default(written by JBuilder) How do I make it private? or is there another way?
Thanks in Advance!
Paul
The Bad News: Time Flies
The Good News: You are the Pilot
jLabel3.text = "Hello";
I have attempted to do this like a Delphi statement. I'm probley wrong!
this is the error I got: "myswing.java": text has private access in javax.swing.JLabel at line 91, column 9
My jLabel3 is declared as public by default(written by JBuilder) How do I make it private? or is there another way?
Thanks in Advance!
Paul
The Bad News: Time Flies
The Good News: You are the Pilot