سؤال

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?

هل كانت مفيدة؟

المحلول

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.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top