Archive | November 2011

MUSIC PAINTING – Glocal Sound – Matteo Negrin

Very creative, beautiful and meaningful

How to use password field as text field in Java

This post will show you how to use password field as text field in Java like this:

Using password field as text field

You must have thoughts “Why do I do this?”, “I can use text field”,…. The answer is that it is convenient. You can see it according above figure. Instead of using extra text fields, labels,… to show errors, why don’t we use itself, password field, to show errors? That helps to save space and keep UI simple.

OK, you see the purpose of this? Let’s continue.

Read More…

How to draw on multiple controls in Windows Form

Problem: Draw on multiple controls in Windows Form? And this is what I want

Drawing on multiple controls in Windows Form

Hmm.. I met this problem when I did my project. I found a lot but there wasn’t anything meeting my requirement. But it’s not useless. There is the code to create a control as a transparent layer. Read More…