Article View: borland.public.jbuilder.java.swing
Article #8597setting an action listener on jeditorpane
From: Rene Zimmermann
Date: Thu, 10 Aug 2000 00:00
Date: Thu, 10 Aug 2000 00:00
14 lines
1310 bytes
1310 bytes
hi can anyone give me some advice for changing the actionlistener in the HTMLEditorKit? for example i like to have a specil action for an <input type=button> tag if the user clicks on the button of the submit action on a form to behave different. i do not know very well the swing components but i gess the input type button is rendered as an JButton and ther i have an addActionlistener() method. if it is like that how can i get the JButton componet from the document?
Technical Details
Message-ID:
<8mttlc$n6u$1@pollux.ip-plus.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,7a227ffa1ce191b6,start X-Google-Attributes: gid111d45,public X-Google-Thread: 10a146,7a227ffa1ce191b6,start X-Google-Attributes: gid10a146,public From: "Rene Zimmermann" <rene.zimmermann@4-media.com> Subject: setting an action listener on jeditorpane Date: 2000/08/10 Message-ID: <8mttlc$n6u$1@pollux.ip-plus.net> X-Deja-AN: 656692160 X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Complaints-To: news@ip-plus.net X-Trace: pollux.ip-plus.net 965900780 23774 193.193.146.126 (10 Aug 2000 09:46:20 GMT) Organization: Swisscom IP+ (post doesn't reflect views of Swisscom) X-MSMail-Priority: Normal NNTP-Posting-Date: 10 Aug 2000 09:46:20 GMT Newsgroups: borland.public.jbuilder.java.swing,comp.lang.java.programmer