Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #5425

Re: JEditorPane - relative positioning using URL anchors( references)

Newsgroups comp.lang.java.gui
Date 2014-04-29 18:46 -0700
References <797m4r$n80$1@nnrp1.dejanews.com>
Message-ID <ad1dd0d2-2270-47bf-96e8-227e614edccb@googlegroups.com> (permalink)
Subject Re: JEditorPane - relative positioning using URL anchors( references)
From wethern.drew@gmail.com

Show all headers | View raw


On Tuesday, February 2, 1999 3:00:00 AM UTC-5, Latha Srinivasan wrote:
> Hi,
> 
> I have a JEditorPane that I use to display HTML text. If I want to link  to a
> a relative reference (within the same page) using the format
> "MyDocument.html#offset", the text is not positioned at the correct position
> in the HTML file where the anchor is defined:
> 
> <a name ="offset"> My text starts here.. </A>.  This happens to any file with
> internal links/anchors. It simply reloads the document beginning at the top of
> the page.
> 
> I am using Swing-1.0.2 with JDK 1.1.7 on Solaris 2.5. Has anyone else
> encountered this problem?
> 
> Any suggestions/work-arounds/fixes will be greatly appreciated.
> 
> Thanks in advance.
> Latha
> 
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own

Back to comp.lang.java.gui | Previous | NextNext in thread | Find similar


Thread

Re: JEditorPane - relative positioning using URL anchors( references) wethern.drew@gmail.com - 2014-04-29 18:46 -0700
  Re: JEditorPane - relative positioning using URL anchors( references) Joerg Meier <joergmmeier@arcor.de> - 2014-04-30 11:23 +0200

csiph-web