I posted a similar question a year ago, but it was not really well written and I didn't get an answer I could work with. Now I stand in front of the same problem. I got a JPanel
(my content pane), where a MouseListener
is implemented.
Everywhere I click, I get the exact coordinates of my mouse click. Except my JTextField
components. When I click on those, the MouseEvent
isn't even triggered. H
ow do I do this, so my mouse clicks on those will also call the mouse event?
Tried: setEnable(false)
and setHighlighter(null)