Thread: Form Help Pls
View Single Post
  #4 (permalink)  
Old 05-25-2007, 02:05 PM
levent levent is offline
Senior Member
 
Join Date: Dec 2006
Posts: 748
levent is on a distinguished road
Quote:
I am using Netbeans 5.5.
Not very useful info

In this case, i guess you are using Netbeans form editor to design your forms and dont know how to pass data between your forms.

Swing forms are just classes in Java. The difference is that Netbeans protects some of the methods an prohibit changing them inside editor. (This is for protecting the two way automatic transformation between the class and the form designer)

I recommend you to click on your third class and add the name as a string parameter to the constructor of the class. But since netbeans will not allow you to change the constructor type from editor. You should click "Code" tab in the Properties view, select "Custom Creation Code" and call your modified constructor there.
Reply With Quote