Feeds:
Posts
Comments

Archive for July, 2008

As promised by Sun MicroSystem, the long awaited and widely anticipated JavaFX Preview SDK is officially released in July, just a day before August. Touted as a answer to Adobe’s Flex/AIR and Microsoft’s Silverlight, JavaFX competes by leveraging on a new scripting language, aka JavaFx Scipt, and a rich Java ecosystem and infrastructure. Since it first unveiled to the public in the JavaOne 2007, JavaFX becomes the source of interest as well as confusion to many Java developers. Many developers lament why the need for another language and why not improve Swing, the GUI toolkit library  ?  Well, RIA markets are now evolved to appeal to designers and not only  to developers through creating a declarative language that much easier to learn and use while still allow flexibility and power through the core programmatic language. For example, Flex used MXML based on XML as a foundation to build UI with strong data binding capability and ActionScript for programming. Similarly, JavaFX uses JavaFX Script to create UI and Java to extend the application further. Why switch to JavaFX when competitors are already have version of products ahead of JavaFX ?  Among the major reasons are existing Java developers can leverage on myriad existing Java open source libraries, existing investment and develop JavaFX application using state of art and powerful IDE like NetBeans, Eclipse and Intellij. Beside, another outstanding  component of JavaFX technology aka JavaFX Mobile, will give a boost in creating rich and powerful mobile application by having almost a full-blown Java SDK built into the phone compare to the limited environment of J2ME. The greatest advantage is that the same desktop application built with JavaFX can be used in the JavaFX-based mobile phone without changing the code base. 

The final version of JavaFX SDK will be released later in this year, and JavaFX Mobile will be unveiled next year. Nonetheless, in the meantime, you can start learning JavaFX to build cool rich internet application by downloading the JavaFX Preview SDK first and then following some exciting tutorial from Jim Weaver’s JavaFX blog

image

Latest Update after installing JavaFX Preview SDK at 11pm 31July08

I have just installed Netbean 6.1 with JavaFX, and this is what I get

image

I hate to be sarcastic but can someone tell me what went wrong ? On the right panel is those JavaFX components , and on the left it register error. Isn’t the software suppose to work out of the box ? Look like it is broken before it get started. Did someone has the same experience and error message or is it just me ?  I have uninstalled and reinstall the software by few times. Not very encouraging. Look like today is really not my day Crying.

Maybe someone can teach me how to fix this problem.

 image

 

Update 2: Problem finally solved ! at 1:30am at 1Aug08

If you get the above errors, you have to remove the previous netbean setting by going to User directory (for Windows Vista) and then into the directory of the login name. Remove all netbean directories eg it has something lik .netbean or .nb  prefix. It is probably the settings that conflict with JavaFX that caused the above mentioned problem. After resolving this issue, NetBeans with JavaFX works perfectly.

image

Now I can have a good night sleep !

Read Full Post »

For those who been using Swing to develop Desktop Application will undoubtedly find that it is one of the most flexible and API-rich toolkit available. However such power comes at a price of complexity due to many ways of accomplishing the same task. This post will talk about the common listeners that often confused both beginners and veteran alike.

Some components like JCheckBox and JComboBox have both ActionListener and ItemListener that fire event upon change in the selection state. Many thought that they are synonymous and interchangeable, and indeed the lack of understanding is often the source of confusion not only for those beginners in using Swing but also experienced Swing developer. The inappropiate use of ActionListener and ItemListener are often one of the common source of hard-to-find bugs.

(more…)

Read Full Post »

Geezer: <CH> for all songs | 陪我看日出 | 恋之憩 by 蔡淳佳 | 恋之憩 by 姜鄠 |  庆幸有你爱我 | 有一天我会

image image image

If there is a female Singapore singer whose voice is as beautiful as her look then 蔡淳佳 easily qualifies the accolade. This pretty singer possess a very sharp, clear and mesmerising voice that bring every song alive with stirring feeling and emotion.  (Work In Progress)

蔡淳佳  Larger image at http://tieba.baidu.com/f?kz=267929693

