B
bluerabbit
Hello everyone,
I've been trying to post my question on the groovy groups, however i
haven't had much luck.
I was hoping someone here would be able to help.
I am launching the groovy console after pressing a button.
ie. the following code gets triggered after pressing the button:
**********************************************
private void myButtonActionPerformed(java.awt.event.ActionEvent evt) {
// launching a groovy console
Console console = new Console();
console.run();
}
*********************************************
The problem is that my groovy console does not seem to have focus.
When I click on it, the JDialog containing the button (which launched
the groovy console) has focus instead. This means that I do not have
access to the groovy console I just launched.
How can I solve this issue? Can i make it non-modal somehow?
Help is very much appreciated it!
I've been trying to post my question on the groovy groups, however i
haven't had much luck.
I was hoping someone here would be able to help.
I am launching the groovy console after pressing a button.
ie. the following code gets triggered after pressing the button:
**********************************************
private void myButtonActionPerformed(java.awt.event.ActionEvent evt) {
// launching a groovy console
Console console = new Console();
console.run();
}
*********************************************
The problem is that my groovy console does not seem to have focus.
When I click on it, the JDialog containing the button (which launched
the groovy console) has focus instead. This means that I do not have
access to the groovy console I just launched.
How can I solve this issue? Can i make it non-modal somehow?
Help is very much appreciated it!