Changeset 12727


Ignore:
Timestamp:
2006-09-13T13:22:45+12:00 (18 years ago)
Author:
kjdon
Message:

need to update cardlayout when called from GLI

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/gems/GEMS.java

    r12681 r12727  
    301301
    302302    getContentPane().add(card_pane,BorderLayout.CENTER);
    303 
    304303    setLocation((screen_size.width - SIZE.width) / 2, (screen_size.height - SIZE.height) / 2);
    305304    if (stand_alone)
     
    315314    public void displayMetadataSet(String metadata_path){
    316315    open_prompt.openMetadataSet(metadata_path);
     316    updateCardLayout(true);
    317317    setVisible(true);
    318318    }   
     
    321321    public void newMetadataSet(){
    322322    new_prompt.display();
    323     setVisible(true);
     323    if (!new_prompt.isCancelled()) {
     324        updateCardLayout(true);
     325        setVisible(true);
     326    }
     327
    324328    }
    325329
Note: See TracChangeset for help on using the changeset viewer.