How do I rework my Java applet code to use a JPanel instead of a JFrame?
问题 I'm a .net programmer just learning Java. I've been working on this issue for the past 2 weeks... Here is my code to show my security system webcams and update the images in a JFrame running in an applet: (I need to convert this code to work in a JPanel instead!) public class Streamer extends JApplet { String PATH = "C:/Security/CamCap/"; Integer UPDATE_INTERVAL = 100; String CAM1FILE = "current1.png"; String CAM2FILE = "current2.png"; String CAM3FILE = "current3.png"; String CAM4FILE =