Posted by GaroY@xxx.xxx on 1999-04-12
> Oh yes, i do have a question... > > How can make a Frame MODEL in a java applett? I have an embedded applett > but want to pop up a model dialogue box to recieve the users name before > execution continues. I have read that the Dialog class cannot be used from > the Applett class but can from a frame... this would mean 2 pop up boxes (ie > applett brings up a frame that brings up a Dialog) but i really need ONE box > to pop up up, and when a valid name is entered continue execution of the > applet... any ideas?? hiya Remmie-- I have an idea for you. Since you say that you can only launch a dialog from a frame, why don't you make the frame, initialize it, call its constructor and give it a method or something to call up the dialog box, but, never call the frame's show() method! that's it! that should work, if it doesn't, then there's something really wrong with something somewhere... ',;-) --Garo
Previous post | Next post | Timeline | Home