This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how can I repaint the JScrollPane?  RSS feed

 
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!