Article View: be.comp.programming
Article #1805Re: [java] alle elementen in een JPanel disable-en?
From: Passero
Date: Mon, 29 Nov 2004 19:03
Date: Mon, 29 Nov 2004 19:03
17 lines
1531 bytes
1531 bytes
oops verkeerde code gepost, dit is de correcte:
(ik was iets aan het proberen, maar lukte ook niet :s)
public void actionPerformed(ActionEvent e)
{
if(e.getSource() == btnAccess)
{
pnlAccess.setEnabled(true);
pnlMysql.setEnabled(false);
System.out.println("Boe");
}
else if(e.getSource() == btnMysql)
{
pnlAccess.setEnabled(true);
pnlMysql.setEnabled(false);
}
}
Technical Details
Message-ID:
<hoKqd.4652$GN4.302111@phobos.telenet-ops.be>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news.zanker.org!feeder1.cambrium.nl!news.cambrium.nl!newsgate.cistron.nl!skynet.be!skynet.be!ossa.telenet-ops.be!phobos.telenet-ops.be.POSTED!not-for-mailReferences:
<WlKqd.4647$h37.171108@phobos.telenet-ops.be>Show Full Headers
Complete Article Headers
X-Google-Thread: fcea4,3f587a8e768798fc X-Google-Thread: 107324,3f587a8e768798fc X-Google-Attributes: gidfcea4,gid107324,public X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news.zanker.org!feeder1.cambrium.nl!news.cambrium.nl!newsgate.cistron.nl!skynet.be!skynet.be!ossa.telenet-ops.be!phobos.telenet-ops.be.POSTED!not-for-mail From: "Passero" <bla@bla.be> Newsgroups: be.comp.programming,nl.comp.programmeren References: <WlKqd.4647$h37.171108@phobos.telenet-ops.be> Subject: Re: [java] alle elementen in een JPanel disable-en? Lines: 19 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: <hoKqd.4652$GN4.302111@phobos.telenet-ops.be> Date: Mon, 29 Nov 2004 19:03:41 GMT NNTP-Posting-Host: 81.165.83.63 X-Complaints-To: abuse@telenet.be X-Trace: phobos.telenet-ops.be 1101755021 81.165.83.63 (Mon, 29 Nov 2004 20:03:41 MET) NNTP-Posting-Date: Mon, 29 Nov 2004 20:03:41 MET Organization: Telenet Internet