sender = new Thread(senderRunable);
sender = new Thread(senderRunable, "Packet Sender (" + getId() + ")");
    private void initThreads() {        // start receiver thread        Runnable receiverRunnable = new Runnable() {            public void run() {                while (receiver == Thread.currentThread()) {                    server.handle(id, readPacket());                }            }        };                receiver = new Thread(receiverRunnable);        receiver.start();                // start sender thread        Runnable senderRunable = new Runnable() {            public void run() {                while (sender == Thread.currentThread()) {                    sendFromQueue();                }            }        };                sender = new Thread(senderRunable);        sender.start();    }