Java Gui,两个班 [英] Java Gui,two classes

查看:66
本文介绍了Java Gui,两个班的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用Window Builder连接Java中的两个GUI类。



我有两个类:第一个 - >登录管理员类

seciond->管理员类有一些按钮



现在用户应该点击管理员按钮,在第一个类,连接第二个类。



我是Java的初学者,尤其是GUI编程,但我只是想学习它。我很乐意收到一些帮助。

I'm trying to connect two GUI-classes in Java, using the Window Builder.

I have two classes: first -> to login in admin class
seciond->the admin class which has some buttons

Now the user should click the admin button ,in the first class,which connect whith the second class.

I'm a beginner to Java and especially to GUI-programming, but I just want to learn it. I would be happy to receive some help .

推荐答案

我建​​议你阅读本教程: Java编程教程 - 编程图形用户界面(GUI) [ ^ ]



也看到这个问题:< a href =http://stackoverflow.com/questions/15975656/how-to-communicate-with-gui-from-another-class> http://stackoverflow.com/questions/15975656/how-to-communicate -with-gui-from-another-class [ ^ ]
I'd suggest to read this tutorial: Java Programming Tutorial - Programming Graphical User Interface (GUI)[^]

See this question too: http://stackoverflow.com/questions/15975656/how-to-communicate-with-gui-from-another-class[^]


这篇关于Java Gui,两个班的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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