Original Post
Hey guys!
Lets say I have a frame:
Frame frame1 = new Frame(); //or whatever...
JPanel panel = new JPanel();
panel.setSize(100,100);
frame1.setSize(panel.getWidth(),panel.getHeight());
//That will create the same size but not counting that
//I want the actual "content" area to be of the size I pass.
//the Frame borders will take up some size of the dimension
//I set...
So, could someone tell me how to set the size the way I want with a normal Frame?
thank you!
[edited by - bilsa on May 11, 2004 5:16:42 PM]