Changeset 11690


Ignore:
Timestamp:
2006-04-26T09:13:54+12:00 (18 years ago)
Author:
shaoqun
Message:

changed refresh delay

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/java/org/nzdl/gsdl/GsdlCollageApplet/GsdlCollageApplet.java

    r11646 r11690  
    5757
    5858    /** Time lapse between repainting of the applet */
    59     protected int refreshDelay_ = 1500;
     59    protected int refreshDelay_ = 2000;
    6060   
    6161    /** Stores an image and url pair and provides associated methods */
     
    123123    }
    124124
     125
    125126    if (verbosity_ >= 4) {
    126127        System.err.println("Got parameters.");
    127128    }
    128     verbosity_=0;
     129
    129130    if (caption_param != null && !caption_param.startsWith("_")) {
    130131        caption_ = caption_param;
     
    238239
    239240 
    240 
    241241    /** Goes to the url associated with the image that is clicked on screen<br>
    242242     *  Displays the url containing the image in a new window */
     
    257257
    258258                if (m.find() ){
    259            
    260259            from_url = cimage.url_;
    261260        }
    262261        else{
    263            from_url =  new URL(cimage.from_url_  + "#" + cimage.name_);
     262            from_url =  new URL(cimage.from_url_  + "#" + cimage.name_);
    264263        }
    265264        getAppletContext().showDocument(from_url,"gsdlDoc");
     
    277276    {
    278277   
     278    download_thread_.start();   
     279
     280    display_thread_.start();
     281
    279282         paint =  new Thread(new Runnable(){
    280283                public void run() {
     
    287290               repaint();
    288291               
    289                 Thread.sleep(1000);
     292                Thread.sleep(2000);
    290293                curr_thread = Thread.currentThread();
    291294            }
     
    301304
    302305        paint.start();
    303 
    304 
    305         download_thread_.start();   
    306 
    307     display_thread_.start();
    308 
     306   
    309307    }
    310308
Note: See TracChangeset for help on using the changeset viewer.