frame.addPanel(hintWindow);
frame.setSize(719, 690);
frame.addInternalFrameListener(new javax.swing.event.InternalFrameAdapter() {
@Override
public void internalFrameClosed(javax.swing.event.InternalFrameEvent evt) {
PlayerHintWindow hw = (PlayerHintWindow) ((JPortalInternalFrame)evt.getInternalFrame()).getPanel();
if (hw != null)
{
hw.deinit();
}
}
});
addInternalFrame(frame);