jedistar
asked on
Close button
How do i make a close button that will close a jframe window
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
SwingUtilities.windowForCo mponent(so urce).disp ose();
Returns the first Window ancestor of the given component, or null if source is not contained inside a Window
that was the description of windowForComponent(Compone nt c) method
:-)
>>frame.setVisible(false);
would of course be redundant in that context
>>frame.setVisible(false);
would of course be redundant in that context
ASKER