public void send()
	{
		 try {
			    InputStream inputStream= new FileInputStream(wayOfFile);
			    
			    byte buf[]=new byte[2045];
			    int len = inputStream.read(buf);
			    Frame fr,fr1,fr2;
			    do
			    {
			    fr1 = new Frame('H',nameOfFile,size);
			    this.out.write(fr1.frToByte(fr1.frameSize()-3),0,fr1.frameSize()*2);
			    suspend();
			    } while(status==false);
			    int len1=0;
			    do
			    {
			    	fr = new Frame('I',buf);
			    	len1=len1+len;
			    	f.progressBar.setValue(len1);
			    	this.out.write(fr.frToByte(len),0,(len+3)*2);
			    	suspend();
			    	if(this.status==true)
			    	{
			    		len=inputStream.read(buf);
			    	}
			    } while(len>0);
			    
			    do
			    {
			    fr2 = new Frame('H');
			    this.out.write(fr2.specFrToByte());
			    suspend();
			    } while(status==false);
			    stop();

			    } catch (IOException e) {}
		 f.b1.setVisible(true);
		 f.b4.setEnabled(true);
		 f.b2.setEnabled(true);
	}