473,399 Members | 3,832 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

In JEditorPane how to go to the first line programmatically

Hi,
I have a JEditorPane. It is filled with some data read from somewhere.
While adding new lines, JEditorPane scrolls up.
At the end of the action, the last line is at the focus.
But, I want the first line to be visble.
How can I jump to the first line automatically?

Or, is it possible to stop the pane from scrolling while appending new lines?

TIA
Ahmet Aksoy
Jul 18 '05 #1
0 2396

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Jason | last post by:
Hi I have a "problem" i have got a ASP.NET application. in this application i have included logging. in the logging i have logged how many seconds it takes for this application to fully load....
2
by: Mike W | last post by:
I'm trying to programmatically run msinfo32.exe /? with the following line of code but it is not taking the switch: System.Diagnostics.Process.Start("c:\program files\common files\Microsoft...
3
by: arivazhaganit | last post by:
while using JEditorPane , I am able to access only file: protocal not http:// protocal , while opening http:// URL in editorpane ,it showing that java.net.ConnectException: Connection timed out:...
1
by: Bernie Hunt | last post by:
I have a JEditorPane that I'm filling with a webpage using JEditorPane.setPage(www.something.com) and it is working fine. My problem is I want to save the HTML from the page displayed into a...
3
by: aryan24 | last post by:
Hi everybod .. as part of my project , i need to call an xml file into an Jeditorpane. I have a button called Load ,when i click on it ,,i need to load the xml file into the JeditorPane...Can any1...
1
by: ksr04 | last post by:
Hello Everybody, can anyone tell how to make JEditorPane support CSS??? thanx in advance...
5
by: dunkymunky | last post by:
I've got a JEditorPane that is correctly displaying HTML hyperlinks, but all it does is display them, how can I make it so that when someone clicks on this hyperlink, it opens up their default web...
1
jhardman
by: jhardman | last post by:
I'm using a JEditorPane to display an HTML-formatted page. When I make changes to the page, I find I can't see the changes unless I compile a new java file and point to a new HTML file, as if the...
0
by: Arielle | last post by:
Mainly I'm looking for direction in regards to a requirement I've been given. In the basics I have a task list where the tasks are generated by a number of folks however instead of having to go...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.