Construct a GoToPage window (no actions yet)
super(f);
setTitle(title);
Label l = new Label("Page Number:");
tf = new TextField(4);
tf.setText("1");
// set the text initially selected so you can easily overtype it
tf.selectAll();
ok = new JButton("OK");
can = new JButton("Cancel");
Panel top = new Panel();
top.add(l);
top.add(tf);
Panel bottom = new Panel();
bottom.add(ok);
bottom.add(can);
add(BorderLayout.NORTH, top);
add(BorderLayout.SOUTH, bottom);
pack();