Example usage for java.awt Color PINK

List of usage examples for java.awt Color PINK

Introduction

In this page you can find the example usage for java.awt Color PINK.

Prototype

Color PINK

To view the source code for java.awt Color PINK.

Click Source Link

Document

The color pink.

Usage

From source file:jp.massbank.spectrumsearch.SearchPage.java

/**
 * ??//from  w  w  w  .j av  a2  s. c  om
 */
private void updateSelectQueryTable(JTable tbl) {

    // ?
    this.setCursor(waitCursor);

    int selRow = tbl.getSelectedRow();
    if (selRow >= 0) {
        tbl.clearSelection();
        Color defColor = tbl.getSelectionBackground();
        tbl.setRowSelectionInterval(selRow, selRow);
        tbl.setSelectionBackground(Color.PINK);
        tbl.update(tbl.getGraphics());
        tbl.setSelectionBackground(defColor);
    }
    // ?
    this.setCursor(Cursor.getDefaultCursor());
}

From source file:biogenesis.Organism.java

private static int getTypeColor(Color c) {
    if (c.equals(Color.RED) || c.equals(Utils.ColorDARK_RED))
        return RED;
    if (c.equals(Color.GREEN) || c.equals(Utils.ColorDARK_GREEN))
        return GREEN;
    if (c.equals(Color.CYAN) || c.equals(Utils.ColorDARK_CYAN))
        return CYAN;
    if (c.equals(Color.BLUE) || c.equals(Utils.ColorDARK_BLUE))
        return BLUE;
    if (c.equals(Color.MAGENTA) || c.equals(Utils.ColorDARK_MAGENTA))
        return MAGENTA;
    if (c.equals(Color.PINK) || c.equals(Utils.ColorDARK_PINK))
        return PINK;
    if (c.equals(Color.ORANGE) || c.equals(Utils.ColorDARK_ORANGE))
        return ORANGE;
    if (c.equals(Color.WHITE) || c.equals(Utils.ColorDARK_WHITE))
        return WHITE;
    if (c.equals(Color.GRAY) || c.equals(Utils.ColorDARK_GRAY))
        return GRAY;
    if (c.equals(Color.YELLOW) || c.equals(Utils.ColorDARK_YELLOW))
        return YELLOW;
    if (c.equals(Utils.ColorBROWN))
        return BROWN;
    return NOCOLOR;
}

From source file:cz.muni.fi.pv168.dressroomAppGui.MainMenuFrame.java

private void addUpdateClosetButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_addUpdateClosetButtonActionPerformed
    boolean nameOk = false;
    boolean ownerOk = false;
    String name = closetNameTextField.getText();
    String owner = closetOwnerTextField.getText();

    if (name.length() != 0)
        nameOk = true;// w ww.j  a  v a 2 s  .  c  o  m
    if (owner.length() != 0)
        ownerOk = true;

    if (nameOk && ownerOk) {
        addClosetSwingWorker = new AddClosetSwingWorker();
        addClosetSwingWorker.setName(name);
        addClosetSwingWorker.setOwner(owner);
        addClosetSwingWorker.execute();
        newUpdateClosetFrame.dispose();

        closetNameTextField.setBackground(Color.WHITE);
        closetOwnerTextField.setBackground(Color.WHITE);

        //System.out.println("current=" + currentCloset);
        closetsComboBox.setSelectedItem(currentCloset);
        //System.out.println("get="+closetsComboBox.getSelectedItem());

        new AllClosetsSwingWorker().execute();
    } else {
        if (!nameOk) {
            String err = bundle.getBundle(localeDirectory).getString("wrongNameMsg");
            JOptionPane.showMessageDialog(this, err);
            closetNameTextField.setBackground(Color.PINK);
        } else {
            closetNameTextField.setBackground(Color.WHITE);
        }
        if (!ownerOk) {
            String err = bundle.getBundle(localeDirectory).getString("wrongOwnerMsg");
            JOptionPane.showMessageDialog(this, err);
            closetOwnerTextField.setBackground(Color.PINK);
        } else {
            closetOwnerTextField.setBackground(Color.WHITE);
        }
    }

}

From source file:gda.gui.mca.McaGUI.java

private Color getSelectedPlotColor() {

    switch (selectedPlot) {
    case ENERGY_PLOT:
        return Color.PINK;
    default:/*  w ww.j av a 2s . com*/
        return Color.GREEN;
    }
}

From source file:cz.muni.fi.pv168.dressroomAppGui.MainMenuFrame.java

private void addUpdateItemButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_addUpdateItemButtonActionPerformed
    Date added = getSqlDate(Calendar.getInstance().getTime(), 0);
    boolean typeOk = false;
    boolean sizeOk = false;
    boolean genderOk = false;
    boolean noteOk = true;

    String type = itemTypeTextField.getText();
    String size = itemSizeTextField.getText();
    Gender gender = (Gender) genderComboBox.getSelectedItem();

    String note = itemNoteTextField.getText();

    if (type.length() != 0)
        typeOk = true;//from   w w w.  java 2s . c o m
    if (size.length() != 0)
        sizeOk = true;
    if (gender != null)
        genderOk = true;
    if (note.length() != 0)
        noteOk = true;

    if (typeOk && sizeOk && genderOk && noteOk) {
        addItemSwingWorker = new AddItemSwingWorker();
        addItemSwingWorker.setType(type);
        addItemSwingWorker.setSize(size);
        addItemSwingWorker.setGender(gender);
        addItemSwingWorker.setNote(note);
        addItemSwingWorker.setAdded(added);

        itemTypeTextField.setBackground(Color.WHITE);
        itemSizeTextField.setBackground(Color.WHITE);
        itemNoteTextField.setBackground(Color.WHITE);

        addItemSwingWorker.execute();
        newUpdateItemFrame.dispose();
        //allItemsFromClosetSwingWorker.execute();
        //refreshButton.doClick();
    } else {
        if (!typeOk) {
            String typeMsg = bundle.getBundle(localeDirectory).getString("wrongTypeMsg");
            JOptionPane.showMessageDialog(this, typeMsg);
            itemTypeTextField.setBackground(Color.PINK);
        } else {
            itemTypeTextField.setBackground(Color.WHITE);
        }
        if (!sizeOk) {
            String sizeMsg = bundle.getBundle(localeDirectory).getString("wrongSizeMsg");
            JOptionPane.showMessageDialog(this, sizeMsg);
            itemSizeTextField.setBackground(Color.PINK);
        } else {
            itemSizeTextField.setBackground(Color.WHITE);
        }
        if (!genderOk) {
            String genderMsg = bundle.getBundle("cz.muni.fi.pv168.dressroomAppGui/localization_" + local)
                    .getString("wrongGenderMsg");
            JOptionPane.showMessageDialog(this, genderMsg);
        }

        if (!noteOk) {
            String noteMsg = bundle.getBundle("cz.muni.fi.pv168.dressroomAppGui/localization_" + local)
                    .getString("wrongNoteMsg");
            JOptionPane.showMessageDialog(this, noteMsg);
            itemNoteTextField.setBackground(Color.PINK);
        } else {
            itemNoteTextField.setBackground(Color.WHITE);
        }

    }

}

From source file:org.sakaiproject.sitestats.impl.chart.ChartServiceImpl.java

private static Color parseColor(String color) {
    if (color != null) {
        if (color.trim().startsWith("#")) {
            // HTML colors (#FFFFFF format)
            return new Color(Integer.parseInt(color.substring(1), 16));
        } else if (color.trim().startsWith("rgb")) {
            // HTML colors (rgb(255, 255, 255) format)
            String values = color.substring(color.indexOf("(") + 1, color.indexOf(")"));
            String rgb[] = values.split(",");
            return new Color(Integer.parseInt(rgb[0].trim()), Integer.parseInt(rgb[1].trim()),
                    Integer.parseInt(rgb[2].trim()));
        } else {/*from   ww  w .  ja va2s  .com*/
            // Colors by name
            if (color.equalsIgnoreCase("black"))
                return Color.black;
            if (color.equalsIgnoreCase("grey"))
                return Color.gray;
            if (color.equalsIgnoreCase("yellow"))
                return Color.yellow;
            if (color.equalsIgnoreCase("green"))
                return Color.green;
            if (color.equalsIgnoreCase("blue"))
                return Color.blue;
            if (color.equalsIgnoreCase("red"))
                return Color.red;
            if (color.equalsIgnoreCase("orange"))
                return Color.orange;
            if (color.equalsIgnoreCase("cyan"))
                return Color.cyan;
            if (color.equalsIgnoreCase("magenta"))
                return Color.magenta;
            if (color.equalsIgnoreCase("darkgray"))
                return Color.darkGray;
            if (color.equalsIgnoreCase("lightgray"))
                return Color.lightGray;
            if (color.equalsIgnoreCase("pink"))
                return Color.pink;
            if (color.equalsIgnoreCase("white"))
                return Color.white;
        }
    }
    LOG.info("Unable to parse body background-color (color:" + color + "). Assuming white.");
    return Color.white;
}

