Opening another window in Processing is akin to have a separate class w/ a new set of callbacks such as settings(), setup(), draw(), etc:
If your class DHTable directly issues “drawing” commands such as ellipse(), fill(), etc., not only it has to know which PApplet’s canvas those commands will act upon, it’s gotta make sure they’re executed under the same Thread as that PApplet’s reference!