adding a WindowListener to a JFrame
Is there a way to add a WindowListener to a JFrame? Maybe not exactly a windowListener, but some kind of listener that will detect when the JFrame is made visible...
sorta like
{
JFrame frame =new JFrame();
frame.addWindowListener();
}
publicvoid windowOpening(WindowEvent we);
//.......
}

