java - Adding extra unvisible information to each cell in the JTable -


i have jtable in gui. in our system, there various registrar. if registrar adds data, data added cell in jtable.

if add data table, lost registrar information, important further operations.

what try need add information (who registered data) each cell in jtable information should not seen in table.

briefly. if cell selected, should access registrar information.

i not know whether possible implement , suggestions appreciated.

one appproach display details in tooltip. article how use tables: specifying tool tips cells includes complete example shows how change tooltip text each cell. keep registrar information in tablemodel , in tablecellrenderer via table parameter seen gettablecellrenderercomponent(). alternatively, display in tablepopupeditor, seen here.


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -