JOptionPane.showMessageDialog(null, "Please enter the following PIN on the target PC: "+pinStr,
"Limelight", JOptionPane.INFORMATION_MESSAGE);
}
}).start();
PairingManager.PairState pairState = httpConn.pair(pinStr);
if (pairState == PairingManager.PairState.PIN_WRONG) {
message = "Incorrect PIN";
}
else if (pairState == PairingManager.PairState.FAILED) {
message = "Pairing failed";