001 package org.kuali.student.common.ui.client.widgets; 002 003 import org.kuali.student.common.ui.client.application.Application; 004 005 public class BooleanDisplayLabel extends KSLabel{ 006 @Override 007 public void setText(String text) { 008 if(text.equalsIgnoreCase("true")){ 009 text = Application.getApplicationContext().getMessage("booleanTrue"); 010 } 011 else{ 012 text = Application.getApplicationContext().getMessage("booleanFalse"); 013 } 014 super.setText(text); 015 } 016 }