Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想为我为 Glasshfish 编写的应用程序创建一个自定义 GUI。由于该程序由 Glassfish 运行,因此 Main 方法在这种情况下无济于事。我还尝试在 init() 方法中显示 JFrame,但没有显示任何内容。有没有人试过这个?
创造SplashScreen
SplashScreen
开始Glasshfish
Glasshfish
创造GUI
GUI
将所需的 vakue 添加到 GUI
如果 Glasshfish 启动并创建了 GUI,则隐藏 SplashScreen 并显示 GUI