Hello,
This is basically a repost of my question since i have not been able to find a solution so far
http://stackoverflow.com/questions/9588384/placing-jtogglebutton-with-jpanel-within-into-a-jtable-cell
The issue is, that i have a custom button in a table and the click event gets triggered only on the second click in the table cell. If i remove the panel within the custom button it works as intended (i need this panel though). I tried using JLayeredPane instead but faced the same issue that only on second click does the button get clicked. Any suggestions how to have the click event propagated immediately to the button?
Below is a sample code.
Many thanks.