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)

X-Received by 10.58.199.170 with SMTP id jl10mr751317vec.1.1398822388577; Tue, 29 Apr 2014 18:46:28 -0700 (PDT)
X-Received by 10.182.60.161 with SMTP id i1mr1052obr.40.1398822388366; Tue, 29 Apr 2014 18:46:28 -0700 (PDT)
Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!ih12no1032869qab.1!news-out.google.com!en3ni366igc.0!nntp.google.com!uq10no539263igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.java.gui
Date Tue, 29 Apr 2014 18:46:27 -0700 (PDT)
In-Reply-To <797m4r$n80$1@nnrp1.dejanews.com>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=130.215.122.228; posting-account=szjArwoAAACFRxvO5fSXxZVey9NUXN_f
NNTP-Posting-Host 130.215.122.228
References <797m4r$n80$1@nnrp1.dejanews.com>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <ad1dd0d2-2270-47bf-96e8-227e614edccb@googlegroups.com> (permalink)
Subject Re: JEditorPane - relative positioning using URL anchors( references)
From wethern.drew@gmail.com
Injection-Date Wed, 30 Apr 2014 01:46:28 +0000
Content-Type text/plain; charset=ISO-8859-1
X-Received-Bytes 2003
X-Received-Body-CRC 3347597606
Xref csiph.com comp.lang.java.gui:5425

Show key headers only | 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