event-dispatch-thread
Workaround for non-compliant JVM not sending WindowClosing events
Apple JVM on various OS X version have apparently been broken in that they do not generate the WindowClosing event when they should (for example if you close an app\'s main JFrame using by clicking on[详细]
2023-04-12 21:07 分类:问答How can I solve delay in showing count down timer(JLabel) in Swing JPanel
I\'ve implemented a count down timer(in function) which updates a label in swing panel every second this is the code:[详细]
2023-04-12 18:05 分类:问答Adding additional panels to a JFrame which lives in a EventDispath thread, from outside that?
I create a new frame in EventDispatch thread and want to add new Panels to that later on. But all i get is a blank frame, with 0 height. But panels added from inside the inner class are displayed. How[详细]
2023-04-11 18:09 分类:问答How to turn on logging for AWT
I have a performance p开发者_如何转开发roblem that makes mouse events stack up in a strange way. My profiling tool says that the AWT thread is very occupied all the time.[详细]
2023-04-06 21:56 分类:问答Swing invokelater freeze
im calling invokeLater direcly from button on actionPerformed with this code: private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {[详细]
2023-04-04 21:05 分类:问答Multiple Event Dispatch Threads
I am new to Java Swing 开发者_如何学Cand my question is related to Event Queues and Dispatch threads.[详细]
2023-04-02 16:11 分类:问答how to update a jLabel every time with a while loop with a delay
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {开发者_JAVA百科 int count = jSlider1.getValue();[详细]
2023-04-01 21:56 分类:问答java swing clear the event queue
Is it possible to do this in a standard manner? Here is the scenario. Start doing something expensive in EDT (EDT is blocked till the expensive operation is over).[详细]
2023-03-29 01:41 分类:问答How to update/paint JProgressBar while Swing is loaded building the GUI
I have a GUI which is quite heavy to build/initialize on the platform on which it runs.. Therefore I want to update progress while it initializes..[详细]
2023-03-28 05:24 分类:问答Java Swing EDT & Concurrency
I was just wondering if it is still necessary to ensure synchronicity in an invokeLater() Runnable. I am encountering deadlock and need to overcome it while maintaining concurrency.[详细]
2023-03-23 08:19 分类:问答