N
nickkrause
Hello,
we are creating a swing application, using the following standard code:
SwingUtilities.invokeLater(new Runnable() {
public void run() {
createAndShowGUI();
}
});
Every time we call our program, it opens a new application. If we call
it twice, 2 applications will be opened.
We want to avoid that.
That is, we call first our program, it opens the application once.
Then everytime we call our program again, it opens it in the same
previously opened application.
Do you know how to do that?
Thanks,
Nick
we are creating a swing application, using the following standard code:
SwingUtilities.invokeLater(new Runnable() {
public void run() {
createAndShowGUI();
}
});
Every time we call our program, it opens a new application. If we call
it twice, 2 applications will be opened.
We want to avoid that.
That is, we call first our program, it opens the application once.
Then everytime we call our program again, it opens it in the same
previously opened application.
Do you know how to do that?
Thanks,
Nick