I am pretty sure I remember a method to change this action. I just don't remember where I saw it or what it was named :) Yeesh, and I am sure it was just last week that I saw it :)
> -----Original Message----- > From: Borchardt, Brett [mailto:brett@;eintelligence-inc.com] > Sent: Wednesday, October 23, 2002 9:46 AM > To: JDJList > Subject: [jdjlist] Re: Rendered checkbox in a table. > > > It's because mouseClicked events aren't fired if you move the > mouse during > the click (not terribly useful in my opinion). Try using > mousePressed or > mouseReleased. > > Brett > > > -----Original Message----- > > From: Mercader i Botella, Salva [mailto:salva.mercader@;gedas.es] > > Sent: Wednesday, October 23, 2002 8:05 AM > > To: JDJList > > Subject: [jdjlist] Rendered checkbox in a table. > > > > > > > Hello all, > > > > > > I have extended JTable into a class of my own (called, > > p.e., myJTable), > > > I'm using the default renderer to implement a checkbox (using a > > > Boolean.class return in the "getColumnClass" method) > > > My problem is about the mouseClicked events and the > > implemented Boolean. I > > > explain you the actual behaviour: if I click the mouse, > > without moving it, > > > everything runs ok and myJTable catch this mouse event, but > > if I click on > > > it moving the mouse it any pixel (without going out from > > checkbox space) > > > then myJTable isn't aware of the mouseClicked event. > > > Could anyone explain me, how can I make myJTable be informed about > > > mouseclicked events? > > > > > > Thanks in advanced, > > > > > > > > > Salva Mercader ____________________________________________________ To change your JDJList options, please visit: http://www.sys-con.com/java/list.cfm Be respectful! Clean up your posts before replying ____________________________________________________
