![](/img/trans.png)
[英]How to make a JFrame window appear only after I press the JButton of the previous JFrame window?
[英]Make a jframe appear only at the first start
我有一個計划,我只需要在應用程序的第一次啟動到顯示窗口。 我該做什么? 我要在一堂課中制作兩個或兩個JFrame?
我認為您的目標是建立多文檔界面 。
其他情況:
為了實現此行為,我使用了Java RMI (遠程方法調用)。
import javax.swing.*;
public class aaaaa {
public static void main(String[] args) {
new JFrame().setVisible(true);
}
}
首先,你的意思是這樣的?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.