Hi All,I have JPanel with two buttons as Exit and Clear.I am drawing lines on that JPanel.My Question isIf I click on the Clear button, the Lines drawn on the JPanel should beerased.How do I do that? Please suggest any solution.