如何使用在IntelliJ IDEA中创建的GUI表单 [英] How to use GUI form created in IntelliJ IDEA

查看:1009
本文介绍了如何使用在IntelliJ IDEA中创建的GUI表单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在IntelliJ IDEA 9中用一个按钮创建一个简单的GUI表单.用该表单创建的类不是JFrame或任何其他swing类.如何在源代码中调用表单?

I'm creating a simple GUI form with one button in IntelliJ IDEA 9. The class which was created with the form is not JFrame or any other swing class. How I can call my form in my source code?

推荐答案

只需进入与您的表单相关的类,按 alt + insert 并选择表单主()".

Simply go into the class associated with your form, press alt + insert and choose "Form main()".

资源:

这篇关于如何使用在IntelliJ IDEA中创建的GUI表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