Question: Part 1: Write an image viewer using JAI Your JAI image viewer must have the following components and functionalities: A menu bar with a File
Part 1: Write an image viewer using JAI
Your JAI image viewer must have the following components and functionalities:
A menu bar with a File option that opens a file from a file dialog, and an Exit option to quit the application.
Zoom-in, Zoom-out and Normal buttons. You should enable and disable the buttons whenever appropriate.
A scrollable pane to view the image.
The viewer must support JPEG and BMP. You may add other file formats if you wish.
Part 2: Write a media player using JMF
Your MMF media player should have the following components and functionalities:
It should play video files in MPEG, AVI and MOV formats, and audio files in MIDI format. Feel free to add other supported formats.
A menu bar with an Open option to open a media file, a Close option to close the currently opened file, and an Exit option to quit the application.
A control that consists of the following buttons:
Playbutton plays the current video or audio file.
Stopbutton stops the current video or audio file.
Pausebutton stop playing the current video or audio file. When the play button is pressed, it continues to play the file from the paused position.
Position bar display the current position of the media file.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
