使用swing创建数字计算器。 [英] Creating a Digital Calculator using swing.
问题描述
有人可以给我一些关于构建一个类似数字计算器的摇摆应用程序的建议,该计算器将有一个文本字段和许多按钮来输入数字,数学运算符和小数符号。因为我已经在互联网上搜索了很多源代码,但他们并没有清楚地了解我应该使用哪种技术,方法。请注意,解释方法的目的,将使用的构造函数。
创建时我应该使用arrys还是控制数组?
如果有人有时间请赐教!
谢谢!
Chiranthaka
Could someone give me some advice on building an swing app that like a Digital calculator that will have one textfield and many buttons to input the digits, mathematical operators and the decimal symbol. Because I have searched through the internet and there are plenty of source codes but they don't give a clear understanding about what kind of techniques, methods that I should use. Please note that to explain the purpose of the methods, constructors that will be used.
When creating this should I have to use arrys or control arrays ?
If someone has time please enlighten me!
Thank You!
Chiranthaka
推荐答案
请参阅 http: //docs.oracle.com/javase/tutorial/index.html [ ^ ]。
这篇关于使用swing创建数字计算器。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!