Win a copy of Penetration Testing Basics this week in the Security forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jtable repainting problem!!

wip siva
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am displaying live data on jtable.i am using addRow(Vector)
method.i used table.updateUI(),table.validate(),fireTableDataChanged() and etc. but still i am getting the
follwing exception.
plz can any one tell me the solution.
thanx in advance

Exception occurred during event dispatching:
at javax.swing.plaf.basic.BasicTableUI.paintCell(, Comp
iled Code)
at javax.swing.plaf.basic.BasicTableUI.paintRow(, Compi
led Code)
at javax.swing.plaf.basic.BasicTableUI.paint(, Compiled
at javax.swing.plaf.ComponentUI.update(, Compiled Code)
at javax.swing.JComponent.paintComponent(, Compiled Code)
at javax.swing.JComponent.paint(, Compiled Code)
at javax.swing.JComponent.paintChildren(, Compiled Code)
at javax.swing.JComponent.paint(, Compiled Code)
at javax.swing.JViewport.paintViaBackingStore(, Compiled C
at javax.swing.JViewport.paint(, Compiled Code)
at javax.swing.JComponent.paintWithBuffer(, Compiled Code
at javax.swing.JComponent._paintImmediately(, Compiled Co
at javax.swing.JComponent.paintImmediately(, Compiled Cod
at javax.swing.RepaintManager.paintDirtyRegions(, Com
piled Code)
at javax.swing.SystemEventQueueUtilities$, Compiled Code)
at javax.swing.SystemEventQueueUtilities.processRunnableEvent(SystemEven, Compiled Code)
at javax.swing.SystemEventQueueUtilities$RunnableTarget.processEvent(Sys, Compiled Code)
at java.awt.Component.dispatchEventImpl(, Compiled Code)
at java.awt.Component.dispatchEvent(, Compiled Code)
at java.awt.EventQueue.dispatchEvent(, Compiled Code)
at java.awt.EventDispatchThread.pumpOneEvent(, C
ompiled Code)
at java.awt.EventDispatchThread.pumpEvents(
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic