File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

online help (again a swing problem)

 
Siddharth Mehrotra
Ranch Hand
Posts: 185
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Sai Prasad
Ranch Hand
Posts: 560
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using the same type design with JDialog. Are you using JFrame to contain the JScrollPane?
 
Siddharth Mehrotra
Ranch Hand
Posts: 185
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic