Article View: borland.public.jbuilder.java.swing
Article #9928Event handling for NEXT, CANCEL buttons
From: togians
Date: Mon, 13 Dec 1999 00:00
Date: Mon, 13 Dec 1999 00:00
25 lines
1613 bytes
1613 bytes
I am writing a gui installer. I have a generic looking panel that will
always have: Logo, NEXT & CANCEL buttons at the bottom, and the varying
panel depending on what information I have to obtain a panel with: a)
FileChooser b)RadioButtons or c)TextFields.
I need to be able to determine what to do at each step of the
installation once NEXT is pushed. So if my first panel has a
FileChooser to get "Target Installation", I want to save the selected
file into some variable to retrieve later when the NEXT button is
pushed.
So my question is:
1) How do I display the next dialog once the NEXT button is pushed?
2) Do I have to write a eventhandler for each particular situation?
-I want either get the directory chosen, the choice made from the
radio buttons, or the values for each of the textfields.
Can someone point me in the way of an example? Any help would be
greatly appreciated. Thank you.
Sent via Deja.com http://www.deja.com/
Before you buy.
Technical Details
Message-ID:
<831it9$879$1@nnrp1.deja.com>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,557686d44454df05,start X-Google-Attributes: gid111d45,public From: togians@my-deja.com Subject: Event handling for NEXT, CANCEL buttons Date: 1999/12/13 Message-ID: <831it9$879$1@nnrp1.deja.com> X-Deja-AN: 559887860 X-Http-Proxy: 1.1 x26.deja.com:80 (Squid/1.1.22) for client 209.24.252.97 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Mon Dec 13 01:42:01 1999 GMT X-MyDeja-Info: XMYDJUIDtogians Newsgroups: borland.public.jbuilder.java.swing X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows NT; DigExt)