Display The Drawing Using drawLine to connect the corners of a panel in Java Prefix increment and postfix increment operators in Java