I have a simple program I made and I want to make it into an Applet so its runnable on a web page, but the only way I've learned how to do that so far is by extending JApplet. I have the following:
public class HolidayTester extends JFrame {
and from what I've learned if I want to make an applet it needs to be
public class HolidayTester extends JApplet {
So how do I go about extending both classes? Because I know you cannot have
public class HolidayTester extends JFrame, JApplet {
or anything of the sort. Any suggestions or better ways to do this?