Nom d'utilisateur: Mot de passe:
Enregistrement d'un nouveau membre
Modérateur: toedder 
 Computers

Have computer questions, hints, or tips?

BBW's Tips on how to speed up page load the brainking site
Computers (BIG BAD WOLF, 2007-03-12 20:16:01)



Quoi de neuf à propos de cell phones?
Liste des forums de discussions
Mode: Tout le monde peut poster
Recherche dans les messages:  

22. Juin 2005, 07:45:52
Expired 
The method of "exit(int)" from "System" class is used to close the program .

In the program that i wrote there's a window that opens with "Frame" class, in this window there's a button by pushing which another window is supposed to open.

Now I have trouble making my program close the second window without closing the first one. I tried to use exit(int) but it closes the whole thing. Does anyone have any idea how I should do it?

I'd appreciate it if the solution you give is in 'system' class.

Thanks very much.

Date et heure
Amis en ligne
Forums favoris
Associations
Astuce du jour
Copyright © 2002 - 2024 Filip Rachunek, tous droits réservés
Retour en haut