• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JScrollpane problem

 
Kay Tracid
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a problem with the scrolling and a flowlayout. If i reduce the size of my frame the jscrollpane doesnt scroll...? can you help please.

Thanks!!!
[ March 05, 2003: Message edited by: Nathan Pruett ]
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think the problem is that FlowLayout always honors the preferred size of it's components, so it will never resize the scroll pane below it's preferred size.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic