int w = f.getContentPane().getWidth();
int h = f.getContentPane().getHeight();
int x = f.getContentPane().getX();
int y = f.getContentPane().getY();
f.setVisible(false);
f.dispose();
// The request of sizing was 170x300, lets see if we managed that.
harness.check((w + i.left + i.right) == 170);
harness.check((h + i.top + i.bottom) == 300);
// The contentPane is per definition set to 0, 0