It was produced by Hanna-Barbera and was based on the Justice League of America and related comic book characters published by DC Comics . It was produced by Hanna-Barbera and was based on the Justice League of America ( JLA ) and associated comic book characters published by DC Comics .