freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

java酒店管理系統(tǒng)課程設(shè)計-文庫吧資料

2024-09-13 00:20本頁面
  

【正文】 s)。 (new FocusListener() { public void focusGained(FocusEvent e) { ()。 oldPasswordField = new JPasswordField()。 = 0。 final GridBagConstraints gridBagConstraints_7 = new GridBagConstraints()。 final JLabel oldPasswordLabel = new JLabel()。 Dimension screenSize = ().getScreenSize()。 setModal(true)。 } } /** * Create the dialog */ public UpdatePasswordDialog() { super()。 (true)。 (new WindowAdapter() { public void windowClosing(WindowEvent e) { (0)。 private Vector user。 private JPasswordField newPasswordField。 JAVA 酒店管理程序設(shè)計 public class UpdatePasswordDialog extends JDialog { private JPasswordField oldPasswordField。 import 。 import 。 import 。 import 。 import 。 import 。 import 。 import 。 import 。// 通過 ImageIcon對象獲得 Image對象 (image, 0, 0, null)。// 設(shè)置面板與圖片等大 } protected void paintComponent(Graphics g) {// 重寫 JPanel類的paintComponent()方法 (g)。// 將布局管理器修改為網(wǎng)格組布局 imageIcon = new ImageIcon(imgUrl)。// 聲明一個圖片對象 JAVA 酒店管理程序設(shè)計 public MPanel(URL imgUrl) { super()。 import 。 import 。 import 。 } public void setRowSelectionInterval(int i) { // TODO Autogenerated method stub } } 圖片類: package 。 // 設(shè)置單元格內(nèi)容(即列名)居中顯示 ()。 (false)。 return tableRenderer。 } // 表格列值居中顯 示 Override public TableCellRenderer getDefaultRenderer(Class? columnClass) { // 獲得除表格頭部分的單元格對象 DefaultTableCellRenderer tableRenderer = (DefaultTableCellRenderer) super JAVA 酒店管理程序設(shè)計 .getDefaultRenderer(columnClass)。 public MTable() { super()。 import 。 import 。 import 。 } } 表格類: package 。 setBorderPainted(false)。 public class MButton extends JButton { public MButton() { setContentAreaFilled(false)。 import 。 import 。 import 。 import 。// 利用驗證內(nèi)容獲得 Matcher對象 return ()。 public class Validate { public static boolean execute(String rule, String content) { Pattern pattern = (rule)。 import 。 } public static int getMONTH() { return MONTH。 } public static int getYEAR() { return YEAR。 } public static String getTime() { return HOUR + : + MINUTE + : + SECOND。 break。 case 6: dayOfWeek = 星期五 。 case 5: dayOfWeek = 星期四 。 case 4: dayOfWeek = 星期三 。 case 3: dayOfWeek = 星期二 。 case 2: dayOfWeek = 星期一 。 switch (WEEK) { case 1: dayOfWeek = 星期日 。 } public static String getDateOfShow() { return YEAR + 年 + MONTH + 月 + DAY + 日 。 if (DAY 10) d = 0 + DAY。 String d = DAY + 。 } public static String getDateOfNum() { JAVA 酒店管理程序設(shè)計 String y = YEAR + 。 private static final int SECOND = ()。 private static final int HOUR = ()。 private static final int DAY = ()。 private static final int YEAR = ()。 import 。 } } public static Connection getConnection() { // TODO Autogenerated method stub return null。 } catch (Exception e) { // TODO Autogenerated catch block ()。 try { JAVA 酒店管理程序設(shè)計 ()。 } /* * 關(guān)閉數(shù)據(jù)庫連接 * * */ public void closeCon(Connection con) throws Exception{ if(con!=null){ ()。 Connection con=(JDBC, dbUserName,dbPassword)。 private String jdbcName=。 public class JDBC { private String JDBC=jdbc: private String dbUserName=root。 import 。 } return ().trim()。 i 。// 設(shè)置登錄窗口不可見 } } private String turnCharsToString(char[] chars) { JAVA 酒店管理程序設(shè)計 StringBuffer strBuf = new StringBuffer()。// 創(chuàng)建主窗體對象 (true)。// 恢復(fù)密碼框的默認值為 6 個空格 return。// 恢復(fù)登錄用戶和登錄密碼 } } } private void resetUsernameAndPassword() {// 恢復(fù)登錄用戶和登錄密碼 (0)。// 登錄成功 } else {// 登錄密碼錯誤 (null, 登錄密碼錯誤,請確認后重新登錄! , 友情提示 , )。// 查詢登錄用戶 String password = (5).toString()。// 彈出提示 resetUsernameAndPassword()。// 彈出提示 (111)。// 組織提示信息 (null, infos, 友情提示 , )。// 將密碼從 char 型數(shù)組轉(zhuǎn)換成字符串 if ((JAVA)) {// 查看是否為默認用戶登錄 if ((123456)) {// 查看密碼是否為默認密碼 land(null)。// 恢復(fù)登錄用戶和登錄密碼 } char[] passwords = ()。// 獲得登錄用戶的名稱 if ((請選擇 )) {// 查看是否選擇了登錄用戶 (null, 請選擇登錄用戶! , 友情提示, )。 ( )。 } } } class ExitButtonActionListener implements ActionListener { public void actionPerformed(ActionEvent arg0) { (0)。 String password = turnCharsToString(passwords)。 } } class PasswordFieldFocusListener implements FocusListener { public void focusGained(FocusEvent e) { ()。 } } } class UsernameComboBoxActionListener implements ActionListener { public void actionPerformed(ActionEvent e) { String userName = (String) ()。 i ()。 if (() == 0) { (TSoft)。 (exitButton)。 (new ImageIcon(exitPressedUrl))。 (new ImageIcon(exitOverUrl))。 (new ImageIcon(exitUrl))。 (false)。 (new Insets(0, 0, 0, 0))。 (resetButton)。 (new ImageIcon(resetPressedUrl))。 (new ImageIcon())。 (new ImageIcon(resetUrl))。 (false)。 (new Insets(0, 0, 0, 0))。// 為登錄按鈕添加事件監(jiān)聽器 (landButton)。// 獲得當?shù)卿洶粹o被按下時顯示圖片的URL (new ImageIcon())。// 獲得當鼠標經(jīng)過登錄按鈕時顯示圖片的URL (new ImageIcon())。// 獲得默認情況下登錄按鈕顯示圖片的 URL (new ImageIcon(landUrl))。// 設(shè)置不繪制按鈕的內(nèi)容區(qū)域 (false)。// 創(chuàng)建登錄按鈕組件對象 (new Insets(0, 0, 0, 0))。// 設(shè)置列索引為 1 (buttonPanel, gridBagConstraints_4)。// 設(shè)置其占兩列 = 3。// 創(chuàng)JAVA 酒店管理程序設(shè)計 建網(wǎng)格組布局管理器對象 = new Insets(1
點擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1