🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #8340

how to enable html <FORM> tag events in JEditorPane?

#8340
From: Larry Grigely
Date: Fri, 22 Sep 2000 00:00
18 lines
1219 bytes
I'm writing swing client with an embedded html browser, implemented with a
JEditorPane.

** question:  **
How do i enable a button click event from an HTML <FORM....> tag when its
embedded in a JEditorPane?

JEditorPane fires off HyperlinkEvents for <HREF="some url"> and the
<FORM...> fields display ok.  But i can't find a way to receive notification
from the <FORM...> button.  its NOT captured by a HyperLinkListener

Java doc's for 1.2.2 seem to be missing anything about this.  including
JEditorPane, EditorKit and ViewFactory.

thanks,

larry grigely
larryg@snet.net
Technical Details
Message-ID: <xFFy5.26056$KI6.3833353@typhoon.snet.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,235b4a43ec1e67a8,start
X-Google-Attributes: gid111d45,public
From: "Larry Grigely" <larryg@snet.net>
Subject: how to enable html <FORM> tag events in JEditorPane?
Date: 2000/09/22
Message-ID: <xFFy5.26056$KI6.3833353@typhoon.snet.net>
X-Deja-AN: 672791185
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
X-Complaints-To: abuse@snet.net
X-Trace: typhoon.snet.net 969615069 204.60.10.220 (Fri, 22 Sep 2000 05:31:09 EDT)
Organization: SNET Internet
NNTP-Posting-Date: Fri, 22 Sep 2000 05:31:09 EDT
Newsgroups: borland.public.jbuilder.java.swing