Thread View: borland.public.jbuilder.java.swing
3 messages
3 total messages
Started by rr
Tue, 17 Aug 2004 21:15
Launch a Window closing Event
Author: rr
Date: Tue, 17 Aug 2004 21:15
Date: Tue, 17 Aug 2004 21:15
24 lines
1598 bytes
1598 bytes
Hi everybody I'm a newbie at java. I program with Delphi. I would like to do a Frame Selection, to select e.g: Cars I have created a Class that extends Frame and implements ActionListener. What must I do to launch WindowClosing event when I have selected a row from my list. I have tried this_windowClosing(null); but the frame does not close. I would like to close using the window closing event Perhaps it would be better close the selection without using windowClosing, using the mouseClick event and call dispose,wouldn't it? Which is the better way to show a selection and retrieve the select value? Thank you in advance. Ricard -- Missatge escrit amb l'M2, el revolucionari gestor de correu de l'Opera: http://www.opera.com/m2/
Re: Launch a Window closing Event
Author: John McGrath [TeamB]
Date: Mon, 06 Sep 2004 09:10
Date: Mon, 06 Sep 2004 09:10
28 lines
1802 bytes
1802 bytes
On 8/17/2004 at 5:15:05 PM, rr wrote:
> I would like to do a Frame Selection, to select e.g: Cars
> I have created a Class that extends Frame and implements ActionListener.
> What must I do to launch WindowClosing event when I have selected a row
> from my list.
>
> I have tried
> this_windowClosing(null);
> but the frame does not close. I would like to close using the window
> closing event
>
> Perhaps it would be better close the selection without using
> windowClosing, using the mouseClick event and call dispose,wouldn't it?
The WindowListener interface is for notification - it lets you know that
some event has occurred, but you cannot use it to close the window.
To close the window, call dispose() on it.
--
Regards,
John McGrath [TeamB]
---------------------------------------------------
Before sending me e-mail, please read:
http://www.JPMcGrath.net/newsgroups/e-mail.html
Re: Launch a Window closing Event
Author: Da Swing Dude!
Date: Wed, 22 Sep 2004 12:53
Date: Wed, 22 Sep 2004 12:53
43 lines
2202 bytes
2202 bytes
-- --- http://www.youandmeswing.com/index.php?ref_id=130 Are you looking for other couples/singles in your area to hookup and have fun with? Why not try our singles/swingers pages. 100% FREE! NO BullShit / NO CREDIT CARDS http://68.82.95.138/public/swingers/index.htm "rr" <ricard_gb@hotmail.com> wrote in message news:opscwanfg7rudah6@newsgroups.borland.com... > Hi everybody > > I'm a newbie at java. I program with Delphi. > I would like to do a Frame Selection, to select e.g: Cars > I have created a Class that extends Frame and implements ActionListener. > What must I do to launch WindowClosing event when I have selected a row > from my list. > > I have tried > this_windowClosing(null); > but the frame does not close. I would like to close using the window > closing event > > Perhaps it would be better close the selection without using > windowClosing, using the mouseClick event and call dispose,wouldn't it? > > Which is the better way to show a selection and retrieve the select value? > Thank you in advance. > Ricard > > > -- > Missatge escrit amb l'M2, el revolucionari gestor de correu de l'Opera: > http://www.opera.com/m2/
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads