setTitle

Java Graphics Draw Lines

Java Graphics Draw Lines Summary: By the end of this tutorial "Java Graphics Draw Lines", you will come to know the drawing of lines on frame. Drawing graphics is very simple in Java. The line drawing takes four parameters of starting point x and y coordinates and ending point x…

Java Frame Close Anonymous inner class

The frame created by the programmer and displayed on the monitor comes with a title bar and three icons(buttons) on the title bar – Minimize, Maximize and Close. The first two works implicitly and the Close does not work and requires extra code to close the frame. Java Frame Closing…