Meaningless Drivel is fun!*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes online help (again a swing problem) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "online help (again a swing problem)" Watch "online help (again a swing problem)" New topic
Author

online help (again a swing problem)

Siddharth Mehrotra
Ranch Hand

Joined: Aug 21, 2001
Posts: 185
hi guys..
on my GUI iam providing a help to the user as to how to operate the application.
i'am using a JEditorpane and adding this pane to a JSrollPane. now the problem is that as soon as tghe help window is popped up the scrollpane shows the last line of the help file and we have to scrollup to get to the start.
I dont know why this is happenening
any help on this


SCJP, SCJD.
Sai Prasad
Ranch Hand

Joined: Feb 25, 2002
Posts: 560
I am using the same type design with JDialog. Are you using JFrame to contain the JScrollPane?
Siddharth Mehrotra
Ranch Hand

Joined: Aug 21, 2001
Posts: 185
Originally posted by Sai Prasad:
I am using the same type design with JDialog. Are you using JFrame to contain the JScrollPane?

hi Sai yes i'am using JFrame.
I'll try with JDialog, lets see if that makes a difference.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: online help (again a swing problem)