• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to add scrollpane for a jframe?

 
mohan rajv
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to add scrollpane for a jframe?
i tried to add for a panel.it is working fine.
i tried the same thing with a jframe object insted of panel object.
it is not working.:-(
 
Campbell Ritchie
Sheriff
Posts: 48386
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can't see why not. Please give some more details and show us which code you can't get to work and what sort of error you are experiencing.
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
> how to add scrollpane for a jframe?

you add the scrollpane to the frame, not the frame to the scrollpane (will work OK adding a panel to a scrollpane)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic