This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi all, I have a weird situation. I have a modal JDialog window with buttons. I click a button open a JFrame which has a close button at the bottom. Now in the JFrame, if I "click" the close button - nothing. If I use keyboard shortcut it closes.
In JFrame, the close button is an action with tool tip set. When I mouse over the button, 1) the tool tip doesn't show, 2) won't click. If I change all that to anonymous inner class using action listener - same result.
Is there something about JDialog and JFrame interaction I need to know??
Oh in this class there is a constructor that takes an int and JDialog. Could this JDialog affect my JFrame closing operation?