Color () { return switch (myStatus) { case ALREADY_APPLIED -> JBColor.YELLOW.darker(); case EXACTLY_APPLIED -> new JBColor(new Color(0, 180, 5), new Color(0, 147, 5)); case NOT_APPLIED -> JBColor.RED.darker(); }; }