public JChecklistInfo(ChecklistDB clistdb,
ResourceBundle rb,
ChecklistTreeModel model,
Window owner) {
super(new String[] { rb.getString("Name:"),
rb.getString("Description:"),
rb.getString("Source:"),
rb.getString("Contributor:"),
rb.getString("Version:")
},
new int[] { JbirdDB.LIST_NAME_LEN_MAX,
JbirdDB.LIST_DESCRIPTION_LEN_MAX,
JbirdDB.LIST_SOURCE_LEN_MAX,
JbirdDB.LIST_CONTRIBUTOR_LEN_MAX,
JbirdDB.LIST_VERSION_LEN_MAX
});
clistchooser = new ChecklistChooser(model, clistdb,
owner);
clistchooser.setColumns(30);
GridBagConstraints c = new GridBagConstraints();
c.gridx = 1;
c.gridy = 11;
c.anchor = GridBagConstraints.EAST;
add(new JLabel(rb.getString("Parent_checklist:")), c);
c.gridx = 3;
c.anchor = GridBagConstraints.WEST;
add(clistchooser, c);
}
|