From Java Swing Dimension JFormattedTextField bite

Today, I poke around Java Swing to build up a simple data entry. One thing I wanted to do is to create a number input field so as usually I hack through the API document and found this little JFormattedTextField component. By the judge from the API point of view it is pretty easy to use. … Continue reading From Java Swing Dimension JFormattedTextField bite

Joljet mobile client

A few years ago, I built a music portal to experience ExtJS and of cause to create my own music listening experience. It was fun and I have learnt a lot from this exercise from hand craft the app, built script and caching optimization. As always with great power come great responsibility. Due to the size … Continue reading Joljet mobile client

Code Reading Skills for ExtJS newbie

@samnangchhun wrote a blog post talking about this particular subject, I just want to share my experience exploring a new tool especially the ExtJS library from sencha.com Now there is something special about sencha.com which I love, they put alot of effort in documenting their library API as well as sample projects in every release. … Continue reading Code Reading Skills for ExtJS newbie

[mac os x lion] Reset a user’s password in single user mode

Lesson learn for mac newbie, always show input method in login screen otherwise here how you going to get back into your machine. Boot into single user mode (press Command-S at power on) Type fsck -fy Type mount -uw / Type launchctl load /System/Library/LaunchDaemons/com.apple.opendirectoryd.plist Type dscl . -passwd /Users/username password, replacing username with the targeted user and password with the desired password. Ignore … Continue reading [mac os x lion] Reset a user’s password in single user mode

Build monodevelop on ubuntu 11.10

Again? yes but this time I don't have to built mono runtine Ubuntu 11.10 packed with mono 2.10.5 which good enough since what I am after is dynamic. However monodevelop I got from Ubuntu Software Center (USC) is 2.6 and the official release is 2.8.x so I take my on my gut to try and … Continue reading Build monodevelop on ubuntu 11.10