I am trying to create a frame for customers where they can view the product Table which I already created in derby (that is the DB in netbeans).Is there a way of opening the table product in the customer Frame so that the customer can view the details and also make sections too?
If there is no way can u please suggest any ideas to tackle this ?
By the click of the search product I want to display
If you just want to bind a table in the database to a JTable in a JFrame designed with the gui builder, netbeans does provide a shortcut for this:
To get the data the user selected your code would call something like this:
jTable1.getModel().getValueAt(jTable1.getSelectedRow(), columnYouWant);
where columnYouWant is an integer index to the column of interest.