@Override public Dimension getPreferredSize() { return myRefPainter.getSize(myReference, this); }
@Override protected void paintComponent(Graphics g) { myRefPainter.paint(myReference, g, 0, 0); }