first commit

This commit is contained in:
2025-02-20 15:14:38 +08:00
commit 70e3764011
1113 changed files with 107789 additions and 0 deletions
+106
View File
@@ -0,0 +1,106 @@
//package lingtao.net.gui;
//
//import java.awt.EventQueue;
//import java.awt.event.ActionEvent;
//import java.awt.event.ActionListener;
//import java.util.List;
//
//import javax.swing.JButton;
//import javax.swing.JFrame;
//import javax.swing.JLabel;
//import javax.swing.JPanel;
//import javax.swing.JTextField;
//import javax.swing.border.EmptyBorder;
//
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Controller;
//
//import lingtao.net.bean.Product;
//import lingtao.net.service.ProductService;
//
//
//@Controller
//public class LoginGui extends JFrame {
//
// private JPanel contentPane;
// private JTextField username;
// private JTextField password;
// private JLabel textField__1;
// private JLabel textField__2;
// private JButton btn_submit;
// @Autowired
// private ProductService priceService;
//
// /**
// * Launch the application.
// */
// public static void main(String[] args) {
// EventQueue.invokeLater(new Runnable() {
// public void run() {
// try {
// LoginGui frame = new LoginGui();
// frame.setVisible(true);
// } catch (Exception e) {
// e.printStackTrace();
// }
// }
// });
// }
//
// /**
// * Create the frame.
// */
// public LoginGui() {
// init();
// listener();
// }
//
// //登录监听
// public void listener() {
// btn_submit.addActionListener(new ActionListener() {
// public void actionPerformed(ActionEvent e) {
// username.getText();
// password.getText();
// List<Product> allPro = priceService.findAllPro();
// System.out.println(allPro);
// }
// });
//
// }
//
// private void init() {
// setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
// setBounds(100, 100, 450, 300);
// contentPane = new JPanel();
// contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
// setContentPane(contentPane);
// contentPane.setLayout(null);
//
// JPanel panel = new JPanel();
// panel.setBounds(0, 0, 434, 262);
// contentPane.add(panel);
// panel.setLayout(null);
//
// textField__1 = new JLabel("用户名:");
// textField__1.setBounds(99, 54, 54, 15);
// panel.add(textField__1);
//
// textField__2 = new JLabel("密码:");
// textField__2.setBounds(99, 110, 43, 15);
// panel.add(textField__2);
//
// username = new JTextField();
// username.setBounds(152, 54, 175, 21);
// panel.add(username);
// username.setColumns(10);
//
// password = new JTextField();
// password.setColumns(10);
// password.setBounds(152, 110, 175, 21);
// panel.add(password);
//
// btn_submit = new JButton("登录");
// btn_submit.setBounds(158, 160, 130, 37);
// panel.add(btn_submit);
// }
//}
@@ -0,0 +1,98 @@
//package lingtao.net.gui;
//
//import java.awt.BorderLayout;
//import java.awt.EventQueue;
//
//import javax.swing.JFrame;
//import javax.swing.JPanel;
//import javax.swing.border.EmptyBorder;
//import javax.swing.JRadioButton;
//import javax.swing.JComboBox;
//import javax.swing.DefaultComboBoxModel;
//
//public class PriceGui extends JFrame {
//
// private JPanel contentPane;
//
// /**
// * Launch the application.
// */
// public static void main(String[] args) {
// EventQueue.invokeLater(new Runnable() {
// public void run() {
// try {
// PriceGui frame = new PriceGui();
// frame.setVisible(true);
// } catch (Exception e) {
// e.printStackTrace();
// }
// }
// });
// }
//
// /**
// * Create the frame.
// */
// public PriceGui() {
// setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
// setBounds(100, 100, 861, 558);
// contentPane = new JPanel();
// contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
// setContentPane(contentPane);
// contentPane.setLayout(null);
//
// JPanel panel = new JPanel();
// panel.setBounds(0, 0, 845, 520);
// contentPane.add(panel);
// panel.setLayout(null);
//
// JRadioButton rdbtnNewRadioButton = new JRadioButton("不干胶");
// rdbtnNewRadioButton.setBounds(0, 26, 89, 23);
// panel.add(rdbtnNewRadioButton);
//
// JRadioButton 特殊不干胶 = new JRadioButton("特殊不干胶");
// 特殊不干胶.setBounds(0, 67, 111, 23);
// panel.add(特殊不干胶);
//
// JComboBox comboBox = new JComboBox();
// comboBox.setModel(new DefaultComboBoxModel(new String[] {"", "A级铜板不干胶(加胶加粘)", "哑膜A级铜版纸不干胶(加胶加粘)", "pvc透明(加胶加粘)", "复古牛皮纸贴纸(加胶加粘)"}));
// comboBox.setBounds(119, 27, 203, 21);
// panel.add(comboBox);
//
// JRadioButton rdbtnNewRadioButton_2 = new JRadioButton("卷装标签");
// rdbtnNewRadioButton_2.setBounds(0, 104, 106, 23);
// panel.add(rdbtnNewRadioButton_2);
//
// JRadioButton rdbtnNewRadioButton_1 = new JRadioButton("插卡");
// rdbtnNewRadioButton_1.setBounds(0, 144, 106, 34);
// panel.add(rdbtnNewRadioButton_1);
//
// JRadioButton rdbtnNewRadioButton_3 = new JRadioButton("优惠券");
// rdbtnNewRadioButton_3.setBounds(0, 180, 111, 23);
// panel.add(rdbtnNewRadioButton_3);
//
// JRadioButton rdbtnNewRadioButton_3_1 = new JRadioButton("腰封");
// rdbtnNewRadioButton_3_1.setBounds(0, 218, 106, 23);
// panel.add(rdbtnNewRadioButton_3_1);
//
// JComboBox comboBox_1 = new JComboBox();
// comboBox_1.setBounds(119, 68, 203, 21);
// panel.add(comboBox_1);
//
// JComboBox comboBox_2 = new JComboBox();
// comboBox_2.setBounds(119, 105, 203, 21);
// panel.add(comboBox_2);
//
// JComboBox comboBox_3 = new JComboBox();
// comboBox_3.setBounds(119, 145, 203, 21);
// panel.add(comboBox_3);
//
// JComboBox comboBox_4 = new JComboBox();
// comboBox_4.setBounds(119, 181, 203, 21);
// panel.add(comboBox_4);
//
// JComboBox comboBox_5 = new JComboBox();
// comboBox_5.setBounds(119, 219, 203, 21);
// panel.add(comboBox_5);
// }
//}