import javax.swing.*;
public class Lesson23
{
public static void main ( String [] args )
{
int SHI;
// 循环检测程序 !
do
{
//输入框检测程序 !
System.out.println( "" );
System.out.println( "" );
String Hang = JOptionPane.showInputDialog( " 请输入图形的行数 : " );
int x = Integer.parseInt( Hang );
String Lie = JOptionPane.showInputDialog( "请输入图形的列数 :" );
int y = Integer.parseInt( Lie );
SHI = HuiTuHanshu( x, y );
}
while ( SHI==1 );
System.exit(0);
};
static int HuiTuHanshu ( int ...[ 查看全文 ]