This made the virtual keyboard not show up if the same component peer tried to request a virtual keyboard later on. InputMethodManager.showSoftInput() would return false which is most likely because the component in focus has not changed, yet the previous component having focus was not really able to (at a time, during the construction) really take the focus.