简体   繁体   English

如何从swing应用程序中调用GWT方法

[英]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.

相关问题 如何从非GWT(但Java)gapplication调用服务器上的GWT RPC方法? - How can I call a GWT RPC method on a server from a non GWT (but Java) gapplication? 如何从JSNI调用Dll方法在GWT Web应用程序中使用? - How to call Dll method from JSNI to use in GWT web application? 如何从我的Swing应用程序向javascript发送字符串? - How can i send a string from my Swing application to javascript? 如何从主应用程序的 init() 方法调用 JavaFX 应用程序的预加载器实例中的方法 - How can I call a method in a JavaFX Application's preloader instance from the main Application's init() method JAVA:SWING:如何为Swing应用程序构建.exe - JAVA : SWING : How can i build a .exe for Swing application 按下按钮时如何重复调用方法(带有Swing的Java)? - How can I repeatedly call a method while button is pressed down (Java with Swing)? 如何从GWT中的JSNI方法调用JSNI方法 - How to call JSNI method from JSNI method in GWT 如何在GWT中调用外部方法? - How to call outer method in GWT? 如何从另一个类Java Swing调用一个方法? - how to call a method from another class Java Swing? 如何将MozSwing与swing应用程序嵌入以用于跨平台应用程序 - how can i embed MozSwing with swing application for cross platform application
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM