Changeset 132
- Timestamp:
- 01/27/08 19:14:16 (1 year ago)
- Files:
-
- MediAnnotate/trunk/.classpath (modified) (1 diff)
- MediAnnotate/trunk/netscape.jar (added)
- MediAnnotate/trunk/src/org/mediannotate/app/MediAnnotater.java (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
MediAnnotate/trunk/.classpath
r3 r132 3 3 <classpathentry kind="src" path="src"/> 4 4 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> 5 <classpathentry kind="lib" path="netscape.jar"/> 5 6 <classpathentry kind="output" path="bin"/> 6 7 </classpath> MediAnnotate/trunk/src/org/mediannotate/app/MediAnnotater.java
r124 r132 1 1 package org.mediannotate.app; 2 import netscape.javascript.*; 2 3 3 4 import java.awt.GridLayout; … … 84 85 getContentPane().setLayout(new GridLayout(1,1)); 85 86 getContentPane().add(myPlayerPanel, 0); 86 String url = getParameter("url"); 87 myController.loadMovie(url); 88 String mediannotate = null; 87 89 88 try { 90 mediannotate = URLDecoder.decode(getParameter("mediannotate"), "UTF-8"); 89 //Let the browser know it can now pass stuff in. 90 JSObject.getWindow(this).eval("appletFinishedLoading();"); 91 91 } catch (Exception e) { 92 // TODO Auto-generated catch block92 System.out.println(e.getMessage()); 93 93 e.printStackTrace(); 94 94 } 95 96 if(mediannotate != null) MediAnnotater.setTime(mediannotate); 95 97 96 addKeyListener(myPlayerPanel); 98 97 }
