Changeset 23437 for main/trunk
- Timestamp:
- 2010-12-10T20:41:42+13:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/gli/src/org/greenstone/gatherer/gui/NewFolderOrFilePrompt.java
r18370 r23437 106 106 107 107 JLabel name_label = new JLabel(); 108 name_label.setComponentOrientation(Dictionary.getOrientation()); ;108 name_label.setComponentOrientation(Dictionary.getOrientation()); 109 109 name_field = new JTextField(getAutomaticName()); 110 110 name_field.setComponentOrientation(Dictionary.getOrientation()); 111 name_field.selectAll(); // select all the text in the textfield 112 111 113 if (type == FileManager.FILE_TYPE) { 112 114 name_label.setText(Dictionary.get("NewFolderOrFilePrompt.File_Name")); … … 116 118 name_field.setToolTipText(Dictionary.get("NewFolderOrFilePrompt.Folder_Name_Tooltip")); 117 119 } 120 118 121 JPanel button_pane = new JPanel(); 119 122 button_pane.setComponentOrientation(Dictionary.getOrientation()); … … 125 128 cancel_button.addActionListener(this); 126 129 ok_button.addActionListener(this); 130 getRootPane().setDefaultButton(ok_button); 127 131 128 132 // Layout
Note:
See TracChangeset
for help on using the changeset viewer.