• 大小: 0.04M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-02-01
  • 标签: 计算器  

资源简介


资源截图

代码片段和文件信息

package demo;

import org.eclipse.swt.SWT;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.graphics.Color;
import org.eclipse.swt.graphics.Font;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Menu;
import org.eclipse.swt.widgets.MenuItem;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.Text;

public class Calculator {
Display display;
Shell shell;
String num = “0“;
double result = 0 temp = 0;
int op = 0 pan = 1 dotpan = 0;

Calculator() {
 final Display display = new Display();

// 

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-11-05 17:00  Counter\
     文件        2547  2018-12-11 08:31  Counter\.classpath
     文件         383  2018-11-05 17:00  Counter\.project
     目录           0  2018-11-06 08:12  Counter\.settings\
     文件          73  2018-11-19 19:31  Counter\.settings\org.eclipse.core.resources.prefs
     文件         598  2018-11-05 17:00  Counter\.settings\org.eclipse.jdt.core.prefs
     目录           0  2018-12-29 10:56  Counter\bin\
     目录           0  2018-12-29 10:56  Counter\bin\demo\
     文件        2196  2018-12-29 10:56  Counter\bin\demo\Calculator$1.class
     文件        1451  2018-12-29 10:56  Counter\bin\demo\Calculator$10.class
     文件        1451  2018-12-29 10:56  Counter\bin\demo\Calculator$11.class
     文件        1427  2018-12-29 10:56  Counter\bin\demo\Calculator$12.class
     文件        1387  2018-12-29 10:56  Counter\bin\demo\Calculator$13.class
     文件        1399  2018-12-29 10:56  Counter\bin\demo\Calculator$14.class
     文件        1399  2018-12-29 10:56  Counter\bin\demo\Calculator$15.class
     文件        1415  2018-12-29 10:56  Counter\bin\demo\Calculator$16.class
     文件        1937  2018-12-29 10:56  Counter\bin\demo\Calculator$17.class
     文件        1023  2018-12-29 10:56  Counter\bin\demo\Calculator$18.class
     文件        1069  2018-12-29 10:56  Counter\bin\demo\Calculator$19.class
     文件        1355  2018-12-29 10:56  Counter\bin\demo\Calculator$2.class
     文件        1181  2018-12-29 10:56  Counter\bin\demo\Calculator$20.class
     文件        1182  2018-12-29 10:56  Counter\bin\demo\Calculator$21.class
     文件        1063  2018-12-29 10:56  Counter\bin\demo\Calculator$22.class
     文件        1304  2018-12-29 10:56  Counter\bin\demo\Calculator$23.class
     文件        1446  2018-12-29 10:56  Counter\bin\demo\Calculator$3.class
     文件        1446  2018-12-29 10:56  Counter\bin\demo\Calculator$4.class
     文件        1446  2018-12-29 10:56  Counter\bin\demo\Calculator$5.class
     文件        1446  2018-12-29 10:56  Counter\bin\demo\Calculator$6.class
     文件        1446  2018-12-29 10:56  Counter\bin\demo\Calculator$7.class
     文件        1449  2018-12-29 10:56  Counter\bin\demo\Calculator$8.class
     文件        1449  2018-12-29 10:56  Counter\bin\demo\Calculator$9.class
............此处省略6个文件信息

评论

共有 条评论