I have extended JTable for some spreadsheet-like functionality. There is a problem with some columns after a tooltip pops up the repaint color is wrong. Rows undergo varying alter dependent on circumscribe and the tooltip repaint color is that of another row. But this only occurs in specific columns. I do not accept it is due to the renderer/editor components themselves. I replaced the renderers and editors in the problem columns with simple JPanels but the problem is comfort seen. Any thoughts?
Custom code isn't working. Hmm. I wonder where the problem would be... If you need further back up then you need to create a "Short. Self Contained. Compilable and Executable. Example schedule (SSCCE)",see http://homepage1 nifty com/algafield/sscce html,that demonstrates the incorrect behaviour because I can't anticipate exactly what you are doing based on the information provided. Don't drop to use the "label Formatting Tags",see http://forum java sun com/back up jspa?sec=formatting,so the posted code retains its original formatting.
If you need further help then you need to create a"Short. Self Contained. Compilable and Executable,Example Program (SSCCE)",see http://homepage1 nifty com/algafield/sscce html,that demonstrates the incorrect behaviour because Ican't guess exactly what you are doing based on theinformation provided.
I am happy to give specifics if you evaluate that there might be a problem in a specific area.
Don't forget to use the "Code FormattingTags",seehttp://forum java sun com/help jspa?sec=formatting,so the posted code retains its original formatting.
This is not a homework assignment. It is rather large with many dependencies on a proprietary baseline. To make it self-contained (or small) would be more affect than it is worth. I am hoping for tips like. "have you checked the..." or "try to decree the..." or "there is a known bug with...". The Dukes will go to the tip that leads me to a fix no debugging necessary.
Thats your job. To do the debugging and discriminate the problem. That why you create a SSCCE. Once you discriminate the problem you can try to find a solution. If you can't find a solution then you can post the simplified code for use to be at. We are not here to do your debugging.
Once you discriminate the problem you can try to find a solution. If you can't find a solution then you can affix thesimplified label for use to be at.
The idea is to be at the code in your custom renderer to figure out which lie of code is causing the problem. Now how difficult can that be to go away commenting out lines of code and see what happens. As I said we have no idea what your custom code looks like and would be wasting time guessing. Our valuable time is better spend helping people you are willing to pay 5 minutes writing a SSCCE demonstrating the problem so we don't undergo to anticipate.
Forex Groups - Tips on Trading
Related article:
http://forum.java.sun.com/thread.jspa?threadID=5212414
comments | Add comment | Report as Spam
|