JAI and JMF project
Budget: $30 – $250 CAD
Part 1: Write an image viewer using JAI .
Your JAI image viewer must have the following components and functionalities:
1. A menu bar with a File option that opens a file from a file dialog, and an Exit option to quit the application.
2. Zoom-in, Zoom-out and Normal buttons. You should enable and disable the buttons whenever appropriate.
3. 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:
1. It should play video files in MPEG, AVI and MOV formats, and audio files in MIDI format. Feel free to add other supported formats.
2. 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.
3. 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.
4. Position bar – display the current position of the media file.
Your JAI image viewer must have the following components and functionalities:
1. A menu bar with a File option that opens a file from a file dialog, and an Exit option to quit the application.
2. Zoom-in, Zoom-out and Normal buttons. You should enable and disable the buttons whenever appropriate.
3. 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:
1. It should play video files in MPEG, AVI and MOV formats, and audio files in MIDI format. Feel free to add other supported formats.
2. 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.
3. 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.
4. Position bar – display the current position of the media file.