Re: How do I use events with Netbeans?
- From: IchBin <weconsul@xxxxxxx>
- Date: Fri, 16 Jun 2006 19:13:31 -0400
Scirious wrote:
Ok, here it goes... Since Netbeans declares all GUI inside a private method I cant access them directly. So, on a button click, how can I do something like jTextField1.setText("Hello!");?
TIA,
Scirious.
If you just want to initialize then select on the object in your GUI panel. Then you have to select the properties, of that object, on the right side of the screen. You can add data there. I think the field is 'value'. You can still reference the Object outside of the "do not Modify" code. Just reference it correctly.
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA http://weconsultants.servebeer.com/JHackerAppManager
__________________________________________________________________________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
.
- Follow-Ups:
- Re: How do I use events with Netbeans?
- From: Scirious
- Re: How do I use events with Netbeans?
- References:
- How do I use events with Netbeans?
- From: Scirious
- How do I use events with Netbeans?
- Prev by Date: How do I use events with Netbeans?
- Next by Date: Re: How do I use events with Netbeans?
- Previous by thread: How do I use events with Netbeans?
- Next by thread: Re: How do I use events with Netbeans?
- Index(es):