Auf Thema antworten

Mal Grundsätzlich:

Ein einfacher Thread geht z.B. so:


[code=Java]new Thread() {


    //your class fields


    @Override

    public void run() {

        //your code

    }

   

    private <whatever> yourMethods(){

        // more code

    }


}.start();[/code]



Oben