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