From source file:org.sakaiproject.sitestats.impl.ServerWideReportManagerImpl.java

public static Color parseColor(String color) {
    if (color != null) {
        if (color.trim().startsWith("#")) {
            // HTML colors (#FFFFFF format)
            return new Color(Integer.parseInt(color.substring(1), 16));
        } else if (color.trim().startsWith("rgb")) {
            // HTML colors (rgb(255, 255, 255) format)
            String values = color.substring(color.indexOf("(") + 1, color.indexOf(")"));
            String rgb[] = values.split(",");
            return new Color(Integer.parseInt(rgb[0].trim()), Integer.parseInt(rgb[1].trim()),
                    Integer.parseInt(rgb[2].trim()));
        } else {//from ww w  . j  a v  a2  s.c om
            // Colors by name
            if (color.equalsIgnoreCase("black"))
                return Color.black;
            if (color.equalsIgnoreCase("grey"))
                return Color.gray;
            if (color.equalsIgnoreCase("yellow"))
                return Color.yellow;
            if (color.equalsIgnoreCase("green"))
                return Color.green;
            if (color.equalsIgnoreCase("blue"))
                return Color.blue;
            if (color.equalsIgnoreCase("red"))
                return Color.red;
            if (color.equalsIgnoreCase("orange"))
                return Color.orange;
            if (color.equalsIgnoreCase("cyan"))
                return Color.cyan;
            if (color.equalsIgnoreCase("magenta"))
                return Color.magenta;
            if (color.equalsIgnoreCase("darkgray"))
                return Color.darkGray;
            if (color.equalsIgnoreCase("lightgray"))
                return Color.lightGray;
            if (color.equalsIgnoreCase("pink"))
                return Color.pink;
            if (color.equalsIgnoreCase("white"))
                return Color.white;
        }
    }
    log.info("Unable to parse body background-color (color:" + color + "). Assuming white.");
    return Color.white;
}

From source file:edu.ucla.stat.SOCR.analyses.gui.NormalPower.java

