This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes JScrollPane Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JScrollPane" Watch "JScrollPane" New topic


ramesh kancherla
Ranch Hand

Joined: May 01, 2008
Posts: 124
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
> 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
It is sorta covered in the JavaRanch Style Guide.
subject: JScrollPane
Similar Threads
JScrollPane & JPanel dynamic changes
JTable problem
Rolling Scrollbar to JScrollPane's top
Repaint my swing app