Close
jGuru Forums
Posted By: Paul_Handley Posted On: Tuesday, January 31, 2006 09:03 PM
I am using Jbuilder2006. I have a simple 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
Re: using swing componets to have a JButton send text to a JLabel
Posted By: WarnerJan_Veldhuis Posted On: Wednesday, February 1, 2006 04:35 AM