So yes, you are finally doing UI development like it is 1998.
Congratulations.
Sarcasm aside, want to know what a proper GUI toolkit looks like? Take some time to play around with Qt.
Reply on news.ycombinator.com