Article View: be.comp.programming
Article #2703Re: [java] getGraphics van JPanel
From: Passero
Date: Wed, 10 Mar 2004 18:36
Date: Wed, 10 Mar 2004 18:36
22 lines
1785 bytes
1785 bytes
"Edwin Martin" <e.j.martin@chello.nl> schreef in bericht news:oOq3c.95699$KL3.44556@amsnews05.chello.com... > > In de docs zie ik niet dat je in de contructor een null kan meegeven. > > Probeer eens: > > JPanel paneel = new JPanel(); > Graphics g = paneel.getGraphics(); > Die JPanel(null) wil gewoon zeggen dat er geen layout manager gebruikt wordt. Dat werkt perfect, dit is zeker de fout niet. Het is ondertussen al opgelost. Toch bedankt voor de moeite --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.600 / Virus Database: 381 - Release Date: 28/02/2004
Technical Details
Message-ID:
<oeJ3c.29979$sz.2185303@phobos.telenet-ops.be>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!skynet.be!skynet.be!ossa.telenet-ops.be!phobos.telenet-ops.be.POSTED!not-for-mailReferences:
<N9o3c.28946$b%6.2058340@phobos.telenet-ops.be> <oOq3c.95699$KL3.44556@amsnews05.chello.com>Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit X-Google-Thread: 107324,a2bc5b1169c19c7 X-Google-Attributes: gid107324,public X-Google-Thread: fcea4,a2bc5b1169c19c7 X-Google-Attributes: gidfcea4,public X-Google-ArrivalTime: 2004-03-10 10:36:05 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!skynet.be!skynet.be!ossa.telenet-ops.be!phobos.telenet-ops.be.POSTED!not-for-mail From: "Passero" <bla@bla.bla> Newsgroups: be.comp.programming,nl.comp.programmeren References: <N9o3c.28946$b%6.2058340@phobos.telenet-ops.be> <oOq3c.95699$KL3.44556@amsnews05.chello.com> Subject: Re: [java] getGraphics van JPanel Lines: 24 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: <oeJ3c.29979$sz.2185303@phobos.telenet-ops.be> Date: Wed, 10 Mar 2004 18:36:04 GMT NNTP-Posting-Host: 213.224.11.142 X-Complaints-To: abuse@telenet.be X-Trace: phobos.telenet-ops.be 1078943764 213.224.11.142 (Wed, 10 Mar 2004 19:36:04 MET) NNTP-Posting-Date: Wed, 10 Mar 2004 19:36:04 MET Organization: Telenet Internet