You are on page 1of 1

String a = (String.

valueOf(t)+"ms");

t=Math.round((encryptDecrypt.t2-encryptDecrypt.t1)/(1000000));
timeText.getText(String.valueOf(t)+"ms");

private JTextField timeText;

public abc(J)
{
timeText = (String.valueOf(t)+"ms:);

EncryptDecrypt encryptDecrypt = new EncryptDecrypt();


t=Math.round((encryptDecrypt.t2-encryptDecrypt.t1)/(1000000));
aString = Double.toString(t);
timeText.setText(aString+"ms");

public String getT() {


return this.aString;
}

You might also like