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

📄 sendmory.java

📁 PRl教学程序 PRl教学程序 PRl教学程序
💻 JAVA
字号:
import java.awt.*;import java.applet.Applet;import java.awt.event.*;import java.net.*;public class sendmory extends Applet {    public void init()    {        setLayout(null);        Label internal_842 = new Label("9");        this.add(internal_842);        internal_842.setLocation(52,20);        internal_842.setSize(32,32);        internal_842.setFont(new Font("Dialog",1,20));        internal_842.setForeground(Color.black);        Label internal_843 = new Label("5");        this.add(internal_843);        internal_843.setLocation(84,20);        internal_843.setSize(32,32);        internal_843.setFont(new Font("Dialog",1,20));        internal_843.setForeground(Color.black);        Label internal_844 = new Label("6");        this.add(internal_844);        internal_844.setLocation(116,20);        internal_844.setSize(32,32);        internal_844.setFont(new Font("Dialog",1,20));        internal_844.setForeground(Color.black);        Label internal_845 = new Label("7");        this.add(internal_845);        internal_845.setLocation(148,20);        internal_845.setSize(32,32);        internal_845.setFont(new Font("Dialog",1,20));        internal_845.setForeground(Color.black);        Label internal_846 = new Label("+");        this.add(internal_846);        internal_846.setLocation(20,52);        internal_846.setSize(32,32);        internal_846.setForeground(Color.black);        Label internal_847 = new Label("1");        this.add(internal_847);        internal_847.setLocation(52,52);        internal_847.setSize(32,32);        internal_847.setFont(new Font("Dialog",1,20));        internal_847.setForeground(Color.black);        Label internal_848 = new Label("0");        this.add(internal_848);        internal_848.setLocation(84,52);        internal_848.setSize(32,32);        internal_848.setFont(new Font("Dialog",1,20));        internal_848.setForeground(Color.black);        Label internal_849 = new Label("8");        this.add(internal_849);        internal_849.setLocation(116,52);        internal_849.setSize(32,32);        internal_849.setFont(new Font("Dialog",1,20));        internal_849.setForeground(Color.black);        Label internal_850 = new Label("5");        this.add(internal_850);        internal_850.setLocation(148,52);        internal_850.setSize(32,32);        internal_850.setFont(new Font("Dialog",1,20));        internal_850.setForeground(Color.black);        Label internal_851 = new Label("1");        this.add(internal_851);        internal_851.setLocation(20,116);        internal_851.setSize(32,32);        internal_851.setFont(new Font("Dialog",1,20));        internal_851.setForeground(Color.black);        Label internal_852 = new Label("0");        this.add(internal_852);        internal_852.setLocation(52,116);        internal_852.setSize(32,32);        internal_852.setFont(new Font("Dialog",1,20));        internal_852.setForeground(Color.black);        Label internal_853 = new Label("6");        this.add(internal_853);        internal_853.setLocation(84,116);        internal_853.setSize(32,32);        internal_853.setFont(new Font("Dialog",1,20));        internal_853.setForeground(Color.black);        Label internal_854 = new Label("5");        this.add(internal_854);        internal_854.setLocation(116,116);        internal_854.setSize(32,32);        internal_854.setFont(new Font("Dialog",1,20));        internal_854.setForeground(Color.black);        Label internal_855 = new Label("2");        this.add(internal_855);        internal_855.setLocation(148,116);        internal_855.setSize(32,32);        internal_855.setFont(new Font("Dialog",1,20));        internal_855.setForeground(Color.black);    }    public void paint(Graphics g){        Color defaultForeground = g.getColor();        g.setColor(Color.black);        g.drawLine(20,100,180,100);        g.setColor(defaultForeground);    }}

⌨️ 快捷键说明

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