Article View: borland.public.jbuilder.java.swing
Article #8832JComboBox Event Never Raised !
From: Velu Erwan
Date: Mon, 17 Jul 2000 00:00
Date: Mon, 17 Jul 2000 00:00
20 lines
1075 bytes
1075 bytes
I'm using JBuilder 2 with a jdk 1.1.6 or 1.1.8 but i've one problem.
I have a JComboBox and i want to put code on the onclick Event but it
doesn't work.
This event is never raised !
Here it comes my source code:
jComboBox1.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(MouseEvent e) {
jComboBox1_mouseClicked(e);
}
this.add(jComboBox1, new XYConstraints(53, 61, 161, 18));
void jComboBox1_mouseClicked(MouseEvent e) {
System.out.println("Combo Clicked");
}
If some could help me ?
Thanks a lot.
Technical Details
Message-ID:
<8kvp3b$c0r5@bornews.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,c489b865d78a2501 X-Google-Attributes: gid111d45,public From: "Velu Erwan" <erwan@mandrakesoft.com> Subject: JComboBox Event Never Raised ! Date: 2000/07/17 Message-ID: <8kvp3b$c0r5@bornews.borland.com> X-Deja-AN: 647466886 X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Organization: Another Netscape Collabra Server User X-MSMail-Priority: Normal Newsgroups: borland.public.jbuilder.java.swing