Take a glance at the methods in Component (Which JFrame extends) Especially getSize. Then look at Dimension if you do not know about it. Note that the left wall has an x of 0 and the top wall has a...