A
Aaron Fude
Hi,
Suppose that my JList is tall and only has a few items in it so there
is a lot of white space.
When capturing a mouse even on a JList, how does one tell whether an
item was clicked or the empty space below?
(There reason why I need this is this functionality: If the user
double clicks on an item, he is taken to an editor window to edit that
item. If the user clicks on the empty space, a new item is created and
then edited.)
Thank you very much in advance!
Aaron
Suppose that my JList is tall and only has a few items in it so there
is a lot of white space.
When capturing a mouse even on a JList, how does one tell whether an
item was clicked or the empty space below?
(There reason why I need this is this functionality: If the user
double clicks on an item, he is taken to an editor window to edit that
item. If the user clicks on the empty space, a new item is created and
then edited.)
Thank you very much in advance!
Aaron