Pergunta

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?

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top