Package com.jbidwatcher.ui.util

Examples of com.jbidwatcher.ui.util.OptionUI


   * if there are any outstanding snipes.
   */
  public void shutdown() {
    try {
      if (AuctionEntry.snipedCount() != 0) {
        OptionUI oui = new OptionUI();
        //  Use the right parent!  FIXME -- mrs: 17-February-2003 23:53
        int rval = oui.promptWithCheckbox(null, "There are outstanding snipes that will not be able to fire while " + Constants.PROGRAM_NAME +
            " is not running.  Are you sure you want to quit?", "Pending Snipes confirmation",
            "prompt.snipe_quit");
        if (rval == JOptionPane.CANCEL_OPTION) return;
      }
    } catch(Exception e) {
View Full Code Here


    }

    JConfig.setConfiguration("updates.lastConfig", Long.toString(lastStamp));
    if(cfgChanged) JConfig.updateComplete();
    if(alert != null) {
      OptionUI oui = new OptionUI();
      Dimension aboutBoxSize = new Dimension(495, 245);

      oui.showHTMLDisplay(alert, aboutBoxSize, Constants.PROGRAM_NAME + " News Alert...");
    }
  }
View Full Code Here

  private void handleIgnorable(String configstr) {
    int configLen = configstr.indexOf(' ');
    String realMsg = configstr.substring(configLen + 1);
    configstr = configstr.substring(0, configLen);
    OptionUI oui = new OptionUI();
    oui.promptWithCheckbox(null, realMsg, "Alert", configstr, JOptionPane.PLAIN_MESSAGE, JOptionPane.OK_OPTION);
  }
View Full Code Here

        }
        m_within.dispose();
        m_within = null;
      }
    };
    OptionUI oui = new OptionUI();
    JFrame newFrame = oui.showChoiceTextDisplay(new JHTMLOutput("Version " + ue.getVersion() + " available!", fullMsg).getStringBuffer(),
        new Dimension(UPDATE_FRAME_WIDTH, UPDATE_FRAME_HEIGHT), "Version " + ue.getVersion() + " available!", buttons,
        "Upgrade information", mal);
    mal.setFrame(newFrame);
  }
View Full Code Here

      JConfig.setConfiguration("temp.db.user", mysqlUser.getText());
      JConfig.setConfiguration("temp.db.pass", new String(mysqlPassword.getPassword()));
    }

    if(JConfig.queryConfiguration("temp.db.switch2derby") != null) {
      if(mOui == null) mOui = new OptionUI();
      mOui.promptWithCheckbox(null, "You will have to shut down JBidwatcher and restart for the database change to take effect.", "JBidwatcher restart required", "prompt.db_change_restart");
    }

  }
View Full Code Here

TOP

Related Classes of com.jbidwatcher.ui.util.OptionUI

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.