paul chapman:
you're right!! I just had to move the getHeight() and getWidth() statements after the setVisible(true).
I thought initially that I could write the statements in any order, because if I wrote
setVisible(true);
setSize(100,200);
the frame still showed up with dimensions 100,200 even though the setSize was written after the setVisible.
Rico: thanks for the link
I am currently using Eclipse to write
java code. But when I hover the mouse over any of the method names or keywords, I dont get a popup showing what that method or keyword does. I know Im supposed to so is there a way to inlude that documentation?