This week's book giveaway is in the Agile forum.
We're giving away four copies of Head First Agile and have Andrew Stellman & Jennifer Greene on-line!
See this thread for details.
Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

refresh problem  RSS feed

narasimharao konjeti
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, I have been add a scrollpane, which contain table to the frame. and i am adding and delating scroll pane, as per the results of the table. but table is not refreshing. The actual problem is, when i am displaying table it is displaying content, and by the moment i click on scroll pane, it is displaying old table,
here is the code that i am using for each every results of the table..

buildTable=new BuildTable(riderdata,ridercolumn);
TableSorter sorter = new TableSorter(buildTable);
table = new JTable(sorter);
table.getTableHeader().setBackground(new Color(236,233,216));
scrpan = new JScrollPane(table);
scrpan.getViewport().setBackground(new Color(236,233,216));
what might be the problem. please get back to me immediately.
thanking you
nr konjeti
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!