Computer Science, asked by IamGenesis, 9 months ago

How to draw a circle in java without extending JFrame or JPanel?

pls do not give ans unless u know.....​

Answers

Answered by siyadubey16
11

Answer:

It can be as simple as: myFrame. add( new MyPanel() ); which adds a JPanel from another class, MyPanel, to another JFrame, myFrame.

Hope this helps you!

Similar questions