canceldlg.java
来自「Libgist is an implementation of the Gene」· Java 代码 · 共 56 行
JAVA
56 行
// CancelDlg.java// Copyright (c) 1998, Regents of the University of California// $Id: CancelDlg.java,v 1.2 1999/06/27 00:17:36 marcel Exp $import javax.swing.*;import java.lang.*;import java.io.*;import java.util.Vector;/* * Thread to execute display progress dialog and allow user to cancel ongoing operation * (in OpThread). */public class CancelDlg extends Thread{// returns true if user pressed "Cancel"public booleanisCancelled(){}// updates the message text in the dialogpublic voidsetMsg(String msg){}// sets value of progress barpublic voidsetProgressValue(int val){}// sets minimum of progress barpublic voidsetProgressMin(int min){}// sets maximum of progress barpublic voidsetProgressMax(int max){}// switches progress bar on/offpublic voidsetProgressEnabled(boolean enable){}}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?