• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Rob Spoor
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Holloway
  • Piet Souris
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Frits Walraven
  • Himai Minh

Jtable repainting problem!!

Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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(BasicTableUI.java, Comp
iled Code)
at javax.swing.plaf.basic.BasicTableUI.paintRow(BasicTableUI.java, Compi
led Code)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java, Compiled
at javax.swing.plaf.ComponentUI.update(ComponentUI.java, Compiled Code)
at javax.swing.JComponent.paintComponent(JComponent.java, Compiled Code)
at javax.swing.JComponent.paint(JComponent.java, Compiled Code)
at javax.swing.JComponent.paintChildren(JComponent.java, Compiled Code)
at javax.swing.JComponent.paint(JComponent.java, Compiled Code)
at javax.swing.JViewport.paintViaBackingStore(JViewport.java, Compiled C
at javax.swing.JViewport.paint(JViewport.java, Compiled Code)
at javax.swing.JComponent.paintWithBuffer(JComponent.java, Compiled Code
at javax.swing.JComponent._paintImmediately(JComponent.java, Compiled Co
at javax.swing.JComponent.paintImmediately(JComponent.java, Compiled Cod
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java, Com
piled Code)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(System
EventQueueUtilities.java, Compiled Code)
at javax.swing.SystemEventQueueUtilities.processRunnableEvent(SystemEven
tQueueUtilities.java, Compiled Code)
at javax.swing.SystemEventQueueUtilities$RunnableTarget.processEvent(Sys
temEventQueueUtilities.java, Compiled Code)
at java.awt.Component.dispatchEventImpl(Component.java, Compiled Code)
at java.awt.Component.dispatchEvent(Component.java, Compiled Code)
at java.awt.EventQueue.dispatchEvent(EventQueue.java, Compiled Code)
at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java, C
ompiled Code)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:92)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:83)
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic