Java coding Write the command needed to position a frame of
Java coding..
Write the command needed to position a frame of width 200 and height 300
at 100 pixels from the left and 100 pixels from the top of the screen.
Solution
Answer:
frame.setBounds(100, 100, 200, 300);
first parameter indicates 100 pixels from the left
second parameter indicates 100 pixels from the top of the screen.
third parameter indicates 200 width
fourth parameter indicates 300 height
