- Visual C++源码
- Visual Basic源码
- C++ Builder源码
- Java源码
- Delphi源码
- C/C++源码
- PHP源码
- Perl源码
- Python源码
- Asm源码
- Pascal源码
- Borland C++源码
- Others源码
- SQL源码
- VBScript源码
- JavaScript源码
- ASP/ASPX源码
- C#源码
- Flash/ActionScript源码
- matlab源码
- PowerBuilder源码
- LabView源码
- Flex源码
- MathCAD源码
- VBA源码
- IDL源码
- Lisp/Scheme源码
- VHDL源码
- Objective-C源码
- Fortran源码
- tcl/tk源码
- QT源码
ArtAcn.java~1~
资源名称:Java.rar [点击查看]
上传用户:liming9091
上传日期:2014-10-27
资源大小:3376k
文件大小:3k
源码类别:
Java编程
开发平台:
Java
- package infomanagement;
- import java.awt.*;
- import javax.swing.*;
- import com.borland.jbcl.layout.*;
- import java.awt.event.*;
- /**
- * <p>Title: </p>
- * <p>Description: </p>
- * <p>Copyright: Copyright (c) 2003</p>
- * <p>Company: </p>
- * @author unascribed
- * @version 1.0
- */
- public class ArtAcn extends JDialog {
- private JPanel jPanel1 = new JPanel();
- private XYLayout xYLayout1 = new XYLayout();
- private JLabel jLabel1 = new JLabel();
- private JLabel jLabel2 = new JLabel();
- private JLabel jLabel3 = new JLabel();
- private JTextField jTextField1 = new JTextField();
- private JLabel jLabel4 = new JLabel();
- private JTextField jTextField2 = new JTextField();
- private JLabel jLabel5 = new JLabel();
- private JTextField jTextField3 = new JTextField();
- private JLabel jLabel6 = new JLabel();
- private JTextField jTextField4 = new JTextField();
- private JLabel jLabel7 = new JLabel();
- private JTextField jTextField5 = new JTextField();
- private JLabel jLabel8 = new JLabel();
- private JButton jButton1 = new JButton();
- private JButton jButton2 = new JButton();
- public ArtAcn(Frame frame, String title, boolean modal) {
- super(frame, title, modal);
- try {
- jbInit();
- pack();
- }
- catch(Exception ex) {
- ex.printStackTrace();
- }
- }
- public ArtAcn() {
- this(null, "", false);
- }
- private void jbInit() throws Exception {
- jPanel1.setLayout(xYLayout1);
- jLabel1.setForeground(Color.red);
- jLabel1.setBorder(BorderFactory.createEtchedBorder());
- jLabel1.setText(" 文科科成绩录入");
- jLabel2.setBorder(BorderFactory.createEtchedBorder());
- jLabel3.setForeground(Color.red);
- jLabel3.setText(" 数学");
- jLabel4.setForeground(Color.red);
- jLabel4.setText(" 英语");
- jLabel5.setForeground(Color.red);
- jLabel5.setText(" 语文");
- jLabel6.setForeground(Color.red);
- jLabel6.setText(" 政治");
- jTextField4.addActionListener(new java.awt.event.ActionListener() {
- public void actionPerformed(ActionEvent e) {
- jTextField4_actionPerformed(e);
- }
- });
- jLabel7.setForeground(Color.red);
- jLabel7.setText(" 历史");
- jLabel8.setBorder(BorderFactory.createEtchedBorder());
- jButton1.setText("确定");
- jButton2.setText("取消");
- this.getContentPane().add(jPanel1, BorderLayout.CENTER);
- jPanel1.add(jLabel1, new XYConstraints(0, 1, 400, 26));
- jPanel1.add(jLabel3, new XYConstraints(20, 45, 90, 20));
- jPanel1.add(jTextField1, new XYConstraints(140, 45, 120, 20));
- jPanel1.add(jLabel4, new XYConstraints(20, 90, 90, 20));
- jPanel1.add(jTextField2, new XYConstraints(140, 90, 120, 20));
- jPanel1.add(jLabel5, new XYConstraints(20, 135, 90, 20));
- jPanel1.add(jTextField3, new XYConstraints(140, 135, 120, 20));
- jPanel1.add(jLabel6, new XYConstraints(20, 180, 90, 20));
- jPanel1.add(jTextField4, new XYConstraints(140, 180, 120, 20));
- jPanel1.add(jLabel7, new XYConstraints(20, 225, 90, 20));
- jPanel1.add(jTextField5, new XYConstraints(140, 225, 120, 20));
- jPanel1.add(jLabel2, new XYConstraints(1, 26, 399, 275));
- jPanel1.add(jLabel8, new XYConstraints(1, 255, 397, 44));
- jPanel1.add(jButton1, new XYConstraints(200, 265, 90, 30));
- jPanel1.add(jButton2, new XYConstraints(300, 265, 90, 30));
- }
- void jTextField4_actionPerformed(ActionEvent e) {
- }
- }