Print this page
4719 Common patchset for jdk1.7 support preparation

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/krb5/kadmin/gui/dchanger/DurationHelper.java
          +++ new/usr/src/cmd/krb5/kadmin/gui/dchanger/DurationHelper.java
↓ open down ↓ 274 lines elided ↑ open up ↑
 275  275       * of reducing the number of overall listeners.
 276  276       */
 277  277      private class ButtonListener implements ActionListener {
 278  278          public void actionPerformed(ActionEvent e) {
 279  279              if (e.getSource() == ok) {
 280  280                  DurationHelper.this.durationHelperClose(true);
 281  281              } else if (e.getSource() == cancel) {
 282  282                  DurationHelper.this.durationHelperClose(false);
 283  283              } else if (e.getSource() == help) {
 284  284                  if (hd != null)
 285      -                    hd.show();
      285 +                    hd.setVisible(true);
 286  286                  else {
 287  287                      hd = new HelpDialog(DurationHelper. this.parent,
 288  288                          getString("Help for entering time duration"),
 289  289                                      false, 5, 45);
 290  290                      hd.setVisible(true);
 291  291                      hd.setText(getString(hrb, "DurationHelperHelp"));
 292  292                  }
 293  293              } else if (e.getSource() == compute) {
 294  294                  checkErrorAndSetTotal();
 295  295              }
↓ open down ↓ 36 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX