I was able to generate the same error on my Ubuntu 9.xx version.
However, I changed the code little bit under
<Application_Name>View.java. It creates a piece of code by default for
about box:
public void showAboutBox() {
if (aboutBox == null) {
JFrame mainFrame =
<Application_Name>App.getApplication().getMainFrame();
aboutBox = new <Application_Name>AboutBox(mainFrame);
aboutBox.setLocationRelativeTo(mainFrame);
}
<Application_Name>App.getApplication().show(aboutBox);
}
I changed this code as follows to rectify the error:
public void showAboutBox() {
JFrame mainFrame =
<Application_Name>App.getApplication().getMainFrame();
aboutBox = new <Application_Name>AboutBox(mainFrame);
aboutBox.setLocationRelativeTo(mainFrame);
aboutBox.setVisible(true);
}
--
netbeans sample application dispose()
https://bugs.launchpad.net/bugs/308826
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs