Official Thinlet Blog

www.thinlet.com
Entries By Category
Applications
News
Source Tips
««
November 2009
»»
SM
T
WTFS
1234567
891011121314
15161718192021
22232425262728
2930
Mailing List

The Thinlet World
This is the official Thinlet web blog designed to bring you the latest information and developments from the world of Thinlets. Here you will find the latest news, coding tips and releases from the best and smallest Java GUI framework.
Pnuts Scripting Lead Adds Thinlet Module

The Pnuts Scripting Language Lead Toyokazu Tomatsu from Japan has added Thinlet support.

Toyokazu Tomatsu writes in the Pnuts Addict blog story titled "Pnuts meets Thinlet":

Added thinlet module(1.1)



  • Action is written in Pnuts, which means that actions can be defined dynamically.
  • Thinlet's components can be accessed more intuitively (in object-oriented style).
  • This module currently includes a modified Thinlet.

Here is a sample code:


import javax.swing.*
use("thinlet")

parseThinlet("calculator.xml", f = JFrame())

function calculate(n1, n2, r){
r.text = string(int(n1) + int(n2))
}
f.pack()
f.show()

Source:
http://jroller.com/page/tomatsu/20041106#pnuts_meets_thinlet

You can find out more about Pnuts and Thinlet online @ http://pnuts.org/snapshot/latest/extensions/thinlet/doc

If anyone tries out Pnut and Thinlet, let us know you think.

Hosted by Blog-City v6.0a
Terms & Conditions of this blogcity site