How can I go to the first line of a JEditorPane programmatically?
From: Ahmet Aksoy (ahmetax_at_gmail.com)
Date: 03/25/05
- Next message: Boudewijn Dijkstra: "Re: Corrupted or distorted rendering of gif and jpg"
- Previous message: Daniel Santos: "Re: Border layout and Jlist"
- Next in thread: SPG: "Re: How can I go to the first line of a JEditorPane programmatically?"
- Reply: SPG: "Re: How can I go to the first line of a JEditorPane programmatically?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 25 Mar 2005 02:27:24 -0800
Hi,
I have a JEditorPane.
It is filled up with appended lines programmatically.
When the total number of lines gets larger, the pane
starts scrolling, and it remains at the very last line.
But, I want the pane to show the first line.
So, how can I go to the first line using a method?
TIA
Ahmet Aksoy
- Next message: Boudewijn Dijkstra: "Re: Corrupted or distorted rendering of gif and jpg"
- Previous message: Daniel Santos: "Re: Border layout and Jlist"
- Next in thread: SPG: "Re: How can I go to the first line of a JEditorPane programmatically?"
- Reply: SPG: "Re: How can I go to the first line of a JEditorPane programmatically?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]