File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to add scrollpane for a jframe?

 
mohan rajv
Ranch Hand
Posts: 30
  • 0
  • 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
Pie
Posts: 47262
52
  • 0
  • 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
  • 0
  • 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)
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic