JPanel pnlBuildInfo = UIFactory.makeJPanel();
pnlBuildInfo.setLayout(new GridBagLayout());
GridBagConstraints gbc = new GridBagConstraints();
UserData userData = getApplication().getUserData();
// The WebStart version of this tool allows the user to
// select a build to upgrade. Running the tool from the
// command line implies a build.
if (Utils.isWebStart()) {
lblServerLocation = UIFactory.makeJLabel(serverLocationDescriptor);
tcServerLocation =
UIFactory.makeJTextComponent(serverLocationDescriptor,
userData.getServerLocation());
JButton butBrowse =
UIFactory.makeJButton(INFO_BROWSE_BUTTON_LABEL.get(),
INFO_BROWSE_BUTTON_TOOLTIP.get());