protected void doZTestNormalCurve() {

    //////////////System.out.println("doZTestNormalCurve ");
    graphZScore.setType(0);/*  w w  w . j  a va 2  s .  c o m*/
    graphZScore.addMouseListener(this);
    double minOfMu = Math.min(xValue, mu0ZTest - 4 * sigmaZTest);
    double maxOfMu = Math.max(xValue, mu0ZTest + 4 * sigmaZTest);
    graphZScore.setHistogramRight(maxOfMu);
    graphZScore.setHistogramLeft(minOfMu);

    double minOfModel = 0, maxOfModel = 0; // of the model doamin.

    //minOfModel = Math.floor(minOfMu - 4 * sampleSE);//modelObject.getGraphLowerLimit();
    //maxOfModel = Math.ceil(maxOfMu + 4 * sampleSE);//modelObject.getGraphUpperLimit();

    float[] yFloat = new float[yData.length];
    for (int i = 0; i < yData.length; i++) {
        yFloat[i] = (float) yData[i];
    }

    NormalDistribution normal = new NormalDistribution(mu0ZTest, sigmaZTest);
    //////////////System.out.println("doZTestNormalCurve xValue = " + xValue);
    //////////////System.out.println("doZTestNormalCurve mu0ZTest = " + xValue);
    //////////////System.out.println("doZTestNormalCurve xValue = " + xValue);
    //////////////System.out.println("doZTestNormalCurve zScore = " + zScore);

    graphZScore.setPlotYMax(normal.getMaxDensity());
    graphZScore.setPlotYMin(0);
    graphZScore.setPlotXMax(maxOfMu);
    graphZScore.setPlotXMin(minOfMu);
    //////////////System.out.println("doZTestNormalCurve modelObject = " + modelObject);

    /************* mu0 ****************/
    modelObject.fitCurve(yFloat, (float) minOfModel, (float) maxOfModel, mu0ZTest, sigmaZTest, true, true);
    double[] modelXData0 = modelObject.returnModelX();
    double[] modelYData0 = modelObject.returnModelY();

    int modelType = modelObject.getModelType();
    //////////////System.out.println("doZTestNormalCurve modelType = " + modelType);

    /************* muA ****************/

    modelObject.fitCurve(yFloat, (float) minOfModel, (float) maxOfModel, mu0ZTest, sigmaZTest, true, true);
    double[] modelXDataA = modelObject.returnModelX();
    double[] modelYDataA = modelObject.returnModelY();
    modelType = modelObject.getModelType();
    //int arrayLegnth = modelXData.length;
    //////////////System.out.println("doZTestNormalCurve graphZScore = " + graphZScore);

    graphZScore.setModelCount(modelObject.getModelCount());
    graphZScore.setModel(modelXData0.length, modelXData0, modelYData0);
    String mu0Tick = "" + mu0ZTest;
    String sigmaTick = "" + sigmaZTest;
    int indexOfPoint = -1;
    String ciTickLeft = "", ciTickRight = "";
    ArrayList<String> listA = new ArrayList<String>();
    //////////////////////System.out.println("add to listA mu0Tick " + mu0Tick);
    listA.add(0, mu0Tick);
    listA.add(1, "");
    listA.add(2, sigmaTick);
    if (zScore < 0) {
        hypothesisType = NormalPowerResult.HYPOTHESIS_TYPE_LT;
    } else if (zScore > 0) {
        hypothesisType = NormalPowerResult.HYPOTHESIS_TYPE_GT;
    } else {
        hypothesisType = NormalPowerResult.HYPOTHESIS_TYPE_NE;
    }
    //////////////System.out.println("call graphZScore hypothesisType = " + hypothesisType);
    // there is really no user-specified hypothesisType for z score test.
    // hypothesisType is set and used here to determine which side of the curve has color.
    if (hypothesisType.equalsIgnoreCase(NormalPowerResult.HYPOTHESIS_TYPE_LT)) {
        ciTickLeft = (mu0ZTest - 1.645 * sigmaZTest) + "";
        ciTickRight = (mu0ZTest + 1.645 * sigmaZTest) + "";
        listA.add(3, ciTickLeft);
        listA.add(4, ciTickRight);

    } else if (hypothesisType.equalsIgnoreCase(NormalPowerResult.HYPOTHESIS_TYPE_GT)) {
        ciTickLeft = (mu0ZTest - 1.645 * sigmaZTest) + "";
        ciTickRight = (mu0ZTest + 1.645 * sigmaZTest) + "";
        listA.add(3, ciTickLeft);
        listA.add(4, ciTickRight);
    } else {
        ciTickLeft = (mu0ZTest - 1.96 * sigmaZTest) + "";
        ciTickRight = (mu0ZTest + 1.96 * sigmaZTest) + "";
        listA.add(3, ciTickLeft);
        listA.add(4, ciTickRight);
    }

    listA.add(5, hypothesisType);
    hypothesisType = null;
    //////////////System.out.println("call graphZScore hypothesisType = " + hypothesisType);

    graphZScore.setListOfTicks(listA);
    graphZScore.setOutlineColor1(Color.BLUE);
    graphZScore.setOutlineColor2(Color.BLUE);
    graphZScore.setFillArea(true);

    graphZScore.validate();
    //////////////System.out.println(" call graphZScore.repaint() graphZScore = " + graphZScore);
    graphZScore.repaint();
    //listA = null;

    graphZScore.setPreferredSize(new Dimension(400, 120));
    graphZScore.setBackground(Color.PINK);

    this.visualizePanel.validate();
    innerPanel.add(graphZScore);
    legendPanel.setVisible(true);
    visualizePanel.repaint();
    visualizePanel.validate();

}

From source file:edu.ucla.stat.SOCR.analyses.gui.NormalPower.java

