Article View: borland.public.jbuilder.java.swing
Article #9610Calling a Frame from a Frame
From: Keith Underwood
Date: Sun, 20 Feb 2000 00:00
Date: Sun, 20 Feb 2000 00:00
14 lines
1207 bytes
1207 bytes
Can I call a frame from my main frame.
If so what is the syntex
I have this from my calling frame:
AddEmployee addNewEmployee = new AddEmployee();
addNewEmployee.validate();
addNewEmployee.setVisible(true);
and I have the other frame declared as
public class AddEmployee extends JFrame implements Serializable
I keep getting exceptions and the called frame opens without any
components.
Keith
Technical Details
Message-ID:
<38B0740F.B5F148C3@gte.net>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,ff8210670f496267,start X-Google-Attributes: gid111d45,public From: Keith Underwood <keithu@gte.net> Subject: Calling a Frame from a Frame Date: 2000/02/20 Message-ID: <38B0740F.B5F148C3@gte.net> X-Deja-AN: 587706082 Distribution: world Content-Transfer-Encoding: 7bit X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Abuse-Info: Otherwise we will be unable to process your complaint properly X-Complaints-To: abuse@gte.net X-Trace: /wzbxY5Cr8Kcn3VwUhs1AeJfsj7LarhvZfUZPpIq9Pcj4r1JJdfjC/sH3TLgUHDVI+26kyJbz3jB!kiWEI54U8xe/PdhtPLyoITsh9Fb+cYXdeCqya6sjcqivi5q/p1F33ff2cQ== MIME-Version: 1.0 NNTP-Posting-Date: Sun, 20 Feb 2000 23:16:15 GMT Newsgroups: borland.public.jbuilder.java.swing