在本地开发过程中,一切都进行顺利,但是在部署之后,我得到了这个错误:
//new frame is created when button click event is performed from a frame
private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {
if (!jTextField2.getText().equals("")) {
if (SSAImailgenerator.isLoadingCompleted) {
SSAImailFrame mailframe = new SSAImailFrame();
Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
int centerX = screenSize.width/3;
int centerY = screenSize.height/3;
mailframe.setLocationRelativeTo(null);
mailframe.setVisible(true);
}
}
目前我无法弄清楚。 有人可以帮忙吗?