import javax.swing.JFrame; 

class One extends JFrame {
  One(int number) {
    this.getContentPane().add(new Two(number));
    this.setSize(400, 500); 
    this.setVisible(true);  
    // this.setDefaultCloseOperation(EXIT_ON_CLOSE); // not needed in DrJava 
  }
  public static void main(String[] args) {
    One a = new One(Integer.parseInt( args[0] ));  
  }
}