protected void setVisualizePanel() {
    visualizePanel.setLayout(new BoxLayout(visualizePanel, BoxLayout.Y_AXIS));
    visualizePanel.setPreferredSize(new Dimension(400, 400));
    visualizePanel.setBackground(Color.WHITE);
    /*/*from   w w w .j ava 2  s. c  om*/
          visualizePanel2.setLayout(new BoxLayout(visualizePanel2, BoxLayout.Y_AXIS));
          visualizePanel2.setPreferredSize(new Dimension(400, 400));
          visualizePanel2.setBackground(Color.WHITE);
    */
    //legendPanel = new JPanel();

    Dimension top = graphRawData.getSize(null);

    graphRawData.setPreferredSize(new Dimension(400, 60));
    graphSampleMean.setPreferredSize(new Dimension(400, 120));

    legendPanel.setBackground(Color.WHITE);
    JLabel descriptionTop = new JLabel(
            "   Top: normal curves based on the data. Blue for the null hypothesis; red for the alternative hypothesis.   ");
    JLabel descriptionBottom = new JLabel("   Bottom: normal curves of two sample means.   ");

    legendPanel.add(descriptionTop, BorderLayout.NORTH);
    legendPanel.add(descriptionBottom, BorderLayout.CENTER);
    legendPanel.setLayout(new BoxLayout(legendPanel, BoxLayout.Y_AXIS));
    legendPanel.setBackground(Color.PINK);
    graphSampleMean.addMouseMotionListener(this);

    visualizePanel.removeAll();
    innerPanel = new JPanel();
    JScrollPane graphPane = new JScrollPane(innerPanel, JScrollPane.VERTICAL_SCROLLBAR_ALWAYS,
            JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS);

    visualizePanel.add(graphPane);
    innerPanel.setLayout(new BoxLayout(innerPanel, BoxLayout.Y_AXIS));
    visualizePanel.setLayout(new BoxLayout(visualizePanel, BoxLayout.Y_AXIS));

    innerPanel.add(legendPanel);
    //visualizePanel.setVisible(false);

    legendPanel.setVisible(false);
    /*
    visualizePanel2.removeAll();
    visualizePanel2.add(graphRawData);
    visualizePanel2.add(graphSampleMean);
    visualizePanel2.add(legendPanel);
    */
}

From source file:com.att.aro.diagnostics.GraphPanel.java

/**
 * Creating Alarm triggered data for graph plot
 *//*from w  ww  . ja  v  a  2 s.  co m*/
