area.setEnabled(false);
    private JPanel buildContentPanel(Map details)    {        JPanel content = new JPanel();        content.setLayout(new GridBagLayout());        content.setBorder(BorderFactory.createEmptyBorder(5, 10, 5, 10));        GridBagConstraints c = new GridBagConstraints();        c.fill = GridBagConstraints.HORIZONTAL;        c.anchor = GridBagConstraints.WEST;        c.insets = new Insets(3, 3, 3, 3);        Iterator i = details.keySet().iterator();        JLabel label;        JTextField area;        String key, value;        fields = new HashMap(details.size());        while (i.hasNext()) {            ++c.gridy;            c.gridx = 0;            key = (String) i.next();            value = (String) details.get(key);            label = UIUtilities.setTextFont(key);            c.gridwidth = GridBagConstraints.RELATIVE; //next-to-last            c.fill = GridBagConstraints.NONE;      //reset to default            c.weightx = 0.0;              content.add(label, c);            area = new JTextField(value);            area.setEditable(false);            label.setLabelFor(area);            fields.put(key, area);            c.gridx = 1;            c.gridwidth = GridBagConstraints.REMAINDER;     //end row            c.fill = GridBagConstraints.HORIZONTAL;            c.weightx = 1.0;            content.add(area, c);          }        return content;    }