1
I’ve seen a lot here and at Stackoverflow in English about Swing and Runnable
, I still couldn’t solve my problem.
I am developing a work for the college (interdisciplinary work involving Distributed Systems/Advanced Data Structures/Technology and Education), which consists of a Crossword game. The problem is that the user will have the possibility to "mount" the Crossword.
That is, from a secondary window, it will tell you how many rows and columns the Crossword will have. The minimum amount will be 10 rows per 10 columns. As you may have already guessed, when closing the form and calling the method that builds the interface (matrix JTextField
) in the main window, there is an approximate time of 8 seconds until the window "thaws". And the time gets longer as the "grid" also grows. As a parameter: For the construction of a 15 x 15 grid, the matrix appears in approximately 1 second. However, it takes 18 seconds to "defrost".
Is there a solution to this problem?
To enable others to help you, try to share a Minimum, Complete and Verifiable Example
– Romulo