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 jpanel with null layout manager.

 
Lalchand omprakash
Greenhorn
Posts: 12
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I include a JPanel with a null layout in a JScrollPane, and it doesn't display the scrollbars. Why?

but its working with layout manager

 
pete stein
Bartender
Posts: 1561
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
cross-post: http://forums.sun.com/thread.jspa?threadID=5448367&tstart=0

Lalchand, you've been warned in other fora about cross-posting without notification, and this basic forum etiquette is no different here. Please read this link to see why this is important to the volunteers here and at other fora: BeForthrightWhenCrossPostingToOtherSites

 
Rob Spoor
Sheriff
Pie
Posts: 20393
46
Chrome Eclipse IDE Java Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hint: what's the preferred size of the panel with null layout manager? And why does it have this size?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic