コード例 #1
0
ファイル: Dlg.java プロジェクト: Rubusch/java
  /**
   * constructor
   *
   * @param frame The frame that called this dialog.
   * @param newModel The current model.
   */
  public Dlg(JFrame frame, ViewStateModel newModel) {
    super(frame);
    initGUI();

    // XXX property change listener stuff
    model = newModel;
    model.addPropertyChangeListener(this);
    updateViewState(model);
  }