Good point :o . I just made the assumption based upon the OP's number of other posts with regards to a JEditorPane, but your right that would only work for a text component
Type: Posts; User: copeg
Good point :o . I just made the assumption based upon the OP's number of other posts with regards to a JEditorPane, but your right that would only work for a text component
By stay at the top what do you mean (this is where a short compilable example might demonstrate what you wish to accomplish). If scrollRectToVisible does not work, try calling either select(0,0) or...