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

📄 show.java

📁 Java编写个人日程管理工具, 具有添加编辑日程和自动适应功能, 程序包含完整的Document和测试运行环境
💻 JAVA
字号:
/* * To change this template, choose Tools | Templates * and open the template in the editor. */package ui;import java.io.*;/** * 用于管理打印屏幕的类 * @author zouhao */public class Show {    private static Show instance = null;    /**     * 此方法是为了实现Show的Singleton     * @return 当前Show的对象     */    public static synchronized Show getInstance() {        if (instance==null)        {            instance=new Show();        }        return instance;    }     /**     * 此方法打印所有命令的用法和程序介绍     */    void Introduce()    {            System.out.println("***************Welcome to agenda manager system!***************");            System.out.println("*******************This is a command system.*******************");            System.out.println("*****You can do your operator by input command(ignorecase)*****");            System.out.println("The commands you can choise are:");            System.out.println("Register [username] [password]");            System.out.println("---Register a new id for you---");            System.out.println("Add [username] [password] [other] [starttime] [endtiem] [title]");            System.out.println("---Add a new meeting for yuo---");            System.out.println("Query [username] [password] [starttime] [endtiem]");            System.out.println("---List the meetings in the time---");            System.out.println("Delete [username] [password] [meetingtitle]");            System.out.println("---Delete the meeting you wanted---");            System.out.println("Clear [username] [password]");            System.out.println("---Clear all your meetings---");            System.out.println("Batch [filename]");            System.out.println("---Batch your command file---");            System.out.println("Help");            System.out.println("---List the commands you can use---");            System.out.println("The date format is MM-DD-HH-MM");    }    /**     * 一个打印方法     * @param temp 供打印的字符串     */    void ToShow(String temp)    {        System.out.println(temp);    }}

⌨️ 快捷键说明

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