(more…)

Read Full Post »

 image  imageimage

imageIt might have been more than 20 years ago since I first encountered the Muppet Show. During that time, I were just a small kid who favourite past-time is to watch TV while crunching snack. The TV is a big media then with tons of interesting programmes. The Muppet Show is just one of those I still have fond memories of. The show never stop to bring joy and laughter not only to small kid but also to those who refuse to grow up. Watching this programme really make one feels young at heart. The success of Muppet Show lies in creative use of cute Muppets that able to express wide range of action and expression (That is really the genius of those behind the Muppet !). The muppets are playful and fun-loving, and that is perhaps what many of us want to be forever. The most prominent figures are Kermit the Frog and Miss Piggy. They are loving pair who constant expression of love and affection for each other on screen create immense laughter.

Kermit the Frog is performed and voiced by the late Jim Henson image and as for who performed and voiced the irresistible Miss Piggy image , you find out soon. As for the song, The Rainbow Connection, it is unforgettable piece of song from Muppet Show popularised by Kermit and is greatly missed by those kids in the 1980s.

Now, thank to the internet, the Muppets have returned to those who want to experience those joy and laughter again. Yes, the Muppets are classic and timeless.

(more…)

Read Full Post »

Open source license even to this day can be a source of confusion. There are many open source licenses but the most popular and restrictive is the GPL license. GPL is a very popular license for those who want their works to benefit from community work and recognition while at the same time retaining control of the work. In recent years, GPL has become a popular business model for many companies taking on the open source route. These companies seek to create and market a quality open source product in a niche market that is attractive to the enterprise. These products includes database, visualization and graphing library etc. No doubt that most GPL projects are innovative and can alleviate development time. However using GPL work can be a frustrating experience when it comes to deployment and distribution as it can easily undermine the effort of developers. Therefore it will astute that developers using GPL project clearly understand what GPL is and how it affects their products.

 

Lawful words can be pretty dry and vague with hard-to-see connection in the real world given so many rules at play so having a scenario comes a long way and is very effective in applying those rules practically. The followings are some popular scenarios of developing software developed using GPL license. As can be seen, GPL can be vaguely misunderstood and subjected to many interpretation. The following is a extract taken in a forum (http://developer.db4o.com/forums/15372/ShowPost.aspx) of a open source object database dbo4 image . The scenarios are raised by a user named Mallesham Karnati and answered by Christof Wittig image, a staff of the db4o company. The scenarios are framed in using db4o and how the GPL license affect the system using it. To prevent misunderstanding, the text are extracted as it  is rather than been truncated to remove verbose information. The forum post contains a very healthy discussion on GPL and I suggest that reader takes a read.

(more…)

Read Full Post »

image  image Animated progress GIF image is a very simple yet powerful way to provide feedback to running operation. It doesn’t require any programming and all modern web browsers and Java support it. However for those who want to generate a quick and nice looking progress GIF may be up to some challenges. For all its popularity, it is still hard to find ready-made progress GIF that fits perfectly in term of size, colour and appearance. Such tasks definitely become convenient when there are dedicated sites focus on creating and processing GIF image, precluding the need to download and install any application.  It is unlikely that a web service is able to meets all the need of creating GIF.  Therefore I recommend two sites that provide complementary service that might just help to generate your perfect Progress GIF. Essentially it requires the user to generate the Progress GIF in one site and then modifying the size on the the other.

(more…)

Read Full Post »

Image mess-up in post

I have to apologise that sometimes the images are mess-up in various posts. I do not have solution to this problem as apparently it seems like a issue in WordPress.com and has been formally reported before.  This occurrence happens once a while without warning and so if I happen to update a post with image that is hosted on WordPress.com, there is a possibility that the image will replace other image in other post. What actually happen to the post is that sometimes a image is been assigned a filename that already exists thus overwriting other image. However, I will replace those image in affected post eventually though it may take a while. It is quite irritating and this is one concern that those using WordPress.com should be aware of. One good solution to this problem is to use paid service that host WordPress.

Read Full Post »

Older Posts »