File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes add ScrollBars To JScrollPane Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "add ScrollBars To JScrollPane" Watch "add ScrollBars To JScrollPane" New topic

add ScrollBars To JScrollPane

khushi jain

Joined: Jul 05, 2004
Posts: 3
hi ,
i am using JScrollPane, which is added to the JSplitPane .
and in the Constructoe of JScrollPane adding Component, i want scrollbars to the right hand side but it is not showing that. and each time the size of the JScorllPane gets reduced. coz of that i cant see the complete view of component.
so pls help me how to add scrollbars to display the complete component view.

following is a code---->

Component c = delegate.getRootComponent();


I agree. Here's the link:
subject: add ScrollBars To JScrollPane
It's not a secret anymore!