From: Mark R. <blo...@ho...> - 2001-10-04 09:03:52
|
Can anyone suggest a solution to the following problem? I have a JScrollPane which contains a JComponent for the main window and also 2 JComponents for the row and column headers respectively. When it first draws, if I scroll down near the bottom the rowHeader starts to draw gibberish. However, if I then resize the frame from that point on the rowHeader will draw correctly. I am not really sure what is going on so I don't know what if any code would be relevant to show you. I have tried adding a call to revalidate the scrollpane, the rowheader, the JComponent itself. I have tried adding a call to repaint the JComponent. If anyone has come across a similar problem or has a better understand of how these things work I really appreciate any help. I guess the question I need to ask is what gets called when I manually scroll down and then resize that I can hard code in to the program TIA Blobby _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp |