I am very new to this this. But want to resolve this java swing problem asap.
I have two jframes in two classes. First one is customer and second frame is Sales form. I want to fill some textfields in the sales class from the customer jtable(that in the customer class).
Once the getCustomerDetails jbutton click in sales class, customer class should visible with customer jtable. And selected row data in customer table should come to the sales form and update sales class text fields.
Both sales and Customer classes extends jframe. And im using beans binding to get the selected row from the jtable. I know that i have to use mouseListner event to perform this, But do not know to use this for this.
Please let me know how can I perform this. Im using netbeans IDE to generate the GUI.
In the customerTable is selected index property use to get the correct index of customerList (ArrayList)
Hope community feedback soon. Here I have illustrated sales class, Customer class and pojo class sample coding with this.
Here pojo class is CustomerPOJO.
Joined: Jul 23, 2011
Please assume that i have filled sales jtable from database, and its having data.