Update
This commit is contained in:
1 parent
ebc339e07c
commit
efbc375990
3 files changed
+5
-5
No files matched your search
@@ -23,7 +23,7 @@ import me.xixu.manager.InsertBook;
|
|||||||
import me.xixu.manager.ManagerInterface;
|
import me.xixu.manager.ManagerInterface;
|
||||||
import me.xixu.manager.NewClass;
|
import me.xixu.manager.NewClass;
|
||||||
import me.xixu.manager.State;
|
import me.xixu.manager.State;
|
||||||
import me.xixu.manager.State_Information;
|
import me.xixu.manager.StateInformation;
|
||||||
import me.xixu.manager.UpdateBook;
|
import me.xixu.manager.UpdateBook;
|
||||||
import me.xixu.user.BorrowBook;
|
import me.xixu.user.BorrowBook;
|
||||||
import me.xixu.user.BorrowBook_Information;
|
import me.xixu.user.BorrowBook_Information;
|
||||||
@@ -42,7 +42,7 @@ public class MainInterface extends JFrame implements ActionListener {
|
|||||||
public static NewClass newJPanel = new NewClass();
|
public static NewClass newJPanel = new NewClass();
|
||||||
public static UpdateBook updateJPanel = new UpdateBook();
|
public static UpdateBook updateJPanel = new UpdateBook();
|
||||||
public static State stateJPanel = new State();
|
public static State stateJPanel = new State();
|
||||||
public static State_Information stateInfoJPanel = new State_Information();
|
public static StateInformation stateInfoJPanel = new StateInformation();
|
||||||
// User窗口
|
// User窗口
|
||||||
public static UserInterface userJPanel = new UserInterface();
|
public static UserInterface userJPanel = new UserInterface();
|
||||||
public static BorrowBook borrowJPanel = new BorrowBook();
|
public static BorrowBook borrowJPanel = new BorrowBook();
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ public class State extends JPanel implements ActionListener {
|
|||||||
JOptionPane.showMessageDialog(null, "欢迎", "查询成功", JOptionPane.OK_CANCEL_OPTION);
|
JOptionPane.showMessageDialog(null, "欢迎", "查询成功", JOptionPane.OK_CANCEL_OPTION);
|
||||||
TableOperate.search_classname(tf_classname.getText());
|
TableOperate.search_classname(tf_classname.getText());
|
||||||
MainInterface.StatetoStateInfo();
|
MainInterface.StatetoStateInfo();
|
||||||
State_Information.setTextArea();
|
StateInformation.setTextArea();
|
||||||
tf_classname.setText("");
|
tf_classname.setText("");
|
||||||
} else {
|
} else {
|
||||||
JOptionPane.showMessageDialog(null, "不存在该类别", "查询失败", JOptionPane.ERROR_MESSAGE);
|
JOptionPane.showMessageDialog(null, "不存在该类别", "查询失败", JOptionPane.ERROR_MESSAGE);
|
||||||
|
|||||||
+2
-2
@@ -12,7 +12,7 @@ import javax.swing.JTextArea;
|
|||||||
import me.xixu.MainInterface;
|
import me.xixu.MainInterface;
|
||||||
import me.xixu.info.Information;
|
import me.xixu.info.Information;
|
||||||
|
|
||||||
public class State_Information extends JPanel implements ActionListener {
|
public class StateInformation extends JPanel implements ActionListener {
|
||||||
private JButton back;
|
private JButton back;
|
||||||
private static JTextArea textArea;
|
private static JTextArea textArea;
|
||||||
private static String info;
|
private static String info;
|
||||||
@@ -20,7 +20,7 @@ public class State_Information extends JPanel implements ActionListener {
|
|||||||
/**
|
/**
|
||||||
* Create the panel.
|
* Create the panel.
|
||||||
*/
|
*/
|
||||||
public State_Information() {
|
public StateInformation() {
|
||||||
setBackground(new Color(152, 251, 152));
|
setBackground(new Color(152, 251, 152));
|
||||||
setLayout(null);
|
setLayout(null);
|
||||||
|
|
||||||
Reference in new issue
Block a user