Added JPanel to JScrolledPane, won't scroll



Hi,

I added components to a JPanel, then added the JPanel to the
JScrolledPane, but the JScrolledPane won't scroll. Only arrows appear
on the side of the JPanel. Anyone know what I'm doing wrong?

Thank you,

Gil

.



Relevant Pages

  • Re: Added JPanel to JScrolledPane, wont scroll
    ... > I added components to a JPanel, then added the JPanel to the ... > JScrolledPane, ... ScrollPane which is controlled by the scrolling action is the viewport. ...
    (comp.lang.java.gui)
  • Re: Added JPanel to JScrolledPane, wont scroll
    ... > I added components to a JPanel, then added the JPanel to the ... > JScrolledPane, ... Prev by Date: ...
    (comp.lang.java.gui)
  • Scrolling an image
    ... updating pixel-sized custom components on a JPanel from the top of the ... When the updates get to the bottom, ... able to scroll the image that has been created by the updates upwards ...
    (comp.lang.java.programmer)
  • JPanel and JScrollPane
    ... When the JPanel size is bigger than the JScrollPane size than you can scroll the JPanel. ... Thx. ...
    (comp.lang.java.gui)