<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8">
<meta name="generator" content="pdf2htmlEX">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<link rel="stylesheet" href="https://static.pudn.com/base/css/base.min.css">
<link rel="stylesheet" href="https://static.pudn.com/base/css/fancy.min.css">
<link rel="stylesheet" href="https://static.pudn.com/prod/directory_preview_static/6267c6e74c65f4125975ac1b/raw.css">
<script src="https://static.pudn.com/base/js/compatibility.min.js"></script>
<script src="https://static.pudn.com/base/js/pdf2htmlEX.min.js"></script>
<script>
try{
pdf2htmlEX.defaultViewer = new pdf2htmlEX.Viewer({});
}catch(e){}
</script>
<title></title>
</head>
<body>
<div id="sidebar" style="display: none">
<div id="outline">
</div>
</div>
<div id="pf1" class="pf w0 h0" data-page-no="1"><div class="pc pc1 w0 h0"><img class="bi x0 y0 w1 h1" alt="" src="https://static.pudn.com/prod/directory_preview_static/6267c6e74c65f4125975ac1b/bg1.jpg"><div class="c x0 y1 w2 h2"><div class="t m0 x1 h3 y2 ff1 fs0 fc0 sc0 ls0 ws0">JA<span class="_ _0"></span>V<span class="_ _0"></span>A<span class="_ _1"> </span><span class="ff2">上机实验报告之计算器程序设计</span></div><div class="t m0 x2 h4 y3 ff3 fs1 fc0 sc0 ls0 ws0">JA<span class="_ _2"></span>V<span class="_ _2"></span>A<span class="_ _3"> </span><span class="ff2 sc1">实验报告(四)</span></div><div class="t m0 x3 h5 y4 ff2 fs2 fc0 sc1 ls0 ws0">计算器程序</div><div class="t m0 x4 h5 y5 ff2 fs2 fc0 sc1 ls0 ws0">一.类图</div><div class="t m0 x4 h3 y6 ff2 fs0 fc0 sc0 ls0 ws0">本程序只有一个<span class="_ _1"> </span><span class="ff1">Calculator<span class="_ _1"> </span></span>类</div><div class="t m0 x4 h5 y7 ff2 fs2 fc0 sc1 ls0 ws0">二.程序分析</div><div class="t m0 x4 h6 y8 ff1 fs0 fc0 sc0 ls0 ws0">import java.awt.*;</div><div class="t m0 x4 h6 y9 ff1 fs0 fc0 sc0 ls0 ws0">import java.awt.event.*;</div><div class="t m0 x4 h6 ya ff1 fs0 fc0 sc0 ls0 ws0">import java.io.*;</div><div class="t m0 x4 h3 yb ff1 fs0 fc0 sc0 ls0 ws0">public class Calculator <span class="ff2">定义计算器类</span></div><div class="t m0 x4 h6 yc ff1 fs0 fc0 sc0 ls0 ws0">{</div><div class="t m0 x4 h6 yd ff1 fs0 fc0 sc0 ls0 ws0"> public static void main(String args[])</div><div class="t m0 x4 h6 ye ff1 fs0 fc0 sc0 ls0 ws0"> {</div><div class="t m0 x4 h3 yf ff1 fs0 fc0 sc0 ls0 ws0"> new MyFrame(); <span class="ff2">创建新的窗体</span></div><div class="t m0 x4 h6 y10 ff1 fs0 fc0 sc0 ls0 ws0"> }</div></div></div><div class="pi" data-data='{"ctm":[1.611850,0.000000,0.000000,1.611850,0.000000,0.000000]}'></div></div>
</body>
</html>
<div id="pf2" class="pf w0 h0" data-page-no="2"><div class="pc pc2 w0 h0"><img class="bi x0 y0 w1 h1" alt="" src="https://static.pudn.com/prod/directory_preview_static/6267c6e74c65f4125975ac1b/bg2.jpg"><div class="c x0 y1 w2 h2"><div class="t m0 x1 h3 y2 ff1 fs0 fc0 sc0 ls0 ws0">JA<span class="_ _0"></span>V<span class="_ _0"></span>A<span class="_ _1"> </span><span class="ff2">上机实验报告之计算器程序设计</span></div><div class="t m0 x4 h6 y11 ff1 fs0 fc0 sc0 ls0 ws0">}</div><div class="t m0 x4 h6 y12 ff1 fs0 fc0 sc0 ls0 ws0">class MyFrame extends Frame implements <span class="_ _4"></span>ActionListener</div><div class="t m0 x4 h6 y13 ff1 fs0 fc0 sc0 ls0 ws0">{</div><div class="t m0 x4 h3 y14 ff1 fs0 fc0 sc0 ls0 ws0"> int state=0,power=1; <span class="ff2">定义变量</span></div><div class="t m0 x4 h6 y15 ff1 fs0 fc0 sc0 ls0 ws0"> double store=0,number1,number2,result;</div><div class="t m0 x4 h6 y16 ff1 fs0 fc0 sc0 ls0 ws0"> String method,output="";</div><div class="t m0 x4 h3 y17 ff1 fs0 fc0 sc0 ls0 ws0"> T<span class="_ _4"></span>extField output1,output2; <span class="ff2">创建<span class="_ _1"> </span></span>T<span class="_ _5"></span>ext<span class="_ _1"> </span><span class="ff2">窗口</span></div><div class="t m0 x4 h3 y18 ff1 fs0 fc0 sc0 ls0 ws0"> Panel panel1,panel2,panel3,panel4; <span class="ff2">创建面板</span></div><div class="t m0 x4 h3 y19 ff1 fs0 fc0 sc0 ls0 ws0"> Button btn1,btn2,btn3,btn4,btn5,btn6,btn7, <span class="ff2">创建按钮</span></div><div class="t m0 x4 h6 y1a ff1 fs0 fc0 sc0 ls0 ws0"> btn8,btn9,btn10,btn1<span class="_ _4"></span>1,btn12,</div><div class="t m0 x4 h6 y1b ff1 fs0 fc0 sc0 ls0 ws0"> btn13,btn14,btn15,btn16,btn17,</div><div class="t m0 x4 h6 y1c ff1 fs0 fc0 sc0 ls0 ws0"> btn18,btn19,btn20,btn21,btn22,</div><div class="t m0 x4 h6 y1d ff1 fs0 fc0 sc0 ls0 ws0"> btn23,btn24,btn25,btn26,btn27;</div><div class="t m0 x4 h3 y1e ff1 fs0 fc0 sc0 ls0 ws0"> MyFrame() <span class="ff2">面板的构造函数设计面板</span></div><div class="t m0 x4 h6 y1f ff1 fs0 fc0 sc0 ls0 ws0"> {</div><div class="t m0 x4 h3 y20 ff1 fs0 fc0 sc0 ls0 ws0"> super("<span class="ff2">计算器</span> <span class="ff2">作者:殷伟硕</span>"); <span class="ff2">标题栏显示</span></div><div class="t m0 x4 h6 y21 ff1 fs0 fc0 sc0 ls0 ws0"> setResizable(false);</div><div class="t m0 x4 h3 y22 ff1 fs0 fc0 sc0 ls0 ws0"> setBackground(Color<span class="_ _5"></span>.lightGray);<span class="_ _6"></span> <span class="ff2">背景颜色为灰色</span></div><div class="t m0 x4 h3 y23 ff1 fs0 fc0 sc0 ls0 ws0"> setLayout(new FlowLayout(FlowLayout.CENTER)); <span class="_ _6"></span> <span class="ff2">定义布局类型</span></div><div class="t m0 x4 h3 y24 ff1 fs0 fc0 sc0 ls0 ws0"> <span class="_ _6"></span> <span class="_ _6"></span> addWi<span class="_ _7"></span>ndowListener(new CloseW<span class="_ _7"></span>in()); <span class="_ _6"></span> <span class="_ _6"></span> W<span class="_ _4"></span>indow<span class="_"> </span><span class="ff2">的关闭内<span class="_ _6"></span>部匿名<span class="_ _6"></span>事件处理<span class="_ _6"></span>,可以直<span class="_ _6"></span>接</span></div><div class="t m0 x5 h3 y25 ff2 fs0 fc0 sc0 ls0 ws0">关闭窗口</div><div class="t m0 x4 h6 y26 ff1 fs0 fc0 sc0 ls0 ws0"> </div><div class="t m0 x4 h3 y27 ff1 fs0 fc0 sc0 ls0 ws0"> output1=new T<span class="_ _5"></span>extField(30); <span class="ff2">设置大小</span></div><div class="t m0 x4 h3 y28 ff1 fs0 fc0 sc0 ls0 ws0"> output1.setEditable(false); <span class="ff2">不可对<span class="_ _1"> </span></span>T<span class="_ _5"></span>ext<span class="_ _1"> </span><span class="ff2">窗中的数手动更改</span></div><div class="t m0 x4 h3 y29 ff1 fs0 fc0 sc0 ls0 ws0"> output1.setBackground(Color<span class="_ _5"></span>.white);<span class="_ _6"></span> <span class="ff2">设置背景颜色为白</span></div><div class="t m0 x4 h6 y2a ff1 fs0 fc0 sc0 ls0 ws0"> display(output);</div><div class="t m0 x4 h3 y2b ff1 fs0 fc0 sc0 ls0 ws0"> add(output1); <span class="ff2">添加</span></div><div class="t m0 x4 h6 y2c ff1 fs0 fc0 sc0 ls0 ws0"> </div><div class="t m0 x4 h3 y2d ff1 fs0 fc0 sc0 ls0 ws0"> panel1=new Panel(); <span class="ff2">创建新面板</span></div><div class="t m0 x4 h3 y2e ff1 fs0 fc0 sc0 ls0 ws0"> output2=new T<span class="_ _5"></span>extField(0); <span class="ff2">创建新的<span class="_ _1"> </span></span>T<span class="_ _5"></span>ext<span class="_ _1"> </span><span class="ff2">窗</span></div><div class="t m0 x4 h3 y2f ff1 fs0 fc0 sc0 ls0 ws0"> output2.setEditable(false); <span class="ff2">不可对<span class="_ _1"> </span></span>T<span class="_ _5"></span>ext<span class="_ _1"> </span><span class="ff2">窗中的数手动更改</span> </div><div class="t m0 x4 h3 y30 ff1 fs0 fc0 sc0 ls0 ws0"> panel1.add(output2); <span class="ff2">添加</span></div><div class="t m0 x4 h3 y31 ff1 fs0 fc0 sc0 ls0 ws0"> add(panel1); <span class="ff2">添加</span></div><div class="t m0 x4 h6 y32 ff1 fs0 fc0 sc0 ls0 ws0"> </div><div class="t m0 x4 h3 y33 ff1 fs0 fc0 sc0 ls0 ws0"> panel2=new Panel(new GridLayout(1,3,3,3)); <span class="ff2">设置面板的布局</span></div><div class="t m0 x4 h3 y34 ff1 fs0 fc0 sc0 ls0 ws0"> btn1=new Button(" <span class="ff2">退格</span> "); <span class="ff2">创建按钮</span></div><div class="t m0 x4 h3 y35 ff1 fs0 fc0 sc0 ls0 ws0"> btn1.setSize(200,200); <span class="ff2">设置按钮大小</span></div><div class="t m0 x4 h3 y36 ff1 fs0 fc0 sc0 ls0 ws0"> btn1.setForeground(Color<span class="_ _5"></span>.RED);<span class="_ _6"></span> <span class="ff2">设置按钮北京颜色</span></div><div class="t m0 x4 h6 y37 ff1 fs0 fc0 sc0 ls0 ws0"> btn2=new Button("CE");</div><div class="t m0 x4 h6 y38 ff1 fs0 fc0 sc0 ls0 ws0"> btn2.setForeground(Color<span class="_ _5"></span>.RED);</div><div class="t m0 x4 h6 y39 ff1 fs0 fc0 sc0 ls0 ws0"> btn3=new Button("C");</div><div class="t m0 x4 h6 y3a ff1 fs0 fc0 sc0 ls0 ws0"> btn3.setForeground(Color<span class="_ _5"></span>.RED);</div><div class="t m0 x4 h3 y3b ff1 fs0 fc0 sc0 ls0 ws0"> panel2.add(btn1); <span class="ff2">添加按酒</span></div><div class="t m0 x4 h6 y3c ff1 fs0 fc0 sc0 ls0 ws0"> panel2.add(btn2);</div></div></div><div class="pi" data-data='{"ctm":[1.611850,0.000000,0.000000,1.611850,0.000000,0.000000]}'></div></div>
<div id="pf3" class="pf w0 h0" data-page-no="3"><div class="pc pc3 w0 h0"><img class="bi x0 y0 w1 h1" alt="" src="https://static.pudn.com/prod/directory_preview_static/6267c6e74c65f4125975ac1b/bg3.jpg"><div class="c x0 y1 w2 h2"><div class="t m0 x1 h3 y2 ff1 fs0 fc0 sc0 ls0 ws0">JA<span class="_ _0"></span>V<span class="_ _0"></span>A<span class="_ _1"> </span><span class="ff2">上机实验报告之计算器程序设计</span></div><div class="t m0 x4 h6 y11 ff1 fs0 fc0 sc0 ls0 ws0"> panel2.add(btn3);</div><div class="t m0 x4 h6 y12 ff1 fs0 fc0 sc0 ls0 ws0"> add(panel2);</div><div class="t m0 x4 h6 y13 ff1 fs0 fc0 sc0 ls0 ws0"> </div><div class="t m0 x4 h6 y3d ff1 fs0 fc0 sc0 ls0 ws0"> panel3=new Panel(new GridLayout(4,1,3,3));</div><div class="t m0 x4 h3 y3e ff1 fs0 fc0 sc0 ls0 ws0"> btn4=new Button(" MC "); <span class="ff2">这些对按钮的设计上面</span></div><div class="t m0 x4 h3 y3f ff1 fs0 fc0 sc0 ls0 ws0"> btn4.setForeground(Color<span class="_ _5"></span>.RED);<span class="_ _6"></span> <span class="ff2">已经介绍就不再过多解释了</span></div><div class="t m0 x4 h6 y40 ff1 fs0 fc0 sc0 ls0 ws0"> btn5=new Button("MR"); </div><div class="t m0 x4 h6 y41 ff1 fs0 fc0 sc0 ls0 ws0"> btn5.setForeground(Color<span class="_ _5"></span>.RED);</div><div class="t m0 x4 h6 y42 ff1 fs0 fc0 sc0 ls0 ws0"> btn6=new Button("MS");</div><div class="t m0 x4 h6 y1a ff1 fs0 fc0 sc0 ls0 ws0"> btn6.setForeground(Color<span class="_ _5"></span>.RED);</div><div class="t m0 x4 h6 y1b ff1 fs0 fc0 sc0 ls0 ws0"> btn7=new Button("M+");</div><div class="t m0 x4 h3 y43 ff1 fs0 fc0 sc0 ls0 ws0"> <span class="ff2">这些对按钮的设计上面已经介绍就不再过多解释了</span></div><div class="t m0 x6 h6 y1d ff1 fs0 fc0 sc0 ls0 ws0">btn7.setForeground(Color<span class="_ _5"></span>.RED);</div><div class="t m0 x4 h6 y44 ff1 fs0 fc0 sc0 ls0 ws0"> panel3.add(btn4);</div><div class="t m0 x4 h6 y1f ff1 fs0 fc0 sc0 ls0 ws0"> panel3.add(btn5);</div><div class="t m0 x4 h6 y45 ff1 fs0 fc0 sc0 ls0 ws0"> panel3.add(btn6);</div><div class="t m0 x4 h6 y21 ff1 fs0 fc0 sc0 ls0 ws0"> panel3.add(btn7);</div><div class="t m0 x4 h6 y46 ff1 fs0 fc0 sc0 ls0 ws0"> add(panel3);</div><div class="t m0 x4 h6 y47 ff1 fs0 fc0 sc0 ls0 ws0"> </div><div class="t m0 x4 h6 y48 ff1 fs0 fc0 sc0 ls0 ws0"> panel4=new Panel(new GridLayout(4,5,3,3)); </div><div class="t m0 x4 h6 y49 ff1 fs0 fc0 sc0 ls0 ws0"> btn8=new Button(" 7 ");</div><div class="t m0 x4 h6 y26 ff1 fs0 fc0 sc0 ls0 ws0"> btn8.setForeground(Color<span class="_ _5"></span>.BLUE);</div><div class="t m0 x4 h6 y4a ff1 fs0 fc0 sc0 ls0 ws0"> btn9=new Button("8");</div><div class="t m0 x4 h6 y4b ff1 fs0 fc0 sc0 ls0 ws0"> btn9.setForeground(Color<span class="_ _5"></span>.BLUE);</div><div class="t m0 x4 h6 y4c ff1 fs0 fc0 sc0 ls0 ws0"> btn10=new Button("9");</div><div class="t m0 x4 h6 y2a ff1 fs0 fc0 sc0 ls0 ws0"> btn10.setForeground(Color<span class="_ _5"></span>.BLUE);</div><div class="t m0 x4 h6 y4d ff1 fs0 fc0 sc0 ls0 ws0"> btn1<span class="_ _4"></span>1=new Button("/");</div><div class="t m0 x4 h6 y2c ff1 fs0 fc0 sc0 ls0 ws0"> btn1<span class="_ _4"></span>1.setForeground(Color<span class="_ _4"></span>.RED);</div><div class="t m0 x4 h6 y4e ff1 fs0 fc0 sc0 ls0 ws0"> btn12=new Button("sqrt");</div><div class="t m0 x4 h6 y4f ff1 fs0 fc0 sc0 ls0 ws0"> btn12.setForeground(Color<span class="_ _5"></span>.BLUE);</div><div class="t m0 x4 h6 y50 ff1 fs0 fc0 sc0 ls0 ws0"> btn13=new Button("4");</div><div class="t m0 x4 h6 y51 ff1 fs0 fc0 sc0 ls0 ws0"> btn13.setForeground(Color<span class="_ _5"></span>.BLUE);</div><div class="t m0 x4 h6 y52 ff1 fs0 fc0 sc0 ls0 ws0"> btn14=new Button("5");</div><div class="t m0 x4 h6 y32 ff1 fs0 fc0 sc0 ls0 ws0"> btn14.setForeground(Color<span class="_ _5"></span>.BLUE);</div><div class="t m0 x4 h6 y53 ff1 fs0 fc0 sc0 ls0 ws0"> btn15=new Button("6");</div><div class="t m0 x4 h6 y54 ff1 fs0 fc0 sc0 ls0 ws0"> btn15.setForeground(Color<span class="_ _5"></span>.BLUE);</div><div class="t m0 x4 h6 y55 ff1 fs0 fc0 sc0 ls0 ws0"> btn16=new Button("*");</div><div class="t m0 x4 h6 y56 ff1 fs0 fc0 sc0 ls0 ws0"> btn16.setForeground(Color<span class="_ _5"></span>.RED);</div><div class="t m0 x4 h6 y37 ff1 fs0 fc0 sc0 ls0 ws0"> btn17=new Button("%");</div><div class="t m0 x4 h6 y38 ff1 fs0 fc0 sc0 ls0 ws0"> btn17.setForeground(Color<span class="_ _5"></span>.BLUE);</div><div class="t m0 x4 h6 y39 ff1 fs0 fc0 sc0 ls0 ws0"> btn18=new Button("1");</div><div class="t m0 x4 h6 y3a ff1 fs0 fc0 sc0 ls0 ws0"> btn18.setForeground(Color<span class="_ _5"></span>.BLUE);</div><div class="t m0 x4 h6 y57 ff1 fs0 fc0 sc0 ls0 ws0"> btn19=new Button("2");</div><div class="t m0 x4 h6 y3c ff1 fs0 fc0 sc0 ls0 ws0"> btn19.setForeground(Color<span class="_ _5"></span>.BLUE);</div></div></div><div class="pi" data-data='{"ctm":[1.611850,0.000000,0.000000,1.611850,0.000000,0.000000]}'></div></div>
<div id="pf4" class="pf w0 h0" data-page-no="4"><div class="pc pc4 w0 h0"><img class="bi x0 y0 w1 h1" alt="" src="https://static.pudn.com/prod/directory_preview_static/6267c6e74c65f4125975ac1b/bg4.jpg"><div class="c x0 y1 w2 h2"><div class="t m0 x1 h3 y2 ff1 fs0 fc0 sc0 ls0 ws0">JA<span class="_ _0"></span>V<span class="_ _0"></span>A<span class="_ _1"> </span><span class="ff2">上机实验报告之计算器程序设计</span></div><div class="t m0 x4 h6 y11 ff1 fs0 fc0 sc0 ls0 ws0"> btn20=new Button("3");</div><div class="t m0 x4 h6 y12 ff1 fs0 fc0 sc0 ls0 ws0"> btn20.setForeground(Color<span class="_ _5"></span>.BLUE);</div><div class="t m0 x4 h6 y13 ff1 fs0 fc0 sc0 ls0 ws0"> btn21=new Button("-");</div><div class="t m0 x4 h6 y3d ff1 fs0 fc0 sc0 ls0 ws0"> btn21.setForeground(Color<span class="_ _5"></span>.RED);</div><div class="t m0 x4 h6 y15 ff1 fs0 fc0 sc0 ls0 ws0"> btn22=new Button("1/x");</div><div class="t m0 x4 h6 y16 ff1 fs0 fc0 sc0 ls0 ws0"> btn22.setForeground(Color<span class="_ _5"></span>.BLUE);</div><div class="t m0 x4 h6 y40 ff1 fs0 fc0 sc0 ls0 ws0"> btn23=new Button("0");</div><div class="t m0 x4 h6 y41 ff1 fs0 fc0 sc0 ls0 ws0"> btn23.setForeground(Color<span class="_ _5"></span>.BLUE);</div><div class="t m0 x4 h6 y42 ff1 fs0 fc0 sc0 ls0 ws0"> btn24=new Button("+/-");</div><div class="t m0 x4 h6 y1a ff1 fs0 fc0 sc0 ls0 ws0"> btn24.setForeground(Color<span class="_ _5"></span>.BLUE);</div><div class="t m0 x4 h6 y1b ff1 fs0 fc0 sc0 ls0 ws0"> btn25=new Button(".");</div><div class="t m0 x4 h3 y43 ff1 fs0 fc0 sc0 ls0 ws0"> <span class="ff2">这些对按钮的设计上面已经介绍就不再过多解释了</span></div><div class="t m0 x6 h6 y1d ff1 fs0 fc0 sc0 ls0 ws0">btn25.setForeground(Color<span class="_ _5"></span>.BLUE);</div><div class="t m0 x4 h6 y44 ff1 fs0 fc0 sc0 ls0 ws0"> btn26=new Button("+");</div><div class="t m0 x4 h6 y1f ff1 fs0 fc0 sc0 ls0 ws0"> btn26.setForeground(Color<span class="_ _5"></span>.RED);</div><div class="t m0 x4 h6 y45 ff1 fs0 fc0 sc0 ls0 ws0"> btn27=new Button("=");</div><div class="t m0 x4 h6 y21 ff1 fs0 fc0 sc0 ls0 ws0"> btn27.setForeground(Color<span class="_ _5"></span>.RED);</div><div class="t m0 x4 h6 y46 ff1 fs0 fc0 sc0 ls0 ws0"> panel4.add(btn8);</div><div class="t m0 x4 h6 y47 ff1 fs0 fc0 sc0 ls0 ws0"> panel4.add(btn9);</div><div class="t m0 x4 h6 y48 ff1 fs0 fc0 sc0 ls0 ws0"> panel4.add(btn10);</div><div class="t m0 x4 h6 y49 ff1 fs0 fc0 sc0 ls0 ws0"> panel4.add(btn1<span class="_ _4"></span>1);</div><div class="t m0 x4 h6 y26 ff1 fs0 fc0 sc0 ls0 ws0"> panel4.add(btn12);</div><div class="t m0 x4 h6 y4a ff1 fs0 fc0 sc0 ls0 ws0"> panel4.add(btn13);</div><div class="t m0 x4 h6 y4b ff1 fs0 fc0 sc0 ls0 ws0"> panel4.add(btn14);</div><div class="t m0 x4 h6 y4c ff1 fs0 fc0 sc0 ls0 ws0"> panel4.add(btn15);</div><div class="t m0 x4 h6 y2a ff1 fs0 fc0 sc0 ls0 ws0"> panel4.add(btn16);</div><div class="t m0 x4 h6 y4d ff1 fs0 fc0 sc0 ls0 ws0"> panel4.add(btn17);</div><div class="t m0 x4 h6 y2c ff1 fs0 fc0 sc0 ls0 ws0"> panel4.add(btn18);</div><div class="t m0 x4 h6 y4e ff1 fs0 fc0 sc0 ls0 ws0"> panel4.add(btn19);</div><div class="t m0 x4 h6 y4f ff1 fs0 fc0 sc0 ls0 ws0"> panel4.add(btn20);</div><div class="t m0 x4 h6 y50 ff1 fs0 fc0 sc0 ls0 ws0"> panel4.add(btn21);</div><div class="t m0 x4 h6 y51 ff1 fs0 fc0 sc0 ls0 ws0"> panel4.add(btn22);</div><div class="t m0 x4 h6 y52 ff1 fs0 fc0 sc0 ls0 ws0"> panel4.add(btn23);</div><div class="t m0 x4 h6 y32 ff1 fs0 fc0 sc0 ls0 ws0"> panel4.add(btn24);</div><div class="t m0 x4 h6 y53 ff1 fs0 fc0 sc0 ls0 ws0"> panel4.add(btn25);</div><div class="t m0 x4 h6 y54 ff1 fs0 fc0 sc0 ls0 ws0"> panel4.add(btn26);</div><div class="t m0 x4 h6 y55 ff1 fs0 fc0 sc0 ls0 ws0"> panel4.add(btn27);</div><div class="t m0 x4 h6 y56 ff1 fs0 fc0 sc0 ls0 ws0"> add(panel4);</div><div class="t m0 x4 h6 y37 ff1 fs0 fc0 sc0 ls0 ws0"> </div><div class="t m0 x4 h6 y38 ff1 fs0 fc0 sc0 ls0 ws0"> setSize(261,210);</div><div class="t m0 x4 h6 y39 ff1 fs0 fc0 sc0 ls0 ws0"> setV<span class="_ _5"></span>isible(true);</div><div class="t m0 x4 h6 y3a ff1 fs0 fc0 sc0 ls0 ws0"> </div><div class="t m0 x4 h6 y57 ff1 fs0 fc0 sc0 ls0 ws0"> btn1.addActionListener(this);</div><div class="t m0 x4 h6 y3c ff1 fs0 fc0 sc0 ls0 ws0"> btn2.addActionListener(this);</div></div></div><div class="pi" data-data='{"ctm":[1.611850,0.000000,0.000000,1.611850,0.000000,0.000000]}'></div></div>