Search:

Type: Posts; User: xchan

Search: Search took 0.13 seconds.

  1. Re: how to determine type of component of listener's source

    i cant explain any better than this..

    i have lots of components like buttons and labels that has the same Listener, now i want the listener to tell me what kind of source he got (JButton or...
  2. how to determine type of component of listener's source

    I want to do is:

    if the source is a JLabel then....
    and if the source is a JButton then....

    but:

    MouseListener mL = new MouseAdapter(){
    @Override
    public void...
Results 1 to 2 of 2