文件名称:Calculator
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:42.1kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
一.设计思路:
1.界面设计
整个面板由4个面板组成,
第一个面板放置显示文本域以及清除按钮
panel1.setLayout(new FlowLayout())
panel1.add(bClear)
panel1.add(XsArea)
第二个面板放置数字按钮及点按钮和等号按钮,采用GridLayout布局,4行3列
panel2.setLayout(new GridLayout(4,3))
panel2.add(b[i])
panel2.add(bPoint)
panel2.add(bEqual)
第三个面板放置运算符号按钮,同样采用GridLayout布局,
-1. Design: 1. Interface design from the entire panel composed of four panels, the first panel to place the text domain and for the removal of the button panel1.setLayout (new FlowLayout ()) panel1.add (bClear) panel1.add (XsArea) The second panel button and point to place the number of buttons and an equal sign button, using GridLayout layout, line 4 3 panel2.setLayout (new GridLayout (4,3)) panel2.add (b [i]) panel2.add (bPoint ) panel2.add (bEqual) placed third panel computing symbols button, the same used GridLayout layout,
1.界面设计
整个面板由4个面板组成,
第一个面板放置显示文本域以及清除按钮
panel1.setLayout(new FlowLayout())
panel1.add(bClear)
panel1.add(XsArea)
第二个面板放置数字按钮及点按钮和等号按钮,采用GridLayout布局,4行3列
panel2.setLayout(new GridLayout(4,3))
panel2.add(b[i])
panel2.add(bPoint)
panel2.add(bEqual)
第三个面板放置运算符号按钮,同样采用GridLayout布局,
-1. Design: 1. Interface design from the entire panel composed of four panels, the first panel to place the text domain and for the removal of the button panel1.setLayout (new FlowLayout ()) panel1.add (bClear) panel1.add (XsArea) The second panel button and point to place the number of buttons and an equal sign button, using GridLayout layout, line 4 3 panel2.setLayout (new GridLayout (4,3)) panel2.add (b [i]) panel2.add (bPoint ) panel2.add (bEqual) placed third panel computing symbols button, the same used GridLayout layout,
(系统自动生成,下载前可以参看下载内容)
下载文件列表
计算器/1.doc
计算器/Calculator.java
计算器
计算器/Calculator.java
计算器
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
