Is Google Web Toolkit similar to AWT and Swing

前端 未结 7 1118
遇见更好的自我
遇见更好的自我 2020-12-30 09:46

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 an

7条回答
  •  清酒与你
    2020-12-30 10:28

    Define concept.

    AWT/Swing are used for desktop Java apps or applets. They both require JVM to run.

    GWT is used to translate Java code to Javascript. This only runs on Javascript engines, i.e. browser.

    The API design, as stated above, is similar to Swing. You get the same Panels, Buttons and other Component classes as in Swing.

提交回复
热议问题