Question: 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

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.

4. The viewer must support JPEG and BMP. You may add other file formats if you wish.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!