资源简介
广东工业大学java语言的课设,科学计算器的源代码,并附有课设报告
代码片段和文件信息
/*
* To change this license header choose License Headers in Project Properties.
* To change this template file choose Tools | Templates
* and open the template in the editor.
*/
package Calculator;
/**
*
* @author cesar-pc
*/
public class CalculatorGUI extends javax.swing.Jframe {
/**
* Creates new form CalculatorGUI
*/
public CalculatorGUI() {
initComponents();
}
/**
* This method is called from within the constructor to initialize the form.
* WARNING: Do NOT modify this code. The content of this method is always
* regenerated by the Form Editor.
*/
@SuppressWarnings(“unchecked“)
// //GEN-BEGIN:initComponents
private void initComponents() {
d0 = new javax.swing.JButton();
point = new javax.swing.JButton();
add = new javax.swing.JButton();
equal = new javax.swing.JButton();
d1 = new javax.swing.JButton();
d2 = new javax.swing.JButton();
d3 = new javax.swing.JButton();
minus = new javax.swing.JButton();
as = new javax.swing.JButton();
d4 = new javax.swing.JButton();
d5 = new javax.swing.JButton();
d6 = new javax.swing.JButton();
multiply = new javax.swing.JButton();
deno = new javax.swing.JButton();
d7 = new javax.swing.JButton();
d8 = new javax.swing.JButton();
d9 = new javax.swing.JButton();
divide = new javax.swing.JButton();
percent = new javax.swing.JButton();
c = new javax.swing.JButton();
e = new javax.swing.JButton();
left = new javax.swing.JButton();
right = new javax.swing.JButton();
delete = new javax.swing.JButton();
sin = new javax.swing.JButton();
cos = new javax.swing.JButton();
tan = new javax.swing.JButton();
sinh = new javax.swing.JButton();
cosh = new javax.swing.JButton();
tanh = new javax.swing.JButton();
pi = new javax.swing.JButton();
pow2 = new javax.swing.JButton();
root2 = new javax.swing.JButton();
lnx = new javax.swing.JButton();
pow = new javax.swing.JButton();
root = new javax.swing.JButton();
reduce = new javax.swing.JButton();
pow3 = new javax.swing.JButton();
root3 = new javax.swing.JButton();
tf = new javax.swing.JTextField();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
settitle(“My Calculator“);
setBackground(new java.awt.Color(204 204 204));
setLocationByPlatform(true);
setMaximizedBounds(new java.awt.Rectangle(389 471 389 471));
setMaximumSize(new java.awt.Dimension(389 471));
setMinimumSize(new java.awt.Dimension(389 471));
setResizable(false);
addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEve
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2016-06-07 21:02 Java科学计算器源码\
目录 0 2016-06-07 20:50 Java科学计算器源码\src\
目录 0 2016-06-07 20:50 Java科学计算器源码\src\Calculator\
文件 10380 2015-06-14 20:33 Java科学计算器源码\src\Calculator\CalFun.java
文件 37497 2015-06-14 20:26 Java科学计算器源码\src\Calculator\CalculatorGUI.form
文件 44947 2015-06-14 20:26 Java科学计算器源码\src\Calculator\CalculatorGUI.java
文件 3964 2015-06-14 19:29 Java科学计算器源码\src\Calculator\FunKCal.java
文件 2214 2015-06-14 19:29 Java科学计算器源码\src\Calculator\NumCal.java
文件 3117 2015-06-14 19:43 Java科学计算器源码\src\Calculator\OperCal.java
文件 640250 2016-06-07 21:02 Java科学计算器源码\课设报告.doc
评论
共有 条评论