Question

How to load row data by enter the first cell value, for example a watchList JTable and in the first column is the stock code thus when I enter F symbol I will got the detailed info related to the stock like name, last price, bid and Ask?

Était-ce utile?

La solution

You can add a TableModelListener to the TableModel. An event will be fired when data is changed in the model. If the data is changed in column 0, then you load the rest of the data for the row.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top