// Draw the "Please wait..." text
JLabel textLabel = new JLabel(vs.substituteMultiple(parent.langpack.getString("title.please.wait"), null));
textLabel.setHorizontalAlignment(JLabel.CENTER);
// Center the text
IzPanelConstraints ipc = new IzPanelConstraints();
ipc.setXStretch(1.0);
ipc.setYStretch(1.0);
add(textLabel, ipc);
getLayoutHelper().completeLayout();
}