[英]how can i call GWT method from swing application
Iam very beginner in gwt, i have a requirement to initailse gwt class or call gwt method from swing class. 我非常初学gwt,我需要启动gwt类或从swing类调用gwt方法。 is it possible to do it?
有可能做到吗? otherwise is there any process to do such things?
否则是否有任何进程来做这些事情?
GWT code is translated into JavaScript and runs inside the user's browser. GWT代码被翻译成JavaScript并在用户的浏览器中运行。 It has absolutely no way of accessing code or functions in the user's machine other than what the browsers allow (like cookies).
除了浏览器允许的内容之外,它绝对无法访问用户机器中的代码或功能(如cookie)。 Swing is a completely different framework for desktop applications (although it certainly inspired the design of GWT), so the two frameworks are not intended to work together.
Swing是一个完全不同的桌面应用程序框架(尽管它确实激发了GWT的设计),因此这两个框架并不打算一起工作。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.