Files
corejava/corejava第10版/v2ch11/imageIO/ImageIOTest.java
T
2019-05-22 19:31:49 +08:00

24 lines
580 B
Java

package imageIO;
import java.awt.*;
import javax.swing.*;
/**
* This program lets you read and write image files in the formats that the JDK supports. Multi-file
* images are supported.
* @version 1.04 2016-05-10
* @author Cay Horstmann
*/
public class ImageIOTest
{
public static void main(String[] args)
{
EventQueue.invokeLater(() ->
{
JFrame frame = new ImageIOFrame();
frame.setTitle("CompositeTest");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setVisible(true);
});
}
}