Re: How do I use events with Netbeans?
- From: IchBin <weconsul@xxxxxxx>
- Date: Sat, 17 Jun 2006 12:21:52 -0400
Scirious wrote:
Well, I want to use an event to change the proprerties and it seems that I'm not refrencing the objects correctly. Could you give me an example?Sorry I did not get back sooner. Netbeans was having a problem with the web package. Steps to set the text in the GUI builder for a component:
TIA,
Scirious.
Ok..
1 - Select new Panel form. Save it.
2 - Select a JTextField from the Swing Palette and drag to new panel form.
3 - Select the new JTextField on your new panel. You can now do one of two things with the same result:
A - right<click> on the JTextField and then select properties. Then locate the Text property. You add you String data there on the right of the Text label.
B - On the right side JTextField properties panel find Text property. You add you String data there on the right of the Text label.
Just noticed in you message header you are asking about the changing events with Netbeans.
To do that you do the same as above to get to the object property list. This time select 'Events' and not 'Property'. Find the event you want to add code to and you are good to go...
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
- Re: How do I use events with Netbeans?
- From: IchBin
- Re: How do I use events with Netbeans?
- From: Scirious
- How do I use events with Netbeans?
- Prev by Date: Best practice to manage file paths on multiple platforms?
- Next by Date: Re: How do I use events with Netbeans?
- Previous by thread: Re: How do I use events with Netbeans?
- Next by thread: Re: How do I use events with Netbeans?
- Index(es):