I naively expected (pane.getY() == 0) which would imply that pane and the JFrame have the same y-coordinate system. If pane.getY() == 0, you would share my confusion, right? If so, you presumably...
Type: Posts; User: jnewcomer
I naively expected (pane.getY() == 0) which would imply that pane and the JFrame have the same y-coordinate system. If pane.getY() == 0, you would share my confusion, right? If so, you presumably...
Edited to highlight the code as you requested. Thanks for pointing that out; I didn't know about it.
Will check into the SwingUtilities as you suggest, but I'm still curious to know the semantics...
I am a complete newcomer to Java, so apologies for this basic question. I have a JPanel sitting inside of a JFrame. I call the panel's getY() method, and expect the result to give me the...