import javax.swing.*;
import java.awt.*;
public class mainFrame extends JFrame
{
public mainFrame(String sTitle,int iWidth,int iHeight)
{
Dimension dim = Toolkit.getDefaultToolkit().getScreenSize();//获取屏幕尺寸
ImageIcon ii = new ImageIcon("images/middle.gif");
import java.awt.*;
public class mainFrame extends JFrame
{
public mainFrame(String sTitle,int iWidth,int iHeight)
{
Dimension dim = Toolkit.getDefaultToolkit().getScreenSize();//获取屏幕尺寸
ImageIcon ii = new ImageIcon("images/middle.gif");