Swing/invokeLater 썸네일형 리스트형 SwingUtilities.invokeLater() Java Swing & ThreadEvery Swing application has at least 2 threads:The main thread that executes the applicationThe EDT (Event Dispatching Thread) is a thread that updates the UI (so the UI will not freeze).If you want to update the UI you should execute code within the EDT. Methods like SwingUtilities.invokeLater, SwingUtilities.invokeAndWait, EventQueue.invokeLater, EventQueue.invokeAndWait all.. 더보기 이전 1 다음