JButtons in JTables

Discussion in 'Java' started by BNM, Jan 30, 2004.

  1. BNM

    BNM Guest

    I know how to add JButtons to a JTable.
    Iknow how to trap an event clicking on them.

    What I haven't been able to figure out is how to get the normal button
    behavior to work on a button in a JTable:
    1. Button Down
    2. Button Up while mouse still down but off.
    3. Button Down again when down button back over mouse.

    Has anybody done this?

    Thanks!
    Brett
    Brett
    01 Yamaha R1
    99 Honda F4 (Track bike)
    89 Katana 750
    BNM, Jan 30, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Brian J. Sayatovic

    Making two JButtons "rollover" in sync

    Brian J. Sayatovic, Aug 6, 2003, in forum: Java
    Replies:
    6
    Views:
    1,691
    Bill Dennis
    Aug 8, 2003
  2. Oxnard
    Replies:
    1
    Views:
    6,128
    Andrew Thompson
    Nov 18, 2004
  3. Ulf Meinhardt
    Replies:
    1
    Views:
    462
    Michael Dunn
    Nov 14, 2005
  4. Brian

    Create JButtons from array

    Brian, Feb 2, 2008, in forum: Java
    Replies:
    4
    Views:
    12,646
    Brian
    Feb 3, 2008
  5. JList of JButtons

    , Jan 7, 2009, in forum: Java
    Replies:
    0
    Views:
    2,311
Loading...

Share This Page