A few years ago I wrote a Soduko solver in Java. Works great, except I have to edit the source file to change the input because I could never get Swing to work like my mental model said it should. Cut ...
So I've got my JFrame, and it contains an OpenGL canvas, which has to be set and resized based on pixel dimensions. I'd like to be able to resize the whole window, but I need to know the dimensions of ...