I have JInternalFrame, within that I have Scrollable JTable and JButton.
JTable - registred with Mouse Listener JButton - registred with action Listener
JTable -> opens new window name 'X' when user double clicks on Jtable row Jbutton -> opens new window 'X' when user clicks the JButton.
First time when user clicks JButton, only action lisener getting fired. 2nd time when user clicks Jbutton, both action listener and Mouse Listener getting fired. Q is why firing both listeners when I click Jbutton (it suppose to fire only Button Listener)?