File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes My scrollbars are not displaying Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "My scrollbars are not displaying" Watch "My scrollbars are not displaying" New topic
Author

My scrollbars are not displaying

shalini gnana
Ranch Hand

Joined: Sep 18, 2007
Posts: 189
Why my scrollbars are not getting displayed..Where do i gone wrong?

Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39529
    
  27
"scroll" is null at the time you're adding it to the content pane. It needs to be initialized at that time (and you should definitely not do that in the ImagePanel class, but in the init method of the applet).


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: My scrollbars are not displaying
 
Similar Threads
AWT Background Problem
Messagebox with Mouseevent
looking for a graphical representation
Dispalying random dates
Popup menu not responding with mouse event