Hi I'm sort of a beginner in java, which explains some of the simple questions i may ask...
My question now is: I'm making a small animation with java using Inheritance and methods. I've extended one of my classes from JPanel (public class Boy extends JPanel) in order to use g.fillArc to make a half circle. However, i want to extend this class (Boy) from my Main parent class (along with other moving object classes) so that i can write my main program and control the children classes. I know that i cant extend class Boy from JPanel and from Main at the same time. Is there another way to do this so that it will still inherit attributes from Main?
Thank you!