{
  "id": "enwiki-001301639013",
  "slug": "quicktime-for-java",
  "title": "QuickTime for Java",
  "qid": "",
  "lead": "QuickTime for Java or QTJ is a software library that allows software written in the Java programming language to provide multimedia functionality, by making calls into the native QuickTime library. In practice, it allows Java applications on Mac OS, Mac OS X and Microsoft Windows to support the capture, editing, playback, and export of many different media formats and codecs. QTJ has been deprecated by Apple.",
  "body": "QuickTime for Java or QTJ is a software library that allows software written in the Java programming language to provide multimedia functionality, by making calls into the native QuickTime library. In practice, it allows Java applications on Mac OS, Mac OS X and Microsoft Windows to support the capture, editing, playback, and export of many different media formats and codecs. QTJ has been deprecated by Apple. import java.io.File; import java.awt.*; import quicktime.*; import quicktime.std.movies.Movie; import quicktime.app.view.QTFactory; import quicktime.io.*; public class TrivialQTJPlayer extends Frame { public static void main (String[] args) { try { QTSession.open(); Frame f = new TrivialQTJPlayer(); f.pack(); f.setVisible (true); } catch (Exception e) { e.printStackTrace(); } } public TrivialQTJPlayer() throws QTException { FileDialog fd = new FileDialog (this, \"TrivialJMFPlayer\", FileDialog.LOAD); fd.setVisible(true); File f = new File (fd.getDirectory(), fd.getFile()); OpenMovieFile omf = OpenMovieFile.asRead (new QTFile (f)); Movie m = Movie.fromFile (omf); Component c = QTFactory.makeQTComponent(m).asComponent(); add (c); m.start(); } } Most of the code in this example involves itself with setting up the GUI. The only calls to QTJ are the calls to OpenMovieFile.asRead() and Movie.fromFile() , which create a QuickTime movie from the specified file, and the calls to create an AWT component from the QTFactory . This example puts the movie into the frame and immediately starts playing it; if a control bar (aka a \"scrubber\") were desired, you would create a MovieController from the Movie and then create a component from the controller, rather than from the movie.",
  "categories": [
    "22959511",
    "23603337",
    "24745122",
    "26220375",
    "36238041",
    "72680153"
  ],
  "license": "CC BY-SA 4.0",
  "source_uri": "https://en.wikipedia.org/w/index.php?oldid=1301639013",
  "content_hash": "",
  "created_at": null,
  "updated_at": 1753046488.0,
  "claims": [],
  "contradictions": [],
  "confidence": 0.6,
  "csl": {
    "id": "enwiki-001301639013",
    "type": "webpage",
    "title": "QuickTime for Java",
    "author": [
      {
        "family": "Anticloud FZ LLE",
        "literal": "Anticloud FZ LLE"
      }
    ],
    "container-title": "encyclopegia.org",
    "publisher": "Anticloud FZ LLE",
    "publisher-place": "Dubai, United Arab Emirates",
    "URL": "https://encyclopegia.org/a/quicktime-for-java",
    "issued": {
      "date-parts": [
        [
          2026,
          11,
          12
        ]
      ]
    },
    "accessed": {
      "date-parts": [
        [
          2026,
          11,
          12
        ]
      ]
    },
    "license": "CC BY-SA 4.0",
    "DOI": "eo1:enwiki-001301639013",
    "isBasedOn": "https://en.wikipedia.org/w/index.php?oldid=1301639013",
    "note": "Immutable snapshot enwiki-001301639013"
  }
}