A remorseful New Jersey judge has admitted to allegations in an ethics complaint that he made inappropriate remarks in court and failed to disqualify himself from certain cases.