Monthly Archives: September 2009

Quick Example to Java Scripting Engine

Have you heard that Java support scripting engine? Try the source code below:

Posted in java | Tagged , , | Leave a comment

Eclipse: Dynamically Adjust Widget Size and Reflow a Form Page

Let’s say you need to dynamically adjust a widget size, and then update scroll bar information. Things are pretty simple, if we understand how eclipse layout works. I have a PageBook widget, and wish to resize the form page as … Continue reading

Posted in eclipse, java | Leave a comment

Code Snippet to use PageBook

Below is very straightforward code snippet to use PageBook. It is used together with eclipse form. Therefore you will see widgets are created via the FormToolkit class.

Posted in eclipse, java | Tagged , , , , | Leave a comment