Article View: borland.public.jbuilder.java.language
Article #18135Does a Dialog need a Frame?
From: Thomas Wynne
Date: Tue, 11 Aug 1998 00:00
Date: Tue, 11 Aug 1998 00:00
19 lines
1319 bytes
1319 bytes
Does anybody know why a Dialog has to have a Frame to be created? For example, I have three classes, class A, B, and C. Class A is my main class, it does my initializing and database stuff. It also has a frame with a menu item that calls the dialog in Class B. Class B dialog is called with 'this' as the frame parameter. The this, is referring to the frame in class A. In my Class B dialog, I make another call to Class C which brings up yet another dialog. But to create Dialog C, I had create a bogus frame in class B to pass as a parameter. So to generalize the question, does anybody know why a dialog must have a frame, and, is the way that I am doing it consistent with everybody else's methods, or have I just found a way to do it which is going to get me into some trouble in the future. Thanks in advance. Thomas Wynne
Technical Details
Message-ID:
<6qr2vs$3ft3@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,14994826d8c972ac,start X-Google-Attributes: gidf74b3,public From: "Thomas Wynne" <twynne@entropy.uark.edu> Subject: Does a Dialog need a Frame? Date: 1998/08/11 Message-ID: <6qr2vs$3ft3@forums.borland.com> X-Deja-AN: 380281670 Organization: Another Netscape Collabra Server User X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Newsgroups: borland.public.jbuilder.java.language