📄 canceldlg.java
字号:
// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -