• Post Reply Bookmark Topic Watch Topic
  • New Topic

how can I repaint the JScrollPane?

 
Samuel Chan
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
After change the value of the table in the JScrollPane, I want to repaint it, but repaint() is no effect in the case.
 
T Pelly
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm having the same problem too :-(
Someone please help...
 
mohana konakanchi
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are using some TableModel for data in JTable
use fireTableRowsInserted() method to update data and do repaint automatically.
Mohana
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!