Article View: borland.public.jbuilder.java.swing
Article #12986getParent-Problem
From: Katharina Schade
Date: Thu, 15 Oct 1998 00:00
Date: Thu, 15 Oct 1998 00:00
51 lines
1834 bytes
1834 bytes
--------------E48AB2C5C85AF28D956A3E8D Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi anyone, under JBuilder 1.0 I used in a dialog getParent to access a method from a parent-frame. Score = ((frame)getParent()).getChoice(); Running this under JBuilder2.0 I get the Error: java.lang.ClassCastException: com.sun.java.swing.SwingUtilities. What is wrong? -- Katharina Schade Pape + Partner Informationssysteme GmbH Graumannsweg 54 D-22087 Hamburg Tel.: +49(40)22743349 Fax: +49(40)22743333 Mailto:ks@ppi.de --------------E48AB2C5C85AF28D956A3E8D Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> Hi anyone, <P>under JBuilder 1.0 I used in a dialog <B>getParent </B> to access a method from a parent-frame. <P> Score = ((frame)getParent()).getChoice(); <P>Running this under JBuilder2.0 I get the Error: java.lang.ClassCastException: com.sun.java.swing.SwingUtilities. <P>What is wrong? <P>-- <BR>Katharina Schade <BR>Pape + Partner Informationssysteme GmbH <BR>Graumannsweg 54 <BR>D-22087 Hamburg <BR>Tel.: +49(40)22743349 <BR>Fax: +49(40)22743333 <BR><A HREF="Mailto:ks@ppi.de">Mailto:ks@ppi.de</A> <BR> </HTML> --------------E48AB2C5C85AF28D956A3E8D--
Technical Details
Message-ID:
<3625EF47.4C3D5403@ppi.de>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,432bd929d163a02,start X-Google-Attributes: gid111d45,public From: Katharina Schade <ks@ppi.de> Subject: getParent-Problem Date: 1998/10/15 Message-ID: <3625EF47.4C3D5403@ppi.de> X-Deja-AN: 401339376 Content-Type: multipart/alternative; boundary="------------E48AB2C5C85AF28D956A3E8D" Organization: Pape + Pape Informationssysteme Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing