Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Scrolling HTML in a JEditorPane


  • From: osito@xxxxxxxxxxx (Jose Gengler)
  • Subject: Scrolling HTML in a JEditorPane
  • Date: Sat, 30 Oct 1999 13:04:39 -0400

Hi!

I have a JEditorPane that has been added to a JWindow, The JEditorPane has 
a HTML page that displays fine (except the <BODY BGCOLOR="#FFFFFF" 
BACKGROUND="santafe.gif"> is ignored fore some reason I can't tell). Now I 
want to scroll the HTML page with a JScrollBar or with an action listener that 
reacts to the position of the mouse on the page. I don't know how to do it. I 
have already tried setAutoscrolls(true)on the JEditorPane, which I imagined to 
be an automated procedure of Java to add scrollbars, but nothing happened. 
How can I program the scrolling of the HTML page?

Any help very much appreciated.

Thanks in advance,


Jose Gengler
osito@xxxxxxxxxxx
jgengler@xxxxxxxxx

---
To unsubscribe, mail advanced-java-unsubscribe@xxxxxxxxxxxxxxxx
To get help, mail advanced-java-help@xxxxxxxxxxxxxxxx