🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #15241

Loading a dialog from another file?

#15241
From: Eric Advincula
Date: Fri, 25 Jun 1999 00:00
16 lines
1083 bytes
Being new to java, I hope someone can help me.
I have to files:
frmMain.java contains the main frame
dlgSplash.java contains a dialog, does nothing yet.
I can load it like so:

dlgSplash m_Splash;
m_Splash = new dlgSplash( this, false );

when both class code are in the same file.  But when I transferred the
dialog to its own file called dlgSplash.java it gives me an error now.
Coming from C++ I would use the header file to let the frmMain know about
the dlgSplash dialog.  How do you do this in java.
Is it import? and if so how do you use it?

Thanks
Technical Details
Message-ID: <7l0ol0$fuf7@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,9e6c56313e026a17,start
X-Google-Attributes: gidf74b3,public
From: "Eric Advincula" <eric07@earthlink.net>
Subject: Loading a dialog from another file?
Date: 1999/06/25
Message-ID: <7l0ol0$fuf7@forums.borland.com>
X-Deja-AN: 493900899
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Organization: Another Netscape Collabra Server User
X-MSMail-Priority: Normal
Newsgroups: borland.public.jbuilder.java.language