Changeset 12129


Ignore:
Timestamp:
2006-07-11T11:19:54+12:00 (18 years ago)
Author:
kjdon
Message:

modified description_textarea so its wraps, and lives in scroll pane

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/cdm/BuildTypeManager.java

    r12123 r12129  
    203203        description_textarea.setBorder(BorderFactory.createEmptyBorder(5,5,5,5));
    204204        description_textarea.setText(Dictionary.get("CDM.BuildTypeManager."+current_build_type+"_Description"));
     205        description_textarea.setLineWrap(true);
     206        description_textarea.setWrapStyleWord(true);
    205207        cancel_button = new GLIButton(Dictionary.get("General.Cancel"), Dictionary.get("General.Cancel_Tooltip"));
    206208       
     
    240242        content_pane.setLayout(new BorderLayout());
    241243        content_pane.add(radio_pane, BorderLayout.NORTH);
    242         content_pane.add(description_textarea, BorderLayout.CENTER);
     244        content_pane.add(new JScrollPane(description_textarea), BorderLayout.CENTER);
    243245        content_pane.add(button_pane, BorderLayout.SOUTH);
    244246
Note: See TracChangeset for help on using the changeset viewer.