Was wondering if there’s a way to swap out the GWindow icon on the upper left corner of new GWindows?
Spent a couple hours researching and experimenting before posting here. I found one old post where you gave a hint about it but was unable to implement it. Perhaps your advice on that thread was for an older version of processing.
In any case, is this still possible? I’ve got my app mostly completed in no small part thanks to your incredible support, and I’ve got the main icon for the app switched out, but all the GWindows I’m using show the processing blue arrow instead, which looks tacky.
Ideally I’d even like to be able to suppress that icon, or jury-rig it with a transparent GIF or PNG so there’s no icon there at all, but some level of control would be nice
A GWindow is effectively a separate Processing window created on the main sketch thread so the window frame type and therefore decoration depends on the window type
JAVA2D - JFrame (windowed) control
P2D/P3D - OpenGL window
We have the secondary complication that these are further dependent on the OS. The image below shows the main sketch window (left) and GWindow (right) from the Mandelbrot example that comes with G4P as presented on an iMac. Notice the lack of border title icon.
Thank you Peter. I’m on a Mac too - but the app is going to be for Mac, Win, and Linux, so I need to figure out how it will work on the other platforms.
I really appreciate your time.
The appIcon image was already loaded, so I did the following per your suggestion above: