package com.open.cc;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class CutImage extends JFrame implements ActionListener{
/**实现界面输入输出图
*
*/
private static final long serialVersionUID = 1L;
private JTextField showpath;
private JButton sure;
private JLabel showpicture;
FileDialog fdg;
public static void main(String[] args){
new CutImage().setVisible(true);
}
public CutImage(){
super();
setTitle("CutImage");
//setSize(500,450);
setLocationRelativeTo(null);
setResizable(false);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
showpath = new JTextField(40);
sure=new JButton();
sure.addActionListener(this);
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class CutImage extends JFrame implements ActionListener{
/**实现界面输入输出图
*
*/
private static final long serialVersionUID = 1L;
private JTextField showpath;
private JButton sure;
private JLabel showpicture;
FileDialog fdg;
public static void main(String[] args){
new CutImage().setVisible(true);
}
public CutImage(){
super();
setTitle("CutImage");
//setSize(500,450);
setLocationRelativeTo(null);
setResizable(false);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
showpath = new JTextField(40);
sure=new JButton();
sure.addActionListener(this);