Re: How do I use events with Netbeans?



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?

TIA,
Scirious.
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:

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-)
.