简体   繁体   English

连接到Java Swing面板

[英]Connecting to a java swing panel

I have a JAVA application that, every five minutes, transfers data from a Data Base A to a Data Base B. Then, the application makes some calculations with the data of the Data Base B, and shows the results in a java swing panel. 我有一个JAVA应用程序,该应用程序每五分钟将数据从数据库A传输到数据库B。然后,该应用程序使用数据库B的数据进行一些计算,并在java swing面板中显示结果。 The application is continuously running. 该应用程序正在连续运行。 All ok. 一切都好。

I would like to see this java swing panel from other computers (more than one). 我想从其他计算机(不止一台)上看到这个java swing面板。 So the idea is to see the panel from different computer whenever you want. 因此,您的想法是随时随地从其他计算机查看面板。 I have thought of making a webpage showing the results, but I have no idea of making webpages and I haven't much time to deal with it. 我曾考虑过制作一个显示结果的网页,但我不知道要制作网页,也没有太多时间来处理它。

Is it possible to make a fast java application (or anything else) that connects with my swing panel from another computer? 是否可以制作一个快速的Java应用程序(或其他任何东西),以从另一台计算机连接到我的摆动面板? Thank you very much! 非常感谢你!

You could use an applet, your Swing components will be added to a JApplet instead of a JFrame, and any web client can download the full application. 您可以使用一个applet,将您的Swing组件添加到JApplet而不是JFrame中,并且任何Web客户端都可以下载完整的应用程序。 You will still need to make a web page, but it could only have your Java applet in it. 您仍然需要制作一个网页,但是其中只能包含Java小程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM