I write a component which do drawing work itself ,then i put it in a scrollpane, and the scroll bars do appear when needed. But i think the scrollpane size (100* 100) is too small, so i set the scroll pane's size to 200*200, now the scrollbars never appear! what can i do? i want do more than just curse AWT!
posted 15 years ago
I'm sorry, I have found the source of error. The error is not ScrollPane's but mine. Sorry again!