What did i forgot [ public void mouseClicked (MouseEvent e) ]
From: Konrad Den Ende (chamsterkonrad_at_bigfoot.com)
Date: 11/23/03
- Next message: ak: "Re: real-time resizing?"
- Previous message: kevinc: "Re: gui builder for java"
- Next in thread: VisionSet: "Re: What did i forgot [ public void mouseClicked (MouseEvent e) ]"
- Reply: VisionSet: "Re: What did i forgot [ public void mouseClicked (MouseEvent e) ]"
- Reply: Konrad Den Ende: "Re: What did i forgot [ public void mouseClicked (MouseEvent e) ]"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 23 Nov 2003 16:34:03 +0100
It's been a while since my last encounter with Swing so it
must be something i simply forgot.
I extend a JPanel and implement MouseListener. All the
methods have empty bodies except for:
public void mouseClicked (MouseEvent e)
{JOptionPane.showMessageDialog (null, "");}
However, nothing comes up when i click within the JPanel...
One guess is that i need to add my code to the frame that the
JPanel is hold by but that's kind of not what i'm aiming at. I
need to keep the clicking-events within the panel.
What do i forgot?
--
Kindly
Konrad
---------------------------------------------------
May all spammers die an agonizing death; have no burial places;
their souls be chased by demons in Gehenna from one room to
another for all eternity and more.
Sleep - thing used by ineffective people
as a substitute for coffee
Ambition - a poor excuse for not having
enough sence to be lazy
---------------------------------------------------
- Next message: ak: "Re: real-time resizing?"
- Previous message: kevinc: "Re: gui builder for java"
- Next in thread: VisionSet: "Re: What did i forgot [ public void mouseClicked (MouseEvent e) ]"
- Reply: VisionSet: "Re: What did i forgot [ public void mouseClicked (MouseEvent e) ]"
- Reply: Konrad Den Ende: "Re: What did i forgot [ public void mouseClicked (MouseEvent e) ]"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|