title: Swing: JLabel which shortens too long text in the middle
body: <p>Normally a left-orientated JLabel shortens text at the right by adding periods, e.g. <code>Hello wo...</code>. Anyone knows an JComponent (TableCellRenderer is not sufficient) which can shorten text in the middle (<code>Hel...rld</code>), e.g. useful for displaying file names?</p>