Changeset 11690
- Timestamp:
- 2006-04-26T09:13:54+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/java/org/nzdl/gsdl/GsdlCollageApplet/GsdlCollageApplet.java
r11646 r11690 57 57 58 58 /** Time lapse between repainting of the applet */ 59 protected int refreshDelay_ = 1500;59 protected int refreshDelay_ = 2000; 60 60 61 61 /** Stores an image and url pair and provides associated methods */ … … 123 123 } 124 124 125 125 126 if (verbosity_ >= 4) { 126 127 System.err.println("Got parameters."); 127 128 } 128 verbosity_=0; 129 129 130 if (caption_param != null && !caption_param.startsWith("_")) { 130 131 caption_ = caption_param; … … 238 239 239 240 240 241 241 /** Goes to the url associated with the image that is clicked on screen<br> 242 242 * Displays the url containing the image in a new window */ … … 257 257 258 258 if (m.find() ){ 259 260 259 from_url = cimage.url_; 261 260 } 262 261 else{ 263 from_url = new URL(cimage.from_url_ + "#" + cimage.name_);262 from_url = new URL(cimage.from_url_ + "#" + cimage.name_); 264 263 } 265 264 getAppletContext().showDocument(from_url,"gsdlDoc"); … … 277 276 { 278 277 278 download_thread_.start(); 279 280 display_thread_.start(); 281 279 282 paint = new Thread(new Runnable(){ 280 283 public void run() { … … 287 290 repaint(); 288 291 289 Thread.sleep( 1000);292 Thread.sleep(2000); 290 293 curr_thread = Thread.currentThread(); 291 294 } … … 301 304 302 305 paint.start(); 303 304 305 download_thread_.start(); 306 307 display_thread_.start(); 308 306 309 307 } 310 308
Note:
See TracChangeset
for help on using the changeset viewer.