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

📄 timerwindow.java

📁 Java版本的屏幕截图 工具,可以自己放到系统托盘使用
💻 JAVA
字号:
/* * Copyright (c) 2002-2008 TeamDev Ltd. All rights reserved. * * Use is subject to license terms. * * The complete licence text can be found at * http://www.teamdev.com/winpack/license.jsf */package teamdev.jxcapture.samples.demo.timer;import teamdev.jxdesktop.PlatformContext;import javax.swing.*;/** * Represents window container for the Timer dialog that notifies * how many seconds left before capture. * * @author slavapak */public abstract class TimerWindow {    /**     * Creates the Timer window on the basis of input JWindow instance.     *     * @param window input JWindow instance to embedd into Timer window.     * @return the Timer window.     */    public static TimerWindow createInstance(JWindow window) {        if (PlatformContext.isWindows()) {            return new WindowsTimerWindow(window);        } else {            return new MacOSTimerWindow(window);        }    }    protected TimerWindow() {}    /**     * Shows Timer window using fade effect.     */    public abstract void showWithFadeEffect();}

⌨️ 快捷键说明

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