Robbie Cheng is the author of the book "ZK: Ajax without the Javascript Framework". He is a software developer at Potix Corporation, and the principle developer of ZK Android and ZK Forum. Recently, he become a ZK evangelist, and has been invited to give speeches at Google Developer Day and Mobile Monday, as well as published many articles on the Internet. Robbie has posted 19 posts at DZone. View Full User Profile

ZK 3.6 Supports Java Applets

  • submit to reddit

In ZK 3.6.0, Listbox supports auto-soring on fields, Applet Component allows you to embed Java Applet, and Debug mode for testing is provided. In addition to over 44 bug fixes, there are 24 new features. Moreover, CSS and images are simplified and optimized for better performance.

 Feature Highlight

 ZK Applet Componnet

A Java applet is an applet delivered to the users in the form of Java bytecode. It allows developer to create responsive user experience by running Java code on the client with Java Visual Machine. Applet component is ready for you to embed Java code on the client side. In the following, we demonstrate a marquee example, whose text could be changed dynamically. zk applet.png

<applet code="ticker.class" msg="ZK is Simple and Rich!" id="ticker"
width="400px" style="border: 1px" />

<toolbarbutton label="Stop" onClick='ticker.invoke("stop");' />
<toolbarbutton label="Start" onClick='ticker.invoke("start");' />
<textbox id="textbox" value="ZK Applet is Great" />
<toolbarbutton label="Change Message"
onClick='ticker.setField("message", textbox.value);' />
New Fearues
Download Now! 
Average: 3 (2 votes)
Published at DZone with permission of its author, Robbie Cheng.

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)