@Override
		public Component getTableCellRendererComponent(GTableCellRenderingData data) {

			JLabel label = (JLabel) super.getTableCellRendererComponent(data);

			Object sz = data.getValue();

			if (sz == null) {
				return label;
			}

			Long size = (Long) sz;

			setText(FileUtilities.formatLength(size));

			return label;
		}
Table cell renderer to display file sizes in more friendly terms
Ghidra/Framework/Docking/src/main/java/docking/widgets/filechooser/DirectoryTable.java