⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gettimer.java

📁 酒店管理系统·可用于一般旅社的营业操作。方便你的酒店管理
💻 JAVA
字号:
/* * To change this template, choose Tools | Templates * and open the template in the editor. */package com.redingsoft.timeutil;import com.redingsoft.openroom.SingleopenFrame;import java.util.Timer;import java.util.TimerTask;/** * * @author Administrator */public class gettimer extends Timer implements  Runnable{    public static String r_id;      public gettimer(){          Thread task=new Thread(this);      task.start();      }    public void run() {       // throw new UnsupportedOperationException("Not supported yet.");          int day=Integer.parseInt(SingleopenFrame.tf3.getText());         System.out.print(""+day);      Timer t=new Timer();      TimerTask task=new runtask();       r_id=SingleopenFrame.jl11.getText();      t.schedule(task,day*24*60*60*1000);    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -