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();
m_BookScrollPane= new JScrollPane (c,JScrollPane.VERTICAL_SCROLLBAR_ALWAYS ,JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS);