Kumar SKG

Greenhorn
+ Follow
since Apr 03, 2006
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Kumar SKG

Dear All,
I am facing Screen blink issue while using the JTable.

JTable is updated in real Time, It uses custom table model.

To update the JTable, I update the Table Model and then call the UpdateUI() and repaint(). These update process is running in non-AWTevent-dispatch thread. So, During the real Time Update of the Table, When we do some rough handling work on the Table( for example, press the Enter Key on the Table for 1-2 minutes, move the Scroll Bar up and down fastly etc), It throws the following exception and the Table starts blinking.

java.lang.NullPointerException
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:1141)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:1051)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:974)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:142)
at javax.swing.JComponent.paintComponent(JComponent.java:541)
at javax.swing.JComponent.paint(JComponent.java:808)
...
...
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

The blinking also moves to Other Components such as JTree which is doing real time update in another screen of the Same Application.

How to resolve this Screen Blinking Phenemenon ? Some suggested to use SwingUtilities.invokeLater() for UpdateUI(). But, I am concerned about the performance, using it in real time update as it may create many threads, it may cause other performance issues. Is other any other better solution ?

Looking forward to your comments !

Thanks !
15 years ago

Originally posted by Bhoooooo Yyempeti:
You cannot live in london.



Which place is suitable for java developers ? Sorry for asking too many questions.
15 years ago

Originally posted by Bhoooooo Yyempeti:
You cannot live in london.



Is it because London expensive city ?
15 years ago

Originally posted by Bhoooooo Yyempeti:
You cannot live in london.



Then which place do you suggest ? Where shall i live if i come there ?
15 years ago
How long it will take process H1 B ?

Do you know any other consultants ?

Thanks,
15 years ago
Dear Friends,
I am in interested to work in UK. I have got 5+ years of experience, I want to come there through HSMP. I am planning to apply for HSMP in Next week.

I want to know how is the Job opportunities there in UK for Java developers ? How many months it will take to find a job ? I have 3 years of Work expeience in China, presently based in China. Will that count ? What would be the total cost to stay in UK(for example in London) for 1 month?

Your Suggestions are welcome. Your personal email id for further queries would be greatly appreciated.

Thanks,
Kumar_SK
15 years ago