문제

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?

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top