登录
首页 » 界面开发 » 计算器

计算器

于 2022-10-18 发布 文件大小:9.19 kB
0 194
下载积分: 2 下载次数: 1

代码说明:

// calc-ui-model/Calc.java -- Fred Swartz//     Level     : Intermediate.//     Structure : Three files: main, GUI (subclass of JFrame), logic.//     Components: JButton, JTextField (right justified).//     Containers: JFrame, several JPanels.//     Layouts   : BorderLayout to put the other panels together.//                 Two GridLayout panels for the buttons.//     Listeners : One ActionListener which is shared by all//                 numeric key buttons.  Similarly share//                 an ActionListener for all operator buttons.//

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 报表设计器C#
    此报表设计器是一个简单快速的报表开发工具,轻松实现报表显示、过滤、打印、导出等一体化集成功能。提供VB.net、C#丰富使用例子,报表如何调用一目了然。 一、工具特点: 1、可根据SQL语句自动生成报表格式,打印格式,用户只要稍微调整就可形成一张普通报表。 2、可设置报表分组、小计、合计等。 3、可设置报表的过滤窗口条件以及条件的参照内容。 4、可设置报表导出到Excel的格式。 5、可设置报表的打印参数,查询sql参数。在调用报表时对参数进行赋值。 6、报表拥有事件机制,如调用程序可以捕捉报表行双击事件。 7、报表数据,打印数据可以设置多种格式化串,如:格式化金额(¥1,234.56),大写金额(零元零角零分正),格式化日期(2005年5月5日) 8、打印格式,支持普通文本、图片框、划线、字段、参数、系统变量、函数、图表等丰富元素。
    2022-01-26 07:17:52下载
    积分:1
  • 使用Qt处理图片资源
    Use Qt in image development.  QPixmap largepixmap;  QPixmap smallpixmap;  QPixmap maskpixmap;  QPixmap zoompixmap;  QPoint offset(0,0);  QPoint dragpos(150,150);  QPoint set(90,50);    //加载图片:  largepixmap.load("ImagesMainGui.png");  smallpixmap = largepixmap.scaled(largepixmap.size()/1.2);  maskpixmap.load("ImagesMainGui.png");    //绘制底层图片(非放大镜区域图案):  QPainter painter(this);  painter.drawPixmap(offset,smallpixmap);  painter.end();  //计算放大区域圆形的半径及所占矩形面积     int dim = qMin(width(), height());  int magnifierSize = dim * 5 / 6;  int radius = magnifierSize / 2;  int ring = radius - 15;  QSize box = QSize(magnifierSize, magnifierSize);
    2022-02-09 22:59:08下载
    积分:1
  • A file/folder browsing control that integrates an editbox and a button with buil...
    A file/folder browsing control that integrates an editbox and a button with built-in images.
    2022-07-01 09:49:13下载
    积分:1
  • palette small program reveals the RGB palette principle, suitable for beginners.
    调色板小程序,揭示了三原色的调色原理,适合初学者。-palette small program reveals the RGB palette principle, suitable for beginners.
    2022-08-06 01:47:48下载
    积分:1
  • again embarkation some simple java source code, here please the heart
    再上船一些简单的java源代码,这里请大家笑纳了-again embarkation some simple java source code, here please the heart
    2022-03-01 09:19:04下载
    积分:1
  • Clipper锯齿边缘阴影框的设计
    Clipper锯齿边缘阴影框的设计-Clipper jagged edges of the shadow box design
    2023-07-27 18:45:02下载
    积分:1
  • 可以用于换肤,美化程序。用于vc++程序的
    可以用于界面换肤,美化程序界面。用于vc++程序的开发-interface can be used in common. Beautification program interface. Vc procedures for the development
    2022-02-27 08:46:11下载
    积分:1
  • 这是一个方便的类,可以提供一个内存位图的设备上下文(说明)
    It is a handy class that can provide a memory bitmap device context (23KB)-It is a handy class that can provide a memory bitmap device context (23KB)
    2022-07-18 17:44:29下载
    积分:1
  • 屏幕显示的例子
    屏幕显示的例子,使用端点API来开发的屏幕,使用Visual Studio C ++,音频API,获取系统的体积,并在屏幕上显示。
    2022-08-11 06:27:22下载
    积分:1
  • 登陆
    现在网上很多人都在寻找设计好的登陆界面,这里是一个现成的。不过只提供了一个登陆界面,输入账号密码后会进入另外的主窗口,那个是回来自己设定的。另外内部的账号密码验证也需要自己来完善。
    2023-03-17 15:55:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载