[5186] in java-interest

home help back first fref pref prev next nref lref last post

Re: method action()

daemon@ATHENA.MIT.EDU (Franck Lantres)
Wed Jan 31 15:21:58 1996

From: Franck Lantres <lantres@lome.seriat.fr>
Date: Wed, 31 Jan 96 08:44:56 GMT
To: Kevin Conner <knrc@impltd.com>
Cc: java-interest@java.sun.com, Amy.Fowler@Eng.Sun.COM

> Hello Franck.
>
> Franck Lantres wrote:
>> My question is very simple : why, when I press the Ok button, the
>> action method of the class MyWindow is called, and not the action
>> method of the class AboutDialog ?
>
> Can you tell us more about your environment?  I have compiled
> your program on a Sparc with JDK 1.0, the program ran correctly.
>
> I added a return statement at the end of MyWindow.action and
> a main method to get it to compile and run.

I work under Windows95 with JDK 2.0.

It doesn't seem work even if I add a return statement for the  
default case in MyWindow.action().
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post