This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Applets and the fly likes how to change JScrollPane size? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Applets
Bookmark "how to change JScrollPane size?" Watch "how to change JScrollPane size?" New topic
Author

how to change JScrollPane size?

Oren Gross
Greenhorn

Joined: Oct 27, 2004
Posts: 12
Hi there
I have an applet, in this applet I want a JScrollPane to view a JPanel.
in my applet I do:

The thing is that through time, the JPanel changes it size, and I want the jscroll to act accordingly, but it doesn't. What do I do?
Oren
Oren Gross
Greenhorn

Joined: Oct 27, 2004
Posts: 12
foubd the solution in http://java.sun.com/docs/books/tutorial/uiswing/components/scrollpane.html#sizing
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: how to change JScrollPane size?
 
jQuery in Action, 3rd edition