public Color idToColor(int id) {
        switch (id) {
            case 0:
                return Color.black;
            case 1:
                return Color.green;
            case 2:
                return Color.cyan;
            case 3:
                return Color.magenta;
            case 4:
                return Color.white;
            case 5:
                return Color.red;
            case 6:
                return Color.gray;
            case 7:
                return Color.orange;
        }
        return Color.transparent;
    }