如何在Java中导入TimerListener [英] How to import TimerListener in java

查看:76
本文介绍了如何在Java中导入TimerListener的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

假设我必须创建一个框架,我将导入JFrame包,例如:

导入javax.swing.JFrame;

对于ActionListener和ActionEvent同样:

导入java.awt.event.ActionListener;
导入java.awt.event.ActionEvent;

但是我不知道TimerListener位于哪个包中.
请帮忙!!!

提前谢谢您.

我已经在Google中进行搜索,无法找到答案,所以我在此处发布了问题,希望一些Java专家能够提供帮助.

Suppose if i have to create a frame, i will import the package JFrame, like:

import javax.swing.JFrame;

Similarly for ActionListener and ActionEvent :

import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;

But i don''t know in which package TimerListener is located.
Please Help!!!

Thanking you in advance.

I already searched in google and unable to find the answer, so i posted the question here, in hope that some java guru will help.

推荐答案

here

Cheers


这篇关于如何在Java中导入TimerListener的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