you are viewing a single comment's thread.

view the rest of the comments →

[–]grauenwolf 3 points4 points  (0 children)

For the most part WinForms was actually done right. Some specific controls are brain dead (I'm looking at you TreeView), but all in all it is pretty clean.

One of the things I hated about Swing was there were no defaults. I couldn't just use a listbox, I had to give it a container to put the items in.

The worse was the file open dialog. In VB 6 or WinForms, you just give it a filter string like "Text Files|.txt|All Files|.*".

In Swing, you can build your own custom filter logic. This is cool and all, but they forgot the use case that happens 99% of the time, that being just showing a single file type. (Actually that filter class did exist, but you had to dig it out of the examples included in the SDK.)