Changeset 9116
- Timestamp:
- 2005-02-18T17:16:49+13:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/gems/GEMS.java
r9103 r9116 59 59 import org.greenstone.gatherer.Dictionary; 60 60 import org.greenstone.gatherer.GetOpt; 61 import org.greenstone.gatherer.cdm.*;62 61 import org.greenstone.gatherer.gui.GComboBox; 63 62 import org.greenstone.gatherer.gui.GLIButton; … … 140 139 //It is a centralized manager for all popups, then we use evt.Source() and determine where the 141 140 //event was performed 142 private PopupListener popupListener = n ew PopupListener(this);141 private PopupListener popupListener = null; 143 142 144 143 /** A tree that represents the current metadata sets associated with this collection. */ … … 163 162 } 164 163 165 // Load configuration file166 try {167 168 config = new Configuration(go.gsdl_path, null, null);169 }170 catch (Exception exception) {171 DebugStream.printStackTrace(exception);172 }173 164 GEMS GEMS; 174 165 GEMS = new GEMS(go.gsdl_path); … … 182 173 public GEMS(String gsdl_path) 183 174 { 175 //Load configuration file 176 this.self = this; 177 Utility.initImages(this); 178 config = new Configuration(gsdl_path, null, null); 179 184 180 this.dialog_options = new String[2]; 185 181 this.screen_size = config.screen_size; 186 this.self = this;187 182 this.gsdl_path = gsdl_path; 188 183 189 184 // Initialise some common images 190 Utility.initImages(this);185 popupListener = new PopupListener(this); 191 186 192 187 // Load help … … 1637 1632 cancel_button.setMnemonic(KeyEvent.VK_C); 1638 1633 Dictionary.setBoth(cancel_button, "General.Cancel", "General.Pure_Cancel_Tooltip"); 1639 //TextFieldEnabler ok_button_enabler = new TextFieldEnabler(ok_button);1640 1634 1641 1635 // Connection
Note:
See TracChangeset
for help on using the changeset viewer.