vorl
03-06-2006, 03:49 AM
Hi
Could someone please help me. basically ive got a app which is like a address book. i have one class which is the main window with a jtable. i then have another class which is a window with fields. when i click the add button on the main window the other window appears. i then am able to add data to the fields of which when I press the update button it should add a row to the main windows jtable.
the only problem im having is to access the jtable in the main window (1st class) from the 2nd window (2nd class); could someone tell me how to do this?
Tell me if im not clear enough!!:)
Thanks
vorl
Could someone please help me. basically ive got a app which is like a address book. i have one class which is the main window with a jtable. i then have another class which is a window with fields. when i click the add button on the main window the other window appears. i then am able to add data to the fields of which when I press the update button it should add a row to the main windows jtable.
the only problem im having is to access the jtable in the main window (1st class) from the 2nd window (2nd class); could someone tell me how to do this?
Tell me if im not clear enough!!:)
Thanks
vorl