📄 hall.java
字号:
jPanel6 = new javax.swing.JPanel();
jLabel9 = new javax.swing.JLabel();
jLabel10 = new javax.swing.JLabel();
jPanel7 = new javax.swing.JPanel();
jLabel11 = new javax.swing.JLabel();
setDefaultCloseOperation(javax.swing.WindowConstants.DO_NOTHING_ON_CLOSE);
setTitle("\u793e\u533a\u5927\u5385 \u6b22\u8fce\u60a8\u8fdb\u5165\u671d\u9633\u793e\u533a");
setBackground(new java.awt.Color(0, 0, 0));
jButton_Update.setBackground(new java.awt.Color(255, 255, 204));
jButton_Update.setForeground(new java.awt.Color(102, 102, 255));
jButton_Update.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icon/reload.png")));
jButton_Update.setText("\u5237\u65b0");
jButton_Update.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
jButton_UpdateMouseClicked(evt);
}
});
jPanel1.setBackground(new java.awt.Color(255, 255, 204));
jPanel1.setBorder(javax.swing.BorderFactory.createEtchedBorder());
jButton_SoftCompanyServer.setForeground(new java.awt.Color(102, 102, 255));
jButton_SoftCompanyServer.setText("\u8f6f\u4ef6\u516c\u53f8");
jButton_SoftCompanyServer.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
jButton_SoftCompanyServerMouseClicked(evt);
}
});
jButton_InvestCompanyServer.setForeground(new java.awt.Color(102, 102, 255));
jButton_InvestCompanyServer.setText("\u6295\u8d44\u516c\u53f8");
jButton_InvestCompanyServer.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
jButton_InvestCompanyServerMouseClicked(evt);
}
});
jButton_BankServer.setForeground(new java.awt.Color(102, 102, 255));
jButton_BankServer.setText("\u94f6\u884c\u7ba1\u7406");
jButton_BankServer.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
jButton_BankServerMouseClicked(evt);
}
});
jLabel8.setForeground(new java.awt.Color(102, 102, 255));
jLabel8.setText("\u516c\u53f8\u7ba1\u7406");
org.jdesktop.layout.GroupLayout jPanel1Layout = new org.jdesktop.layout.GroupLayout(jPanel1);
jPanel1.setLayout(jPanel1Layout);
jPanel1Layout.setHorizontalGroup(
jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jPanel1Layout.createSequentialGroup()
.add(jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jPanel1Layout.createSequentialGroup()
.addContainerGap()
.add(jButton_BankServer, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 90, Short.MAX_VALUE))
.add(jPanel1Layout.createSequentialGroup()
.addContainerGap()
.add(jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(org.jdesktop.layout.GroupLayout.TRAILING, jButton_SoftCompanyServer, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 90, Short.MAX_VALUE)
.add(jButton_InvestCompanyServer, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 90, Short.MAX_VALUE)))
.add(jPanel1Layout.createSequentialGroup()
.add(28, 28, 28)
.add(jLabel8)))
.addContainerGap())
);
jPanel1Layout.setVerticalGroup(
jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jPanel1Layout.createSequentialGroup()
.addContainerGap()
.add(jLabel8)
.add(20, 20, 20)
.add(jButton_BankServer)
.add(77, 77, 77)
.add(jButton_InvestCompanyServer)
.add(83, 83, 83)
.add(jButton_SoftCompanyServer)
.addContainerGap(46, Short.MAX_VALUE))
);
jPanel2.setBackground(new java.awt.Color(255, 255, 204));
jPanel2.setBorder(javax.swing.BorderFactory.createEtchedBorder());
jPanel2.setForeground(new java.awt.Color(102, 102, 255));
jButton_RestaurantClient.setForeground(new java.awt.Color(102, 102, 255));
jButton_RestaurantClient.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icon/kopeteavailable.png")));
jButton_RestaurantClient.setText("\u66d9\u5149\u8336\u9910\u5385");
jButton_RestaurantClient.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
jButton_RestaurantClientMouseClicked(evt);
}
});
jButton_SoftCompanyClient.setForeground(new java.awt.Color(102, 102, 255));
jButton_SoftCompanyClient.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icon/identity.png")));
jButton_SoftCompanyClient.setText("\u8f6f\u4ef6\u516c\u53f8");
jButton_SoftCompanyClient.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
jButton_SoftCompanyClientMouseClicked(evt);
}
});
jButton_InvestCompanyClient.setForeground(new java.awt.Color(102, 102, 255));
jButton_InvestCompanyClient.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icon/edit_group.png")));
jButton_InvestCompanyClient.setText("\u6295\u8d44\u516c\u53f8");
jButton_InvestCompanyClient.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
jButton_InvestCompanyClientMouseClicked(evt);
}
});
jButton_BankClient.setForeground(new java.awt.Color(102, 102, 255));
jButton_BankClient.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icon/contents.png")));
jButton_BankClient.setText("\u4e2d\u56fd\u94f6\u884c");
jButton_BankClient.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
jButton_BankClientMouseClicked(evt);
}
});
jLabel2.setForeground(new java.awt.Color(102, 102, 255));
jLabel2.setText("\u5ba2\u6237\u7aef");
jButton_Exit.setForeground(new java.awt.Color(102, 102, 255));
jButton_Exit.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icon/exit.png")));
jButton_Exit.setText("\u9000\u51fa\u5927\u5385");
jButton_Exit.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
jButton_ExitMouseClicked(evt);
}
});
org.jdesktop.layout.GroupLayout jPanel2Layout = new org.jdesktop.layout.GroupLayout(jPanel2);
jPanel2.setLayout(jPanel2Layout);
jPanel2Layout.setHorizontalGroup(
jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel2Layout.createSequentialGroup()
.add(jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
.add(org.jdesktop.layout.GroupLayout.LEADING, jPanel2Layout.createSequentialGroup()
.addContainerGap()
.add(jButton_SoftCompanyClient, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 117, Short.MAX_VALUE))
.add(org.jdesktop.layout.GroupLayout.LEADING, jPanel2Layout.createSequentialGroup()
.addContainerGap()
.add(jButton_InvestCompanyClient, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 117, Short.MAX_VALUE))
.add(jPanel2Layout.createSequentialGroup()
.addContainerGap()
.add(jButton_BankClient, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 117, Short.MAX_VALUE))
.add(org.jdesktop.layout.GroupLayout.LEADING, jPanel2Layout.createSequentialGroup()
.add(43, 43, 43)
.add(jLabel2))
.add(org.jdesktop.layout.GroupLayout.LEADING, jPanel2Layout.createSequentialGroup()
.addContainerGap()
.add(jButton_Exit, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 117, Short.MAX_VALUE))
.add(jPanel2Layout.createSequentialGroup()
.addContainerGap()
.add(jButton_RestaurantClient, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 117, Short.MAX_VALUE)))
.addContainerGap())
);
jPanel2Layout.setVerticalGroup(
jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jPanel2Layout.createSequentialGroup()
.add(18, 18, 18)
.add(jLabel2)
.add(28, 28, 28)
.add(jButton_BankClient, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 31, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.add(49, 49, 49)
.add(jButton_InvestCompanyClient, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 31, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.add(45, 45, 45)
.add(jButton_SoftCompanyClient, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 33, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.add(42, 42, 42)
.add(jButton_RestaurantClient, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 31, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.add(49, 49, 49)
.add(jButton_Exit, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 31, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.addContainerGap(62, Short.MAX_VALUE))
);
jPanel3.setBackground(new java.awt.Color(255, 255, 204));
jPanel3.setBorder(javax.swing.BorderFactory.createEtchedBorder());
jPanel3.setForeground(new java.awt.Color(102, 102, 255));
jTextArea1.setColumns(20);
jTextArea1.setRows(5);
jScrollPane2.setViewportView(jTextArea1);
jLabel3.setForeground(new java.awt.Color(102, 102, 255));
jLabel3.setText("\u793e\u533a\u4ecb\u7ecd");
jLabel6.setForeground(new java.awt.Color(102, 102, 255));
jLabel6.setText("\u7559\u8a00\u677f\uff1a");
jLabel5.setForeground(new java.awt.Color(102, 102, 255));
jLabel5.setText("\u7559 \u8a00\uff1a");
jTextField2.addKeyListener(new java.awt.event.KeyAdapter() {
public void keyPressed(java.awt.event.KeyEvent evt) {
jTextField2KeyPressed(evt);
}
});
jButton_send.setForeground(new java.awt.Color(102, 102, 255));
jButton_send.setText("\u53d1\u9001\u4fe1\u606f");
jButton_send.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
jButton_sendMouseClicked(evt);
}
});
org.jdesktop.layout.GroupLayout jPanel3Layout = new org.jdesktop.layout.GroupLayout(jPanel3);
jPanel3.setLayout(jPanel3Layout);
jPanel3Layout.setHorizontalGroup(
jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jPanel3Layout.createSequentialGroup()
.add(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jPanel3Layout.createSequentialGroup()
.addContainerGap()
.add(jLabel6, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 80, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
.add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel3Layout.createSequentialGroup()
.addContainerGap()
.add(list_chat, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 303, Short.MAX_VALUE))
.add(jLabel5)
.add(jPanel3Layout.createSequentialGroup()
.add(129, 129, 129)
.add(jLabel3))
.add(jPanel3Layout.createSequentialGroup()
.add(jTextField2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 226, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(jButton_send))
.add(jPanel3Layout.createSequentialGroup()
.add(28, 28, 28)
.add(jScrollPane2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 265, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
.addContainerGap())
);
jPanel3Layout.setVerticalGroup(
jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jPanel3Layout.createSequentialGroup()
.addContainerGap()
.add(jLabel3)
.add(3, 3, 3)
.add(jScrollPane2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 201, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(jLabel6)
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(list_chat, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 131, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(jLabel5)
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
.add(jTextField2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.add(jButton_send))
.addContainerGap(20, Short.MAX_VALUE))
);
jPanel4.setBackground(new java.awt.Color(255, 255, 204));
jPanel4.setBorder(javax.swing.BorderFactory.createEtchedBorder());
jLabel7.setForeground(new java.awt.Color(102, 102, 255));
jLabel7.setText("jLabel7");
jLabel1.setForeground(new java.awt.Color(102, 102, 255));
jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icon/edit_user.png")));
jLabel1.setText("\u5e10\u6237\uff1a");
org.jdesktop.layout.GroupLayout jPanel4Layout = new org.jdesktop.layout.GroupLayout(jPanel4);
jPanel4.setLayout(jPanel4Layout);
jPanel4Layout.setHorizontalGroup(
jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jPanel4Layout.createSequentialGroup()
.addContainerGap()
.add(jLabel1)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -