• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to change JScrollPane size?

 
Oren Gross
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!