out the gui, and it only has 1 JFrame for the love of god
Loop that freezes your program starts in its own thread, without ever touching the gui (btw I can't think of why your loop would be freezing the gui..what is it, infinite?)
Upon an event happening in that loop, you can use a sort of callback/Event listener/Etc to signal to the main thread that the gui needs to do something.
The main thread gets the event, and figures out what to do with the graphics
This should also consider thread safety of course, of which you can read a lot online
ok i see..but if i have one jframe with 5 tabs that means 5 different chromedrivers..with 5 logs in total..if the first accounts doesnt finish all the loops which takes ~1000seconds each
Обсуждают сегодня