Loading...
Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Running threads in background

Jonas J
6 years ago Mar 24, 2016 12:51pm
Teppo Kurki
6 years ago Mar 24, 2016 1:05pm

Hi,

I don't see a new thread anywhere. Please try the following:

Thread thread = new Thread(new RunScenario());
thread.start();

-tepi

Jonas J
6 years ago Mar 24, 2016 1:19pm
Wolf Michna
6 years ago Mar 27, 2016 5:54pm
Teppo Kurki
6 years ago Mar 29, 2016 6:29am
Wolf Michna
6 years ago Apr 09, 2016 8:00am