Thank you so much, this worked perfectly for me! It also resolves problems with the design view of WindowBuilder.