Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

poor ScrollPane!  RSS feed

 
Li Shangqiang
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
Li Shangqiang
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm sorry, I have found the source of error. The error is not ScrollPane's but mine. Sorry again!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!