Article View: borland.public.jbuilder.java.language
Article #18745two frames instead of one
From: Oyvind L Johansen
Date: Fri, 08 May 1998 00:00
Date: Fri, 08 May 1998 00:00
25 lines
1113 bytes
1113 bytes
I have a strange problem.
I have a buttonbar which when you click on one of the buttons it fires an
event calling this code:
else if(actionCommand.equals("New")) {
System.out.println("new called");
NewFrame f = new NewFrame (this, "New Frame", true);
f.show();
}
The strange thing is when i close this frame it pops up once again. When I
close this frame nothing happens (as supposed). The same happens if I call
this code from a menuitem. "new called" gets printed twice.
Anybody having any idea?
Thanks
Oyvind
--
--------------------------------------------------------------
Oyvind L Johansen
Tabermatics Inc.
Technical Details
Message-ID:
<6ivbtb$39r1@forums.borland.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: f74b3,b67eb006d7bb7e7d,start X-Google-Attributes: gidf74b3,public From: "Oyvind L Johansen" <johansen@tabermatics.com> Subject: two frames instead of one Date: 1998/05/08 Message-ID: <6ivbtb$39r1@forums.borland.com> X-Deja-AN: 351473607 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Organization: Tabermatics Inc Newsgroups: borland.public.jbuilder.java.language