This might sound weird but this is what happening. I Have a JTable which is part of JPanel When I add JPanel(pnlMain) I can get values of checked checkBoxes(Ref Line#437)
On otherhand when I add pnlMain in JFrame and click X button on top it returns Checkbox value as false(Ref Line#424-433)
I am not able to figure out why putting pnlMain in JFrame not letting fetch checkbox value.
The code that is fetching value is on Line# 439
Code in Question given here
Update: Previous Question I asked is given here:
Checkbox in JTable always return false despite of it's checked