private void initGraphics() {

        segmentA1 = new Region();
        segmentA1.getStyleClass().setAll("a1");
        segmentMap.put(SixteenSegment.Segment.A1, segmentA1);

        segmentA2 = new Region();
        segmentA2.getStyleClass().setAll("a2");
        segmentMap.put(SixteenSegment.Segment.A2, segmentA2);

        segmentB = new Region();
        segmentB.getStyleClass().setAll("b");
        segmentMap.put(SixteenSegment.Segment.B, segmentB);

        segmentC = new Region();
        segmentC.getStyleClass().setAll("c");
        segmentMap.put(SixteenSegment.Segment.C, segmentC);

        segmentD2 = new Region();
        segmentD2.getStyleClass().setAll("d2");
        segmentMap.put(SixteenSegment.Segment.D2, segmentD2);

        segmentD1 = new Region();
        segmentD1.getStyleClass().setAll("d1");
        segmentMap.put(SixteenSegment.Segment.D1, segmentD1);

        segmentE = new Region();
        segmentE.getStyleClass().setAll("e");
        segmentMap.put(SixteenSegment.Segment.E, segmentE);

        segmentF = new Region();
        segmentF.getStyleClass().setAll("f");
        segmentMap.put(SixteenSegment.Segment.F, segmentF);

        segmentG = new Region();
        segmentG.getStyleClass().setAll("g");
        segmentMap.put(SixteenSegment.Segment.G, segmentG);

        segmentH = new Region();
        segmentH.getStyleClass().setAll("h");
        segmentMap.put(SixteenSegment.Segment.H, segmentH);

        segmentI = new Region();
        segmentI.getStyleClass().setAll("i");
        segmentMap.put(SixteenSegment.Segment.I, segmentI);

        segmentL = new Region();
        segmentL.getStyleClass().setAll("l");
        segmentMap.put(SixteenSegment.Segment.L, segmentL);

        segmentM = new Region();
        segmentM.getStyleClass().setAll("m");
        segmentMap.put(SixteenSegment.Segment.M, segmentM);

        segmentN = new Region();
        segmentN.getStyleClass().setAll("n");
        segmentMap.put(SixteenSegment.Segment.N, segmentN);

        segmentP = new Region();
        segmentP.getStyleClass().setAll("p");
        segmentMap.put(SixteenSegment.Segment.P, segmentP);

        segmentK = new Region();
        segmentK.getStyleClass().setAll("k");
        segmentMap.put(SixteenSegment.Segment.K, segmentK);

        segmentDot = new Region();
        segmentDot.getStyleClass().setAll("dot");
        segmentMap.put(SixteenSegment.Segment.DOT, segmentDot);

        pane.getChildren().setAll(segmentA1,
                                  segmentA2,
                                  segmentB,
                                  segmentC,
                                  segmentD2,
                                  segmentD1,
                                  segmentE,
                                  segmentF,
                                  segmentG,
                                  segmentH,
                                  segmentI,
                                  segmentL,
                                  segmentM,
                                  segmentN,
                                  segmentP,
                                  segmentK,
                                  segmentDot);

        getChildren().setAll(pane);
        resize();
        update();
    }