I want a simple Java desktop application,a sample is attached. I want a replica of this one. Required functions are attached too. It takes not more than 1 hour for a right coder.
The application should support the following operations:
? Load Image: The application shall be able to load "JPG" and "PNG" images. The image will be
automatically scaled to fit to screen. Assuming that the size of the frame is width x height, you
can set the size of the image to (width − 40)/2 x height − 80 . Note that the aspect ratio of the
image is not preserved. You can use a "JLabel" to display the image as an icon after it is loaded.
? Scale Image: The application shall be able to scale the loaded image with the user-provided width
and height values.
? Blur Image: The application shall be able to blur the loaded image. The number of iterations
will be provided by the user.
? Detect Edges: The application shall be able to run edge detection algorithm on the loaded image.
Here are the general rules. Refer to the prototype for implementation details.
? You are supposed to use Swing to implement the GUI.
? All operations and image loading must be performed in a separate thread to keep the application
responsive during heavy computation. An running operation can be stopped by the user by clicking
a button. Although it is deprecated, you can use [url removed, login to view] to cancel a running task/operation.
? The application takes two optional command line arguments: the width and the height of the
screen. If not provided, screen size defaults to 800x600.