aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes how to add scrollpane for a jframe? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "how to add scrollpane for a jframe?" Watch "how to add scrollpane for a jframe?" New topic
Author

how to add scrollpane for a jframe?

mohan rajv
Ranch Hand

Joined: Jan 28, 2009
Posts: 30
how to add scrollpane for a jframe?
i tried to add for a panel.it is working fine.
i tried the same thing with a jframe object insted of panel object.
it is not working.:-(
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39885
    
  28
Can't see why not. Please give some more details and show us which code you can't get to work and what sort of error you are experiencing.
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
> how to add scrollpane for a jframe?

you add the scrollpane to the frame, not the frame to the scrollpane (will work OK adding a panel to a scrollpane)
 
 
subject: how to add scrollpane for a jframe?