我正在用Core JAVA开发一个项目,现在遇到了问题.有两种形式,即Form1和Form2.在Form1中,单击确定"按钮时,必须打开Form2.在Form2中,单击返回"按钮时,必须打开Form1. 我首先编译并执行了FORM1,它第一次可以正确运行.但是,在编译Form2时,会出现Form2的错误. 然后我们重新编译Form1,再次显示与Form2相同的错误. 为什么会出现此问题,我该如何解决?
I am working on a project in Core JAVA and now encountered with a problem. There are two forms, Form1 and Form2. In Form1, when button "OK" is clicked, then Form2 has to be opened. And in Form2 when button "BACK" is clicked, then Form1 has to be opened. I have first compiled and executed FORM1, it runs correctly for first time. But when Form2 is compiled,there comes the error for Form2. Then we re-compiled Form1, again the same error of Form2 is showing. Why is this problem occurred and how could I resolve it????
推荐答案将其设置为向导.那具有您要使用下一个/后退功能搜索的功能,等等. 这比其他任何事情都简单得多.您只需要将向导下的窗口/对话框"更改为向导即可.很简单. 向导-教程 [ ^ ] Make it a Wizard. That one has the capability that you are searching with next/back function and so on. That is much simpler than anything else. You just need to change the Window/Dialog underneath to a Wizard. Pretty simple. Wizzard - Tutorial[^]
更多推荐
Windows应用程序中的后退按钮代码
发布评论