use the getGraphics method to get an object of the graphics
class and with that object we can perform draw methods.
public class myclass extends...implements ActionListener
public void actionPerformed(ActionEvent ae)
|Is This Answer Correct ?||2 Yes||0 No|
What is swing api?
What is pane in swing?
I want to change the appearance of Frame in Runtime, what class can be used to do this?
Which method of the Component class is used to set the position and size of a component?
What are the advantages of swing over awt?
What is swing?
What is the difference between applications and applets?
When we should go for codebase in applet?
What are the different types of layout managers used in swing?
What are the benefits of using Swing over AWT?
How to align components in java swing?
Why are swings considered lightweight?