Article View: borland.public.jbuilder.java.swing
Article #8674Re: JDialog icon in bar
From: David Jefferson
Date: Mon, 31 Jul 2000 00:00
Date: Mon, 31 Jul 2000 00:00
21 lines
1100 bytes
1100 bytes
A JDialog usually takes it's icon from it's parent dialog / frame. In order to set a Frame's (or JFrame's) icon use the setIconImage method on it. If the dialog has no parent then this method obviously won't work and the best thing to do is create a parent frame and never set it to be visible. Dave "sven goetgeluck" <sven@officeline.be> wrote in message news:39800B62.DF343ABC@officeline.be... > Hi , > > i want to set the icon of a JDialog so i don"t have the standard cup in > het titlebar > > how can i do this??? > > > greetings sven > > >
Technical Details
Message-ID:
<39852ce6_1@dnews>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<39800B62.DF343ABC@officeline.be>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,a6f7098bfd96ff80 X-Google-Attributes: gid111d45,public From: "David Jefferson" <david.jefferson@kbcfp.com> Subject: Re: JDialog icon in bar Date: 2000/07/31 Message-ID: <39852ce6_1@dnews> X-Deja-AN: 652681184 References: <39800B62.DF343ABC@officeline.be> X-Trace: 31 Jul 2000 00:38:14 -0800, 194.203.209.252 X-MSMail-Priority: Normal X-Priority: 3 Newsgroups: borland.public.jbuilder.java.swing X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700