JTextPane's does not repaint JScrollpane's verical scrollbar
Hello I have an JTextPane in JScrollPane with vertical scrollar.
When i am moving the frame the vertocal scrollbar of the JScrollPane does not repaint always.
I added mouse listener to repaint the scrollpane on mouse events, this was a little improvement, but still sometimes the scrollpane does not repaint during dragging of the frame.
I am using JDK 1.6
Could you give me any suggestion?
Best regards,
Chavdar
# 1
Never had a problem like this, but I don't use JDK6. Post your demo code so people can test to see if its a JDK bug or a programming bug.
If you need further help then you need to create a [url http://homepage1.nifty.com/algafield/sscce.html]Short, Self Contained, Compilable and Executable, Example Program[/url] (SSCCE) that demonstrates the incorrect behaviour, because I can't guess exactly what you are doing based on the information provided.
Don't forget to use the [url http://forum.java.sun.com/help.jspa?sec=formatting]Code Formatting Tags[/url] so the posted code retains its original formatting.