tRate.setText(""+key.getFrameRate());
tRate.setText(String.valueOf(key.getFrameRate()));
	private void updateFields(){		Sprite.KeyFrame key = sprite.getKey((String)keysList.getSelectedValue());		if(key!=null){					tName.setText(key.getName());			//tStart.setText(""+key.getStartFrame());			//tFinish.setText(""+key.getFinishFrame());			tRate.setText(""+key.getFrameRate());			rbLoop.setSelected(false);			rbStop.setSelected(false);			rbReverse.setSelected(false);			rbAuto.setSelected(false);			switch(key.getFlags()&Sprite.KeyFrame.MASK_ANIMATION) {				case Sprite.KeyFrame.KEY_LOOP:					rbLoop.setSelected(true);				break;				case Sprite.KeyFrame.KEY_STOP:					rbStop.setSelected(true);				break;				case Sprite.KeyFrame.KEY_REVERSE:					rbReverse.setSelected(true);				break;				case Sprite.KeyFrame.KEY_AUTO:					rbAuto.setSelected(true);				break;			}		}	}