private static void populateAlarmPlot(XYPlot plot, TraceData.Analysis analysis) {

    final XYIntervalSeriesCollection alarmDataCollection = new XYIntervalSeriesCollection();
    if (analysis != null) {

        // Remove old annotation from previous plots
        Iterator<XYPointerAnnotation> pointers = pointerAnnotation.iterator();
        while (pointers.hasNext()) {
            plot.removeAnnotation(pointers.next());
        }
        pointerAnnotation.clear();

        final Map<AlarmType, XYIntervalSeries> seriesMap = new EnumMap<AlarmType, XYIntervalSeries>(
                AlarmType.class);
        for (AlarmType eventType : AlarmType.values()) {
            XYIntervalSeries series = new XYIntervalSeries(eventType);
            seriesMap.put(eventType, series);
            alarmDataCollection.addSeries(series);
        }
        final List<AlarmInfo> alarmInfos = analysis.getAlarmInfos();
        final Map<Double, AlarmInfo> eventMap = new HashMap<Double, AlarmInfo>();
        final Map<Double, ScheduledAlarmInfo> eventMapPending = new HashMap<Double, ScheduledAlarmInfo>();
        List<ScheduledAlarmInfo> pendingAlarms = getHasFiredAlarms(analysis.getScheduledAlarms());
        Iterator<ScheduledAlarmInfo> iterPendingAlarms = pendingAlarms.iterator();
        double firedTime = 0;
        while (iterPendingAlarms.hasNext()) {
            ScheduledAlarmInfo scheduledEvent = iterPendingAlarms.next();
            AlarmType pendingAlarmType = scheduledEvent.getAlarmType();
            if (pendingAlarmType != null) {
                firedTime = (scheduledEvent.getTimeStamp() - scheduledEvent.getRepeatInterval()) / 1000;
                seriesMap.get(pendingAlarmType).add(firedTime, firedTime, firedTime, 1, 0.8, 1);
                eventMapPending.put(firedTime, scheduledEvent);
                logger.fine("populateAlarmScheduledPlot type:\n" + pendingAlarmType + "\ntime "
                        + scheduledEvent.getTimeStamp() + "\nrepeating " + firedTime);
            }
        }

        Iterator<AlarmInfo> iter = alarmInfos.iterator();
        while (iter.hasNext()) {
            AlarmInfo currEvent = iter.next();
            if (currEvent != null) {
                AlarmType alarmType = currEvent.getAlarmType();
                if (alarmType != null) {
                    firedTime = currEvent.getTimeStamp() / 1000;

                    /*
                     * Catching any alarms align to quanta as being
                     * inexactRepeating alarms
                     */
                    if ((currEvent.getTimestampElapsed() / 1000) % 900 < 1) {
                        seriesMap.get(alarmType).add(firedTime, firedTime, firedTime, 1, 0, 0.7);

                        // Adding an arrow to mark these inexactRepeating alarms
                        XYPointerAnnotation xypointerannotation = new XYPointerAnnotation(alarmType.name(),
                                firedTime, 0.6, 3.92699082D);
                        xypointerannotation.setBaseRadius(20D);
                        xypointerannotation.setTipRadius(1D);
                        pointerAnnotation.add(xypointerannotation);
                        plot.addAnnotation(xypointerannotation);

                        logger.info("SetInexactRepeating alarm type: " + alarmType + " time " + firedTime
                                + " epoch " + currEvent.getTimestampEpoch() + " elapsed:\n"
                                + currEvent.getTimestampElapsed() / 1000);
                    } else {
                        seriesMap.get(alarmType).add(firedTime, firedTime, firedTime, 1, 0, 0.5);
                    }
                    eventMap.put(firedTime, currEvent);
                }
            }
        }
        XYItemRenderer renderer = plot.getRenderer();
        renderer.setSeriesPaint(alarmDataCollection.indexOf(AlarmType.RTC_WAKEUP), Color.red);

        renderer.setSeriesPaint(alarmDataCollection.indexOf(AlarmType.RTC), Color.pink);

        renderer.setSeriesPaint(alarmDataCollection.indexOf(AlarmType.ELAPSED_REALTIME_WAKEUP), Color.blue);

        renderer.setSeriesPaint(alarmDataCollection.indexOf(AlarmType.ELAPSED_REALTIME), Color.cyan);

        renderer.setSeriesPaint(alarmDataCollection.indexOf(AlarmType.UNKNOWN), Color.black);

        // Assign ToolTip to renderer
        renderer.setBaseToolTipGenerator(new XYToolTipGenerator() {
            @Override
            public String generateToolTip(XYDataset dataset, int series, int item) {
                AlarmInfo info = eventMap.get(dataset.getX(series, item));
                Date epochTime = new Date();
                if (info != null) {

                    epochTime.setTime((long) info.getTimestampEpoch());

                    StringBuffer displayInfo = new StringBuffer(rb.getString("alarm.tooltip.prefix"));
                    displayInfo.append(MessageFormat.format(rb.getString("alarm.tooltip.content"),
                            info.getAlarmType(), info.getTimeStamp() / 1000, epochTime.toString()));
                    if ((info.getTimestampElapsed() / 1000) % 900 < 1) {
                        displayInfo.append(rb.getString("alarm.tooltip.setInexactRepeating"));
                    }
                    displayInfo.append(rb.getString("alarm.tooltip.suffix"));
                    return displayInfo.toString();
                }
                ScheduledAlarmInfo infoPending = eventMapPending.get(dataset.getX(series, item));
                if (infoPending != null) {

                    epochTime.setTime(
                            (long) (infoPending.getTimestampEpoch() - infoPending.getRepeatInterval()));

                    StringBuffer displayInfo = new StringBuffer(rb.getString("alarm.tooltip.prefix"));
                    displayInfo.append(MessageFormat.format(rb.getString("alarm.tooltip.contentWithName"),
                            infoPending.getAlarmType(),
                            (infoPending.getTimeStamp() - infoPending.getRepeatInterval()) / 1000,
                            epochTime.toString(), infoPending.getApplication(),
                            infoPending.getRepeatInterval() / 1000));
                    displayInfo.append(rb.getString("alarm.tooltip.suffix"));
                    return displayInfo.toString();
                }
                return null;
            }
        });

    }

    plot.setDataset(alarmDataCollection);
}