📄 frame1.java~1~
字号:
jButton110.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(ActionEvent e) { jButton110_actionPerformed(e); } }); jButton111.setBackground(Color.darkGray); jButton111.setForeground(Color.white); jButton111.setBorder(BorderFactory.createRaisedBevelBorder()); jButton111.setText("("); jButton112.setBackground(Color.darkGray); jButton112.setForeground(Color.white); jButton112.setBorder(BorderFactory.createRaisedBevelBorder()); jButton112.setText(")"); jPanel4.setBackground(Color.darkGray); jPanel4.setFont(new java.awt.Font("Dialog", 0, 14)); jPanel4.setForeground(Color.darkGray); jPanel4.setBorder(BorderFactory.createRaisedBevelBorder()); jPanel4.setLayout(xYLayout4); jButton20.setBackground(Color.darkGray); jButton20.setForeground(Color.white); jButton20.setBorder(BorderFactory.createRaisedBevelBorder()); jButton20.setText("7"); jButton20.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(ActionEvent e) { jButton214_actionPerformed(e); } }); jButton21.setBackground(Color.darkGray); jButton21.setForeground(Color.white); jButton21.setBorder(BorderFactory.createRaisedBevelBorder()); jButton21.setText("8"); jButton21.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(ActionEvent e) { jButton214_actionPerformed(e); } }); jButton22.setBackground(Color.darkGray); jButton22.setForeground(Color.white); jButton22.setBorder(BorderFactory.createRaisedBevelBorder()); jButton22.setText("9"); jButton22.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(ActionEvent e) { jButton214_actionPerformed(e); } }); jButton23.setBackground(Color.darkGray); jButton23.setForeground(Color.white); jButton23.setBorder(BorderFactory.createRaisedBevelBorder()); jButton23.setText("÷"); jButton23.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(ActionEvent e) { jButton23_actionPerformed(e); } }); jButton24.setBackground(Color.darkGray); jButton24.setForeground(Color.white); jButton24.setBorder(BorderFactory.createRaisedBevelBorder()); jButton24.setText("X->M"); jButton25.setBackground(Color.darkGray); jButton25.setForeground(Color.white); jButton25.setBorder(BorderFactory.createRaisedBevelBorder()); jButton25.setText("RM"); jButton26.setBackground(Color.darkGray); jButton26.setForeground(Color.white); jButton26.setBorder(BorderFactory.createRaisedBevelBorder()); jButton26.setText("×"); jButton26.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(ActionEvent e) { jButton26_actionPerformed(e); } }); jButton27.setBackground(Color.darkGray); jButton27.setForeground(Color.white); jButton27.setBorder(BorderFactory.createRaisedBevelBorder()); jButton27.setText("6"); jButton27.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(ActionEvent e) { jButton214_actionPerformed(e); } }); jButton28.setBackground(Color.darkGray); jButton28.setForeground(Color.white); jButton28.setBorder(BorderFactory.createRaisedBevelBorder()); jButton28.setText("5"); jButton28.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(ActionEvent e) { jButton214_actionPerformed(e); } }); jButton29.setBackground(Color.darkGray); jButton29.setForeground(Color.white); jButton29.setBorder(BorderFactory.createRaisedBevelBorder()); jButton29.setText("4"); jButton29.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(ActionEvent e) { jButton214_actionPerformed(e); } }); jButton210.setBackground(Color.darkGray); jButton210.setForeground(Color.white); jButton210.setBorder(BorderFactory.createRaisedBevelBorder()); jButton210.setText("M+"); jButton211.setBackground(Color.darkGray); jButton211.setForeground(Color.white); jButton211.setBorder(BorderFactory.createRaisedBevelBorder()); jButton211.setText("+"); jButton211.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(ActionEvent e) { jButton211_actionPerformed(e); } }); jButton212.setBackground(Color.darkGray); jButton212.setForeground(Color.white); jButton212.setBorder(BorderFactory.createRaisedBevelBorder()); jButton212.setText("3"); jButton212.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(ActionEvent e) { jButton214_actionPerformed(e); } }); jButton213.setBackground(Color.darkGray); jButton213.setForeground(Color.white); jButton213.setBorder(BorderFactory.createRaisedBevelBorder()); jButton213.setText("2"); jButton213.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(ActionEvent e) { jButton214_actionPerformed(e); } }); jButton214.setBackground(Color.darkGray); jButton214.setForeground(Color.white); jButton214.setBorder(BorderFactory.createRaisedBevelBorder()); jButton214.setText("1"); jButton214.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(ActionEvent e) { jButton214_actionPerformed(e); } }); jButton215.setBackground(Color.darkGray); jButton215.setForeground(Color.white); jButton215.setBorder(BorderFactory.createRaisedBevelBorder()); jButton215.setText("="); jButton215.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(ActionEvent e) { jButton215_actionPerformed(e); } }); jButton216.setBackground(Color.darkGray); jButton216.setFont(new java.awt.Font("Dialog", 0, 14)); jButton216.setForeground(Color.white); jButton216.setBorder(BorderFactory.createRaisedBevelBorder()); jButton216.setToolTipText(""); jButton216.setText("-"); jButton216.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(ActionEvent e) { jButton216_actionPerformed(e); } }); jButton217.setBackground(Color.darkGray); jButton217.setForeground(Color.white); jButton217.setBorder(BorderFactory.createRaisedBevelBorder()); jButton217.setText("."); jButton217.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(ActionEvent e) { jButton217_actionPerformed(e); } }); jButton218.setBackground(Color.darkGray); jButton218.setForeground(Color.white); jButton218.setBorder(BorderFactory.createRaisedBevelBorder()); jButton218.setText("+/-"); jButton219.setBackground(Color.darkGray); jButton219.setForeground(Color.white); jButton219.setBorder(BorderFactory.createRaisedBevelBorder()); jButton219.setText("0"); jButton219.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(ActionEvent e) { jButton214_actionPerformed(e); } }); jLabel7.setFont(new java.awt.Font("Dialog", 0, 10)); jLabel7.setForeground(Color.white); jLabel7.setText("RND"); jTextField2.setBackground(Color.lightGray); jTextField2.setFont(new java.awt.Font("SansSerif", 0, 10)); jTextField2.setBorder(null); jLabel8.setFont(new java.awt.Font("Dialog", 0, 11)); jLabel8.setForeground(Color.white); jLabel8.setText("asin"); jLabel9.setFont(new java.awt.Font("Dialog", 0, 11)); jLabel9.setForeground(Color.white); jLabel9.setText("acos"); jLabel10.setFont(new java.awt.Font("Dialog", 0, 11)); jLabel10.setForeground(Color.white); jLabel10.setText("atan"); jLabel11.setFont(new java.awt.Font("Dialog", 0, 11)); jLabel11.setForeground(Color.white); jLabel11.setText("n!"); jLabel12.setFont(new java.awt.Font("Dialog", 0, 11)); jLabel12.setForeground(Color.white); jLabel12.setText("ex"); jLabel13.setFont(new java.awt.Font("Dialog", 0, 10)); jLabel13.setForeground(Color.white); jLabel13.setText("10x"); jLabel14.setForeground(Color.white); jLabel14.setText("π"); jLabel15.setFont(new java.awt.Font("Dialog", 0, 10)); jLabel15.setForeground(Color.white); jLabel15.setText("1/X"); jLabel16.setFont(new java.awt.Font("Dialog", 0, 11)); jLabel16.setForeground(Color.white); jLabel16.setText("arc hyp"); jLabel17.setFont(new java.awt.Font("Dialog", 0, 10)); jLabel17.setForeground(Color.white); jLabel17.setText("TAB"); jLabel18.setFont(new java.awt.Font("Dialog", 0, 10)); jLabel18.setForeground(Color.white); jLabel18.setText("D.MS"); jLabel19.setFont(new java.awt.Font("Dialog", 0, 11)); jLabel19.setForeground(Color.white); jLabel19.setText("->r\u00D8"); jLabel20.setForeground(Color.white); jLabel20.setText("->xy"); jLabel21.setFont(new java.awt.Font("Dialog", 0, 10)); jLabel21.setForeground(Color.white); jLabel21.setText("CLPX"); jLabel22.setFont(new java.awt.Font("Dialog", 0, 10)); jLabel22.setForeground(Color.white); jLabel22.setText("x√Y"); jLabel23.setFont(new java.awt.Font("Dialog", 0, 10)); jLabel23.setForeground(Color.white); jLabel23.setText("3√"); jLabel24.setForeground(Color.white); jLabel24.setText("↓"); jLabel25.setForeground(Color.white); jLabel25.setText("Σx"); jLabel26.setForeground(Color.white); jLabel26.setText("Σx2"); jLabel27.setForeground(Color.white); jLabel27.setText("\u00D3"); jLabel28.setFont(new java.awt.Font("Dialog", 0, 10)); jLabel28.setForeground(Color.white); jLabel28.setText("CD"); jLabel29.setForeground(Color.white); jLabel29.setText("%"); jLabel30.setFont(new java.awt.Font("Dialog", 0, 10)); jLabel30.setForeground(Color.white); jLabel30.setText("->BIN"); jLabel31.setFont(new java.awt.Font("Dialog", 0, 10)); jLabel31.setForeground(Color.white); jLabel31.setText("->OCT"); jLabel32.setFont(new java.awt.Font("Dialog", 0, 10)); jLabel32.setForeground(Color.white); jLabel32.setText("->HEX"); jLabel33.setFont(new java.awt.Font("Dialog", 0, 10)); jLabel33.setForeground(Color.white); jLabel33.setText("->DEC"); contentPane.add(jLabel2, new XYConstraints(18, 37, 137, -1)); contentPane.add(jLabel1, new XYConstraints(16, 10, 77, 32)); contentPane.add(jLabel4, new XYConstraints(90, 23, 50, 14)); contentPane.add(jLabel3, new XYConstraints(92, 13, -1, 12)); contentPane.add(jLabel6, new XYConstraints(202, 37, 74, 12)); contentPane.add(jLabel5, new XYConstraints(202, 21, 94, 12)); contentPane.add(jPanel1, new XYConstraints(2, 101, 288, 139)); jPanel1.add(jButton2, new XYConstraints(2, 7, 64, 23)); jPanel1.add(jButton1, new XYConstraints(70, 7, 65, 22)); jPanel1.add(jButton3, new XYConstraints(138, 7, 69, 22)); jPanel1.add(jButton4, new XYConstraints(210, 7, 68, 22)); jPanel1.add(jButton10, new XYConstraints(238, 48, 36, 16)); jPanel1.add(jButton9, new XYConstraints(188, 48, 36, 16)); jPanel1.add(jButton8, new XYConstraints(142, 48, 36, 16)); jPanel1.add(jButton7, new XYConstraints(96, 48, 36, 16)); jPanel1.add(jButton6, new XYConstraints(52, 48, 36, 16)); jPanel1.add(jButton17, new XYConstraints(4, 110, 36, 16)); jPanel1.add(jButton18, new XYConstraints(50, 110, 36, 16)); jPanel1.add(jButton19, new XYConstraints(94, 110, 36, 16)); jPanel1.add(jButton16, new XYConstraints(238, 80, 36, 16)); jPanel1.add(jButton110, new XYConstraints(140, 110, 36, 16)); jPanel1.add(jButton111, new XYConstraints(188, 110, 36, 16)); jPanel1.add(jButton5, new XYConstraints(4, 49, 36, 16)); jPanel1.add(jButton112, new XYConstraints(238, 110, 36, 16)); jPanel1.add(jButton15, new XYConstraints(188, 80, 36, 16)); jPanel1.add(jButton14, new XYConstraints(140, 80, 36, 16)); jPanel1.add(jButton13, new XYConstraints(96, 80, 36, 16)); jPanel1.add(jButton12, new XYConstraints(50, 80, 36, 16)); jPanel1.add(jButton11, new XYConstraints(6, 80, 36, 16)); jPanel1.add(jLabel8, new XYConstraints(60, 37, 33, 10)); jPanel1.add(jLabel9, new XYConstraints(102, 37, 26, 8)); jPanel1.add(jLabel10, new XYConstraints(150, 34, 38, 12)); jPanel1.add(jLabel11, new XYConstraints(250, 38, 23, 8)); jPanel1.add(jLabel12, new XYConstraints(60, 68, 28, 10)); jPanel1.add(jLabel13, new XYConstraints(104, 68, 28, 12)); jPanel1.add(jLabel14, new XYConstraints(16, 100, 24, 10)); jPanel1.add(jLabel15, new XYConstraints(148, 99, 34, 10)); jPanel1.add(jLabel16, new XYConstraints(7, 36, 40, 12)); jPanel1.add(jLabel17, new XYConstraints(196, 36, 34, 10)); jPanel1.add(jLabel18, new XYConstraints(6, 66, 34, 14)); jPanel1.add(jLabel19, new XYConstraints(146, 66, 33, 14)); jPanel1.add(jLabel20, new XYConstraints(192, 66, 36, 14)); jPanel1.add(jLabel21, new XYConstraints(240, 68, 34, 12)); jPanel1.add(jLabel22, new XYConstraints(54, 99, 30, 12)); jPanel1.add(jLabel23, new XYConstraints(96, 97, 30, 12)); jPanel1.add(jLabel25, new XYConstraints(240, 97, 36, 14)); jPanel1.add(jLabel24, new XYConstraints(200, 98, 21, 13)); contentPane.add(jPanel2, new XYConstraints(2, 3, 288, 55)); contentPane.add(jPanel3, new XYConstraints(2, 59, 288, 41)); jPanel3.add(jTextField1, new XYConstraints(4, 2, 275, 31)); jPanel3.add(jTextField2, new XYConstraints(228, 5, 50, 13)); contentPane.add(jPanel4, new XYConstraints(2, 239, 288, 190)); jPanel4.add(jButton215, new XYConstraints(234, 138, 42, -1)); jPanel4.add(jButton25, new XYConstraints(234, 58, 42, -1)); jPanel4.add(jButton24, new XYConstraints(234, 18, 42, -1)); jPanel4.add(jButton219, new XYConstraints(6, 138, 42, -1)); jPanel4.add(jButton211, new XYConstraints(180, 98, 42, -1));
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -