Who has some papers or documents on this title ? I plan to use java but not java applets since it wont be web based. I will introduce the presence of bit error probability.
Here you have some indications for simulation of Stop and Wait ARQ. You will have to figure out the Go Back N and the Selective Retransmission cases, but it is an start: http://www.ece.ubc.ca/~teerawat/publications/NS2/14-NewModules.pdf
Take into account this too: http://www.ns2ultimate.com/post/1539258323/arq-module-program-update
AFAIK. Selective retransmission is worth only if errors come in bursts, otherwise it makes no difference with respect to Go Back N, which has less overhead.