Sarang Vandara Advance Java
It should be executeUpdate() instead of only execute..
only execute() returns multiple result but for INSERT, UPDATE, or DELETE executeUpdate() is used..
refer:http://docs.oracle.com/javase/1.4.2/docs/api/java/sql/Statement.html
Like · Comment ·
Joydip Panchal likes this

Sarang Vandara

u ws ri8 but here execute() returns boolean value which is nt suitable..
Like · 1 ·
Sarang Vandara Advance Java
At Line-9 text2 should be declared as a JPasswordField instead of JTextField..
Like · Comment ·
Joydip Panchal likes this

Kaushal Prajapti

JPasswordField is correct for values like **** as problem statment tell us that we have to create password field thankyou
Like · 2 ·
Sarang Vandara Advance Java
GridLayout Should be (3,2) instead of (3,1)
Like · Comment ·
Joydip Panchal likes this
Download Android App