627628629630631632633634635636637
public void resizeAllToFitText() { int n = this.getComponentCount(); for (int i = 0; i < n; i++) { UShape shape = (UShape) this.getComponent(i); shape.resizeToFitText(); shape.repaint(); } updateLines();