Changeset 7542
- Timestamp:
- 2004-06-03T10:41:23+12:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/gui/NewCollectionDetailsPrompt.java
r7341 r7542 341 341 if(title_final.length() == 0) { 342 342 JOptionPane.showMessageDialog(Gatherer.g_man, Dictionary.get("NewCollectionPrompt.Title_Error"), Dictionary.get("NewCollectionPrompt.Error"), JOptionPane.ERROR_MESSAGE); 343 title.setForeground(Gatherer.config.getColor("coloring.error_foreground", false));344 title.setBackground(Gatherer.config.getColor("coloring.error_background", false));345 343 return; 346 344 } … … 349 347 if(titleClashes(title_final, null)) { 350 348 if(JOptionPane.showConfirmDialog(Gatherer.g_man, Dictionary.get("NewCollectionPrompt.Title_Clash"), Dictionary.get("General.Warning"), JOptionPane.OK_CANCEL_OPTION) == JOptionPane.NO_OPTION) { 351 title.setForeground(Gatherer.config.getColor("coloring.error_foreground", false));352 title.setBackground(Gatherer.config.getColor("coloring.error_background", false));353 349 return; 354 350 } … … 359 355 if(description_final.length() == 0) { 360 356 JOptionPane.showMessageDialog(Gatherer.g_man, Dictionary.get("NewCollectionPrompt.Description_Error"), Dictionary.get("NewCollectionPrompt.Error"), JOptionPane.ERROR_MESSAGE); 361 description.setForeground(Gatherer.config.getColor("coloring.error_foreground", false));362 description.setBackground(Gatherer.config.getColor("coloring.error_background", false));363 357 return; 364 358 }
Note:
See TracChangeset
for help on using the changeset viewer.