This article: “Construction of a Teaching Tool in JAVA for Line Codes Graph” developed in Java programming language, basically describes the way to implement, in software, a tool to graph codes used in telecommunications, and how the line codes improve to greater or lesser extent the quality of the signal received. Its technique and some graphics are presented in each code.