In a Swing based application (like the generated forms in Rule based Swing applications), the event loop is the AWT (Swing) event thread. In this case, generic listeners for focus lost and buttons events are set, which translate the events into N3 triples
When the framework parses the EL expression in the output text labels, it determines that the expression contains references to two values and creates event listeners (see Section 6.10, "Using Event Listeners") for the output text on those two v
java,swing,actionlistener. You need to execute your long running task in a separate Thread so you don't prevent the GUI from responding to events. Read the section from the Swing tutorial on Concurrency for more information. Maybe a SwingWorker is the
Post a Comment:
Showing 0 Comments: