Serious bug-fixing, yo.
This commit is contained in:
@ -1,25 +1,20 @@
|
||||
/*
|
||||
* This script is executed inside the EDT, so be sure to
|
||||
* call long running code in another thread.
|
||||
* This script is executed inside the UI thread, so be sure to call
|
||||
* long running code in another thread.
|
||||
*
|
||||
* You have the following options
|
||||
* - SwingBuilder.doOutside { // your code }
|
||||
* - execOutside { // your code }
|
||||
* - execFuture { // your code }
|
||||
* - Thread.start { // your code }
|
||||
* - SwingXBuilder.withWorker( start: true ) {
|
||||
* onInit { // initialization (optional, runs in current thread) }
|
||||
* work { // your code }
|
||||
* onDone { // finish (runs inside EDT) }
|
||||
* }
|
||||
*
|
||||
* You have the following options to run code again inside EDT
|
||||
* - SwingBuilder.doLater { // your code }
|
||||
* - SwingBuilder.edt { // your code }
|
||||
* - SwingUtilities.invokeLater { // your code }
|
||||
* You have the following options to run code again inside the UI thread
|
||||
* - execAsync { // your code }
|
||||
* - execSync { // your code }
|
||||
*/
|
||||
|
||||
import groovy.swing.SwingBuilder
|
||||
import griffon.util.GriffonPlatformHelper
|
||||
import griffon.util.GriffonApplicationHelper
|
||||
import static griffon.util.GriffonApplicationUtils.*
|
||||
|
||||
GriffonPlatformHelper.tweakForNativePlatform(app)
|
||||
SwingBuilder.lookAndFeel('org.pushingpixels.substance.api.skin.SubstanceCremeCoffeeLookAndFeel', 'nimbus', ['metal', [boldFonts: false]])
|
||||
|
@ -1,18 +1,13 @@
|
||||
/*
|
||||
* This script is executed inside the EDT, so be sure to
|
||||
* call long running code in another thread.
|
||||
* This script is executed inside the UI thread, so be sure to call
|
||||
* long running code in another thread.
|
||||
*
|
||||
* You have the following options
|
||||
* - SwingBuilder.doOutside { // your code }
|
||||
* - execOutside { // your code }
|
||||
* - execFuture { // your code }
|
||||
* - Thread.start { // your code }
|
||||
* - SwingXBuilder.withWorker( start: true ) {
|
||||
* onInit { // initialization (optional, runs in current thread) }
|
||||
* work { // your code }
|
||||
* onDone { // finish (runs inside EDT) }
|
||||
* }
|
||||
*
|
||||
* You have the following options to run code again inside EDT
|
||||
* - SwingBuilder.doLater { // your code }
|
||||
* - SwingBuilder.edt { // your code }
|
||||
* - SwingUtilities.invokeLater { // your code }
|
||||
* You have the following options to run code again inside the UI thread
|
||||
* - execAsync { // your code }
|
||||
* - execSync { // your code }
|
||||
*/
|
||||
|
@ -1,18 +1,13 @@
|
||||
/*
|
||||
* This script is executed inside the EDT, so be sure to
|
||||
* call long running code in another thread.
|
||||
* This script is executed inside the UI thread, so be sure to call
|
||||
* long running code in another thread.
|
||||
*
|
||||
* You have the following options
|
||||
* - SwingBuilder.doOutside { // your code }
|
||||
* - execOutside { // your code }
|
||||
* - execFuture { // your code }
|
||||
* - Thread.start { // your code }
|
||||
* - SwingXBuilder.withWorker( start: true ) {
|
||||
* onInit { // initialization (optional, runs in current thread) }
|
||||
* work { // your code }
|
||||
* onDone { // finish (runs inside EDT) }
|
||||
* }
|
||||
*
|
||||
* You have the following options to run code again inside EDT
|
||||
* - SwingBuilder.doLater { // your code }
|
||||
* - SwingBuilder.edt { // your code }
|
||||
* - SwingUtilities.invokeLater { // your code }
|
||||
*/
|
||||
* You have the following options to run code again inside the UI thread
|
||||
* - execAsync { // your code }
|
||||
* - execSync { // your code }
|
||||
*/
|
||||
|
@ -1,18 +1,13 @@
|
||||
/*
|
||||
* This script is executed inside the EDT, so be sure to
|
||||
* call long running code in another thread.
|
||||
* This script is executed inside the UI thread, so be sure to call
|
||||
* long running code in another thread.
|
||||
*
|
||||
* You have the following options
|
||||
* - SwingBuilder.doOutside { // your code }
|
||||
* - execOutside { // your code }
|
||||
* - execFuture { // your code }
|
||||
* - Thread.start { // your code }
|
||||
* - SwingXBuilder.withWorker( start: true ) {
|
||||
* onInit { // initialization (optional, runs in current thread) }
|
||||
* work { // your code }
|
||||
* onDone { // finish (runs inside EDT) }
|
||||
* }
|
||||
*
|
||||
* You have the following options to run code again inside EDT
|
||||
* - SwingBuilder.doLater { // your code }
|
||||
* - SwingBuilder.edt { // your code }
|
||||
* - SwingUtilities.invokeLater { // your code }
|
||||
*/
|
||||
* You have the following options to run code again inside the UI thread
|
||||
* - execAsync { // your code }
|
||||
* - execSync { // your code }
|
||||
*/
|
||||
|
@ -0,0 +1,13 @@
|
||||
/*
|
||||
* This script is executed inside the UI thread, so be sure to call
|
||||
* long running code in another thread.
|
||||
*
|
||||
* You have the following options
|
||||
* - execOutside { // your code }
|
||||
* - execFuture { // your code }
|
||||
* - Thread.start { // your code }
|
||||
*
|
||||
* You have the following options to run code again inside the UI thread
|
||||
* - execAsync { // your code }
|
||||
* - execSync { // your code }
|
||||
*/
|
||||
|
Reference in New Issue
Block a user