Mostra notizie nelle discussioni
Avatar
Scritto da
Non Autenticato
il 2005-06-02 00:03:00.0 alle 2005-06-02 00:03:00.0
HA RAGIONE AVVE RIGUARDO l'HT
"Why should you be careful to minimize the time spent in event-handler code? "
Answer: Painting code also executes in the event-dispatching thread. Therefore, event-handling code should execute quickly so that the program?s GUI stays responsive. If an event takes too long to execute, the GUI will freeze--that is, it won?t repaint or respond to mouse clicks.

Pagina generata in 14 millisecondi

Utenti attivi: 9 nell'ultimo minuto, 31 negli ultimi cinque minuti, 69 negli ultimi 15 minuti