📄 outputdialog.java
字号:
import java.net.*;
import java.io.*;
import java.awt.*;
import java.awt.event.*;
import java.util.*;
/**
Simple class to start and control the mail (Smtp, Pop3, and Epass) servers.
Comments:
970915 Original code, lots of modifications
971006 Added real top processing
971027 More cleanup, focus on SMTP, forwarding
98xxxx Made into windows driven stuff
990110 Even more cleanup
**/
/**
* A form for obtaining user input. Customize this for your application, just
* as you would customize an HTML form for a Web-based e-mail application.
*/
class OutputDialog extends CFrame
{
private String whyString;
private MainDialog outData;
public void append( String string )
{
outData.append( string );
}
public OutputDialog( String why )
{
setTitle( why );
whyString = why;
add( outData = new MainDialog() );
pack();
center();
show();
addWindowListener( this );
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -