Question

By clicking on the button opens a new frame and until it is fully loaded (including execute a query in the database) I can not continue to work in the initial JFrame. (edit fields).

How to organize the opening frame (in the background, apparently) without losing focus and editing capabilities?

Était-ce utile?

La solution

Here is the complete information with great examples. To solve the problem, it suffices to use class SwingWorker

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top