Fixed for proper use in Window Builder

I wasn't able to drag and drop into Window Builder for Eclipse, so I
modified the class to allow for it.