tamarzohar
New member
JAVA HELP
הי הוספתי ל frame שלwindowListner new window adapter וכתבתי : public void WindowDeactivated (WindowEvent e) System.exit(0 ו pblic void WindowClosing (WindowEvent e( System.exit(0)l אבל כלום לא קורה שאני לוחצת על הכפתור לסגירת המסך אני יודעת שה WindowDeactivatedמתרחש אבל החלון מסרב להסגר ובכלל אני רצה עם main ורואה את הקונסול כל הזמן
הי הוספתי ל frame שלwindowListner new window adapter וכתבתי : public void WindowDeactivated (WindowEvent e) System.exit(0 ו pblic void WindowClosing (WindowEvent e( System.exit(0)l אבל כלום לא קורה שאני לוחצת על הכפתור לסגירת המסך אני יודעת שה WindowDeactivatedמתרחש אבל החלון מסרב להסגר ובכלל אני רצה עם main ורואה את הקונסול כל הזמן