This post is in addition to the previous article about plugin development but with a focus on UI...
How to write a simple IntelliJ plugin