Quote Originally Posted by frosch
it calls the "createWidget" method once automatically, when the gui becomes visible.
It might be called too late. Try to invoke show() on all widgets you create in createWidget() and make sure that insertName() is invoked later.

Quote Originally Posted by wysota
Maybe you should call it sooner -- from within the constructor?
It won't work --- it's a virtual method.