private void newLineIfNotEmpty(int align){
  if (curLine.getComponentCount() > 0) {
    newLine(align);
  }
}

private void newLineIfNotEmpty ( int align ) { if ( curLine . getComponentCount ( ) > 0 ) { newLine ( align ) ; } }
same as newline , but only if the current line container is not empty
