File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
Joined: May 01, 2008
May 03, 2008 05:41:00
how can i add JScrollPane to JPanel i am adding components to Jpanel but all components are not showing in screen I have to move the screen for seeing all the components I have to add jscrollpane to jpanel can u please give me sample program for this
Joined: Jun 09, 2003
May 03, 2008 05:58:00
> i am adding components to Jpanel but all components are not showing in screen
generally indicates you have set the frame's visibility to true,
before adding the components to the frame.
> can you please give me sample program for this
much better for you to post your (errant) sample program
I agree. Here's the link:
Repaint my swing app
JScrollPane & JPanel dynamic changes
Rolling Scrollbar to JScrollPane's top
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015