Friday, August 28, 2009

Buy House Guide

Try to summarize a guide for buying a completed property.

1. Search for a property and research about it.

2. Everything ok and decided to buy, go to bank and check loan amount that you can get. Then prepare deposit, agent normally will request 2%(some request more) of the property price as deposit. If deal with property owner then you can discuss about the deposit, 500, 1000 or any amount which is agreed by both side.

Thursday, August 20, 2009

GWT - File Upload

I am trying to do file upload on GWT, I search through internet and unfortunately, I found no way of doing file uploads with RPC :-(

Solution i found still back to common HTTP upload, just tweak a little to fit into the GWT environment.
I post the solution here which mixed used of widget in GWT and GXT.
Please drop me a comment if you know of a better way, or way to improve what I have done.

Wednesday, August 19, 2009

GXT - Progress bar in grid

I want to add progress bar into the grid widget but the grid cell does not support widget inserting.

After doing research from internet, i found out one solution which is render the progress bar by inserting plain div. Here is the code i used to show the progress bar in the grid.

Tuesday, April 28, 2009

Applet GWT Integration

Due to some special reasons, some time we still need to display applet in the web application, but thats come to one problem, how to integrate the applet into the application if we using gwt for development ?

Friday, April 24, 2009

年薪10萬的乞丐 Part 2







Tuesday, April 21, 2009

How Resumable Download Work

Download, a common activity for most of the IT peoples. Some download manager software support a feature which is resume download, user can pause or stop the download and continue after some time. Starting I thought that must be very complicated implementation within the download manager in order to support resume feature.

Unfortunately, the concept behind that is not that complicated as i thought, after i study on the architecture resume download, I realize the theory behind that is so simple ! The trick to make a download resumable is the HTTP range request header. We know that download file from internet as stream bytes, so we can specific the range header like this

Saturday, April 18, 2009

Add Menu to Header of Tab Item in GXT

I want to add Context Menu to the Header of the TabItem under Ext-Gwt (GXT). Unfortunately i can't find any proper method for me to do that. The Header Item of Ext-GWT tab item was packaged protected and I couldn't override or extend it.

After research for some time, I find out another way to add context menu to header of the tab item. The example below shows the basic step to add the context menu into tabitem header.

Friday, April 17, 2009

Drag N Drop Grid To Tree in Ext-GWT (GXT)

Ext-Gwt(GXT) is a Java library for building rich internet applications with GWT. It provides various good features in the library. Developer can easily implements drag n drop features in their web applications with few line of codes. This is one simple example to drag from grid and drop the item into the tree.

First of all, we need to make the draggable grid. We can use the GridDragSource to do this.I just wrap the grid with the GridDragSource and it is done.

Grid draggableGrid = new Grid();
new GridDragSource(draggableGrid);

Monday, April 13, 2009

年薪10萬的乞丐 Part 1

我拎著剛買的levi's 從茂業出來,站在門口等一個朋友。


"先生 …… 行行好,給點吧。"我一時無聊便在口袋裡找出一個硬幣扔給他並同他攀談起來。

乞丐很健談。 " …… 我只在華強北一帶乞討,你知道嗎?我一掃眼就見到你。在茂業買 levi's ,一定捨得花錢 …… "



Tuesday, March 24, 2009

Google Webtool Kit (GWT)

Java Script, a powerful script for dynamic web application development. Basically, i don't like to use java script for websites development because the process is tedious and error-prone process, developers can spend 90% of their time working around for those non productive errors.

Thursday, March 12, 2009

@Override annotation

After back from New Zealand, this the first time i officially used Java 5 and above to do coding, it is bit hard for me to code in Java 5, because i am not familiar with the Java 5 new features such as annotation, generics , boxing unboxing those stuffs.

Saturday, February 28, 2009




我就只剩下大约RM 6,100而已,把钱以当时1纽币对2.55马币的兑换率,

P1 WIMAX Broadband Experience

Recently I subscribe to P1 WIMAX Broadband RM 99 package, but end out I found out the performance is not that good within my house area, maybe my house still not under coverage?

Tuesday, February 24, 2009

JUnit HTML Report

Normally developers write JUnit test cases for unit testing, and analysis the output, but some time we prefer a proper junit report or a nice presentation of junit results rather than all results that just printed in the console.

Friday, February 13, 2009


Recently Hadoop was introduced to me, it is a java based framework for distributed computing. This framework implements MapReduce, which is one programming model introduced by Google on Clustering Data Processing.

Wednesday, February 11, 2009

Cloud Computing

Cloud computing, it quite new to me,it seems like grid computing, utility computing or even like a software service.

According to wiki, it is Internet ("cloud") based development and use of computer technology ("computing"), whereby dynamically scalable virtualise resources are provided “as a service” over the Internet. Users need not have knowledge of, expertise in, or control over the technology infrastructure ("in the cloud") that supports them.

Monday, February 2, 2009





Saturday, January 10, 2009