Re: using SkinLF to change application LF



<anikkar@xxxxxxxxx> wrote:
> Thanks for the reply, but it seems that only refers to Frames, where
> JDialogs are not inherited by frames. I checked to see if there is a
> similar method for Dialogs, but i didn't see anything of the sort.
>
> you have any ideas?
>
A Dialog or JDialog always has a Frame as its parent (or as grand-parent, or
as grand-grand-parent, or ...). See the javadoc of the dialog constructors.
And even if Java might allow you to construct a Dialog with a null parent,
then Java creates an invisble Frame behind the scenes to become the parent.
In short: the technique will catch all your dialogs, too.

--
"TFritsch$t-online:de".replace(':','.').replace('$','@')


.



Relevant Pages

  • Re: using SkinLF to change application LF
    ... JDialogs are not inherited by frames. ... I checked to see if there is a similar method for Dialogs, but i didn't see anything of the sort. ... And even if Java might allow you to construct a Dialog with a null parent, then Java creates an invisble Frame behind the scenes to become the parent. ... I did some tests with JFrames and JDialogs. ...
    (comp.lang.java.gui)
  • Re: Main dialog window always remains behind other dialogs: how can I change this?
    ... You could use a CFormViews for rather than dialogs and have them all in the ... same frame using a splitter window, or, if you want them to float you could ... make them in separate frame frames or control bars and dock them. ... appear *under* their parent window, ...
    (microsoft.public.vc.mfc)
  • Re: Multiple forms without multiple windows
    ... Frame's are native windows, Dialog's aren't. ... A solution produced by using CardLayout can "usually" also be solved using a ... Each form opens it it's own frame so that at times ... The only differences I'm aware of are that dialogs can be modal ...
    (comp.lang.java.programmer)
  • RE: multiple modal dialogs
    ... There are two different ways of showing dialogs: ... Modal dialog (and any window for that matter) runs on the top of all ... While modal dialog relies on own message loop modeless relies on application ... that these frame windows can have there own modal ...
    (microsoft.public.vc.mfc)
  • Re: setUndecorated() isDisplayable() and Parent Frames
    ... just making another schoolboy error and attempting to change the parent ... frame instead of the frame for my new dialog box. ... such an Applet is in fact the Browser? ... public class Tier3Welcome extends Dialog ...
    (comp.lang.java.programmer)