Code example for AccessibleContext

Methods: setAccessibleName

0
 
	@Override 
	public AccessibleContext getAccessibleContext() {
		AccessibleContext ac = super.getAccessibleContext();
		if (uiKey != null) {
			ac.setAccessibleName(UIManager.getString(uiKey));
			uiKey = null;
		} 
		return ac;
	} 
} 
Experience pair programming with AI  Get Codota for Java