JPEG 2000 - does display depend on browser or applet?

Posted on 2006-04-04
Last Modified: 2013-11-18

I am interested in developing a java applet to disoplay medical images and for may reasons jpeg 2000 would be a good choice. Does the ability to display jpeg 2000 image rest with the code for displaying it being in the applet itself or dioes the browser always have to have a jpeg2000 plugin for the image to be diplayed correctly?


Question by:simonjohnmorley
    LVL 86

    Assisted Solution

    Theoretically it should simply be a case of including the jpeg 2000 library (as jar) in the applet's archive tag
    LVL 11

    Accepted Solution

    Java can display JP2 images itself, but not within the standard JDK API.

    However, a reference implementation (JJ2000) is available from which includes complete source code.

    Another open source project implemention of Jpeg 2000 can be found at

    I suspect that eventually jpeg 2000 support will be added to the Java API, but I haven't heard when....
    LVL 86

    Assisted Solution

    A fly in the ointment, applet-wise could be the library requiring native code. If that's the case, you would be better off using WebStart as it can handle native libraries
    LVL 92

    Assisted Solution

    Its the applets job, what you need is a decoder that would convert the jpeg2000 encoded image and produce an Image which your applet could then display.
    LVL 86

    Expert Comment


    Featured Post

    Training Course: Android App Development

    This course will involve creating widgets, customize list view, grid view, spinners, etc. Creating applications using audio, video, and SQLite database. Ending with publication on Google Play.

    Join & Write a Comment

    By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
    Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
    Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
    Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now