public void show(TreePath treePath) {
int constantPoolIndex = constantPoolIndex(treePath);
try {
ConstantUtf8Info entry = services.getClassFile().getConstantPoolUtf8Entry(constantPoolIndex);
lblByteLength.setText(entry.getBytes().length);
lblStringLength.setText(entry.getString().length());
lblString.setText(getConstantPoolEntryName(constantPoolIndex));
} catch (InvalidByteCodeException ex) {
lblByteLength.setText(-1);
lblStringLength.setText(-1);
lblByteLengthComment.setText(MESSAGE_INVALID_CONSTANT_POOL_ENTRY);