类似于AWT和Swing谷歌Web工具包 [英] Is Google Web Toolkit similar to AWT and Swing

查看:440
本文介绍了类似于AWT和Swing谷歌Web工具包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我breifly看着 GWT 并喜欢,我可以用Java开发并让应用程序的想法向下编译成HTML和JavaScript。背后是GWT和AWT的概念和​​Swing相同或不同?

I've looked breifly into GWT and like the idea that I can develop in Java and have the application compile down to HTML and JavaScript. Is the concept behind GWT and AWT and Swing the same or different?

推荐答案

GWT是非常相似的窗口小部件,面板和它提供的事件监听器的使用范围摆动。一种不同的方式来看待GWT是考虑Javascript和HTML作为汇编语言和GWT作为一种产生Javascript和HTML高级语言。使用GWT其易于使用,你会用于构建一个桌面应用程序相同的工具来开发Web桌面般的应用

GWT is very much similar to Swing in its usage of Widgets, Panels and the EventListeners it provides. A different way to look at GWT is to think of Javascript and HTML as Assembly language and GWT as a sort of High level language which generates Javascript and HTML. With GWT its easy to develop desktop-like apps for the web using the same tools you would use for building a desktop app

这篇关于类似于AWT和Swing谷歌Web工具包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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