苹果手机上显示enter the password for是什么意思
I know the password.It's e- for piano中文翻译如下:我知道密码,它是钢琴的E。
重点词汇释义:password 英 ['pɑ:sw?:d] 美 ['p?sw?:rd]n. (进入房间、建筑或某个地区的) 口令; (使用计算机操作系统的)密码;[例句]Advance and give the password上前说出口令。
[其他] 复数:passwords...
...登录后分别进入管理员界面及用户界面,依据是数据库中的用户名和...
分三个包,自己建个包,导进去就ok了,数据库是access的。
package 登录; import java.awt.EventQueue; public class Cilent { private JFrame frame; private JTextField textField; private JPasswordField passwordField; /** * Launch the application. */ public static void main(String[] args) { EventQueue.invokeLater(new Runnable() { public void run() { try { Cilent window = new Cilent(); window.frame.setVisible(true); } catch (Exception e) { e.printStackTrace(); } } }); } /** * Create the application. */ public Cilent() { initialize(); } /** * Initialize the contents of the frame. */ private void initialize() { frame = new JFrame(); frame.setTitle("登陆界面"); frame.setBounds(100, 100, 450, 300); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); frame.getContentPane().setLayout(null); frame.setResizable(false); JLabel lblNewLabel = new JLabel("用户名"); lblNewLabel.setBounds(38, 43, 80, 34); frame.getContentPane().add(lblNewLabel); textField = new JTextField(); textField.setBounds(155, 42, 227, 37); frame.getContentPane().add(textField); textField.setColumns(10); JLabel label = new JLabel("密 码"); label.setBounds(38, 115, 80, 34); frame.getContentPane().add(label); passwordField = new JPasswordField(); passwordField.setBounds(155, 115, 227, 37); frame.getContentPane().add(passwordField); JButton btnNewButton = new JButton("登 录"); btnNewButton.setBounds(60, 187, 115, 34); frame.getContentPane().add(btnNewButton); btnNewButton.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent arg0) { // TODO Auto-generated method stub UserCheck UC=new UserCheck(textField.getText(),String.valueOf(passwordField.getPassword())); if(UC.getI()!=0) //有此用户 { frame.setVisible(false); } else { textField.setText(""); passwordField.setText(""); } } }); JButton button = new JButton("取 消"); button.setBounds(242, 187, 115, 34); frame.getContentPane().add(button); button.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent arg0) { // TODO Auto-generated method stub textField.setText(""); passwordField.setText(""); } }); } }/*****************************************************************/ package 登录; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import 操作处理.UsersCL;/**@author 20111024 * 检测登录的用户在数据库中有无,若没有,则提示没有此用户, * 若有,则判断级别:普通用户还是管理员。
*/ public class UserCheck { private int i=0; //用户级别:0不是用户、1是管理员、2是普通用户 UserCheck(String name ,String password) { String jdriver="sun.jdbc.odbc.JdbcOdbcDriver"; String connectDB="jdbc:odbc:Students"; Statement stmt=null; ResultSet rs=null; Connection con=null; try { Class.forName(jdriver); con=DriverManager.getConnection(connectDB); stmt=con.createStatement(); String query="select * from users where name='"+name+"' and passwd='"+password+"'"; rs=stmt.executeQuery(query); if(rs.next()) { //数据库中有此用户,访问成功 i=Integer.parseInt(rs.getString(3)); UsersCL UL=new UsersCL(i); } else { i=0; //没有用户是默认是0级 } } catch (ClassNotFoundException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (SQLException e) { // TODO Auto-generated catch block e.printStackTrace(); } } public int getI() { return i; } }/********************************************************************************************/ package 操作处理; import java.awt.EventQueue; public class UsersCL implements ActionListener{ private JFrame frame; private JTextField textField; private JTextField textField_1; private JTextField textField_2; private JTextField textField_3; private int i=0; private JLabel label_3; private JTextField textField_4; public UsersCL(int i) { this.i=i; frame = new JFrame(); frame.setTitle("用户处理界面"); frame.setBounds(100, 100, 450, 300); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); frame.getContentPane().setLayout(null); frame.setResizable(false); frame.setVisible(true); JLabel lblNewLabel = new JLabel("学 号"); lblNewLabel.setBounds(24, 32, 74, 29); frame.getContentPane().add(lblNewLabel); JLabel label = new JLabel("姓 名"); label.setBounds(24, 71, 74, 29); frame.getContentPane().add(label); JLabel label_1 = new JLabel("年 龄"); label_1.setBounds(24, 110, 74, 29); frame.getContentPane().add(label_1); label_3 = new JLabel("性 别"); label_3.setBounds(24, 149, 74, 29); frame....
...无法登录(331 Please specify the password),请问该怎么解决?
解决方法如下:执行如下命令getsebool -a | grep ftp,找到ftp_home_dir –>off 这一行,需要把后面的off改为on,用下面这条命令改setsebool -P ftp_home_dir=1。
ok,重启服务器之后本地账户就可以登录了。
1、FTP 是File Transfer Protocol(文件传输协议)的英文简称,而中文简称为“文传协议”。
用于Internet上的控制文件的双向传输。
同时,它也是一个应用程序(Application)。
基于不同的操作系统有不同的FTP应用程序,而所有这些应用程序都遵守同一种协议以传输文件。
2、在FTP的使用当中,用户经常遇到两个概念:"下载"(Download)和"上传"(Upload)。
"下载"文件就是从远程主机拷贝文件至自己的计算机上;"上传"文件就是将文件从自己的计算机中拷贝至远程主机上。
用Internet语言来说,用户可通过客户机程序向(从)远程主机上传(下载)文件。
onthefield和inthefield的区别是什么?
意义不一样,on the field指的是位置上,或者区域上的状态,而in the field指在活动中(作战、比赛等)的状态举个例子:they are on the field就是他们在战场上(不一定在作战,强调的是位置)they are in the field就是他们在在战场上(正在作战,强调战斗的状态)
翻译: You should remember the password you set befo
当我两岁,在田地中奔跑的时候running是现在分词做伴随状语的用法。
He lay on the grass, staring at the sky for a long time. 他躺在草地上,久久地看着天空。
这里staring表示He在lay这个动作之下的伴随状况。
When I was two running through the field,这个句子强调When I was two,当我两岁的时候。
Running及后面的部分修饰“两岁”,即表示我两岁时候在田间奔跑。
转载请注明出处51数据库 » the password field i
cl杰