ApplicationDetailsDialog(final Root root) { super(root.getCoordinator().getMainFrame(), "Application Details - IceGrid Admin", true); setDefaultCloseOperation(JDialog.HIDE_ON_CLOSE); _mainFrame = root.getCoordinator().getMainFrame(); _name.setEditable(false); _uuid.setEditable(false); _createTime.setEditable(false); _createUser.setEditable(false); _updateTime.setEditable(false); _updateUser.setEditable(false); _revision.setEditable(false); FormLayout layout = new FormLayout("right:pref, 3dlu, pref", ""); DefaultFormBuilder builder = new DefaultFormBuilder(layout); builder.setDefaultDialogBorder(); builder.setRowGroupingEnabled(true); builder.setLineGapSize(LayoutStyle.getCurrent().getLinePad()); builder.append("Name", _name); builder.nextLine(); builder.append("UUID", _uuid); builder.nextLine(); builder.append("Created", _createTime); builder.nextLine(); builder.append("Created by", _createUser); builder.nextLine(); builder.append("Last Update", _updateTime); builder.nextLine(); builder.append("Updated by", _updateUser); builder.nextLine(); builder.append("Revision", _revision); builder.nextLine(); Container contentPane = getContentPane(); contentPane.add(builder.getPanel()); pack(); setResizable(false); }