Frame for P3D Renderer

Thanks for all of your work on this. I was trying to find a solution for another thread:https://discourse.processing.org/t/implementing-a-processing-app-inside-another-one/44920/3
and my initial thought was to toggle the slot machine window on and off. That works ok with the default Processing window, but not with a P3D renderer. I thought my problem was not having the frame but I could never get it to work so I abandoned the idea and instead used another approach with the command line as a possible solution. I wish there was an opengl control that could be placed in a default window for drawing with Processing methods, but I don’t think such a thing exists in java.