private double t=0.0,ts=0.0; private double px[][]=new double[999][999]; private double py[][]=new double[999][999]; private int i=0,j=0,k,x,y,sum=0; private Button button_Caste,button_Clear,button_OK; private int flag1=0,flag2=0,flag3=0; private Dialog dialog; private Label label_dialog,label; private TextField text;