Focus Issue with regards to JTable
- From: "ChooChooOnMyHead" <twocentwhoracle@xxxxxxxxx>
- Date: 28 Jul 2005 08:18:57 -0700
I have homemade buttons (Extended JLabels with MouseListeners) in
columns 0 and 2 on a JTable. They work fine, except that when i first
click on them, that cell gets focus and i have to click them a SECOND
time to get the mouse event to fire. Is there a function dealing with
focus (which i'm assuming is the problem) that will make it so i only
need to click these buttons once? An idea I had is giving default focus
to all cells in both columns, but i have NO idea how i'd do that. any
ideas? any input would be much appreciated ^__^.
THANKS
John Stamos
.
- Follow-Ups:
- Re: Focus Issue with regards to JTable
- From: Elim Garak
- Re: Focus Issue with regards to JTable
- Prev by Date: Re: checkbox in JTable header?
- Next by Date: Re: Fixed size font
- Previous by thread: Splash Screen Woes or Why doesn't setVisible(true) protect from setVisible(false)
- Next by thread: Re: Focus Issue with regards to JTable
- Index(es):