One GUI's OUTPUT another GUI's input in java

人走茶凉 提交于 2019-12-13 07:02:38

问题


I have two projects(P1 & P2) which are two different systems, each one has its GUI (GUI1 & GUI2). GUI1's output must be GUI2's input. In order to pass all the information from GUI1 to GUI2, I have added P1 as a dependent project of P2. With this, I have access to all the functions in P1 but I can´t get the modified data created after running GUI1( GUI1 is package of P1). As you can see GUI1 has several tabs in which loaded data from external files is modified and new variables/data is created while running GUI1.

.

All the information displayed in GUI1 should be the input of GUI2 in order to modify it.

Could you let me know how I can pass all teh data from GUI1 to GUI2? I would be really pleased if you could help me as I am new programming in Java and I really dont find any way to make it.

来源:https://stackoverflow.com/questions/41870512/one-guis-output-another-guis-input-in-java

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!