Exemplo n.º 1
0
 /**
  * mediaFileSelected - called from FileBrowseFrame, sets the selected file and closes existing
  * windows starts playback of media file
  *
  * @param f the file that has been selected for playing
  */
 public void mediaFileSelected(File f) {
   mediaFile = f;
   fbf.dispose();
   df.dispose();
   // System.out.println("Playing "+f.getName()+" from "+targetBrowseAddress.getHostName()+" to
   // "+targetPlayAddress.getHostName());
   openControl();
 }
Exemplo n.º 2
0
 public void browse() {
   fbf = new FileBrowseFrame(this, targetBrowseAddress);
   fbf.setVisible(true);
 }