How can I associate my model class with a full line in JTable to add a model number to the row number?
P >
OK, you will need to add a getRow (...) method to return the appropriate business item.
I have written a normal rottable model which does this, it is an abstract class, however, you can use the spread of the rotating model. Or the example shows you how to easily increase the Rottable Model by applying some methods.
Edit:
Add the following two lines at the end of the example:
frame.setVisible (true); Jebton first = Model.Getre (0); Println (first);
Comments
Post a Comment