by the way.. my goal is.. to create a separate class as a Clock, but extends as a JPanel not a JFrame, i just want to add/call it to any JFrame window i have or in any JPanel/Container
Type: Posts; User: chronoz13
by the way.. my goal is.. to create a separate class as a Clock, but extends as a JPanel not a JFrame, i just want to add/call it to any JFrame window i have or in any JPanel/Container
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics;
import java.util.Calendar;
import javax.swing.*;
public class MyClock extends JPanel implements Runnable {
Thread...