i intend to do my project of making browser or media player in JAVA.i need help..someone please guide me how to go about it...and someone has any other bright idea of some other project which he has made or which is unique in nature..please advice and help...will be grateful for your help..

Dani AI

Generated

A quick, practical summary that builds on and : both a small browser and a media player are valid student projects, but they show different kinds of skills. A minimal WebView-based browser proves the basics fast; a media player gives room for real design work (library model, metadata, persistent storage, playlists, UX). Note that JavaFX has changed since this 2014 thread — the modern project uses OpenJFX and JavaFX modules are no longer bundled with recent JDKs, so include OpenJFX via Maven/Gradle or use the SDK. (openjfx.io)

A compact media-player MVP that demonstrates skill: local file open + play/pause/seek, simple playlist, background directory scan, metadata display, and a persistent library (SQLite or a JSON index). Add incremental features: cover art caching, smart folders, basic transcoding or streaming later. For tag reading/writing and container metadata, use a mature Java tagging library (jaudiotagger) and an MP4/ISO parser for container metadata. Use a build tool (Maven/Gradle) and add JavaFX modules from OpenJFX so the app runs on modern JDKs. (jthink.net)

Two important caveats for media playback: JavaFX’s built-in media support only covers a handful of codecs and is OS-dependent (MP3, AAC, H.264 in certain setups), so test on target platforms early. For robust, cross-platform format support and hardware offload, prefer native engines via bindings — e.g., vlcj/libVLC or GStreamer Java bindings — instead of relying solely on javafx.scene.media for production-quality playback. (docs.oracle.com)

If the browser path is chosen, WebView speeds development but omits many WebKit/Chromium features and developer tools; JS↔Java bridges are possible via WebEngine but some modern web APIs can be missing. For full Chromium compatibility consider embedding Chromium (JCEF) or a commercial component (JxBrowser) at the cost of extra packaging work or licensing. Prototype first with WebView; switch to an embedded Chromium if site compatibility or DRM is required. (mail.openjdk.org)

Recommended Answers

All 5 Replies

If I would have to chose, I would chose the browser, it is more easier, but also the media players it is okay.

For the browser and media player look at Java FX. -> WebView

Browser is easy, especially in JavaFX, maybe too easy because it doesn't leave a lot of places for you to show your skills. Media player may be better (also in Java FX) because you can add lots of value around the metadata, media library management etc. There's a lot of tutorial and sample code on the web to get you started.

can someone elaborate what is JavaFX....im new to java...

JavaFX is part of the latest Java API library. Ity's for GUIs and multi-media support. It is intended to replace Swing for new GUI applications. It has good built-in support for video and music. It is a standard part of the current Java SE 7 and 8 versions.

http://www.oracle.com/technetwork/java/javafx/overview/faq-1446554.html

ok thanks alot..

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.