I want to acomplish something that seemed very simple to me -- selecting
rows and chaning row selections in the JTable based on certain logic real
time.
I want to continuously change row selections and want it to be visible to
the user dynamically, as it happens.
However, the code below does not seem to work. If I execute the code before
I add the JTable component, it works.
while(true)
{
int selection = getRowSelection(); // some busines logic here
listTable.setRowSelectionInterval(selection , selection );
listTable.revalidate();
}
Any ideas on what I can do here?
Thanks.
> -Lenny
_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing