Help me out with this program

hi,
I am trying to make a login program that connects to an access database with table 'PASSWORD' containing the username and the password.
I have written the program but i could not continue as i am in fix with few errors which it is giving can anyone help me in doing the coding of this program..
//***************** Create a DSN named "Login" from the Control Panel ODBC ********//
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.text.*;
import javax.swing.plaf.metal.*;
import java.sql.*;
public class Screen extends JFrame implements ActionListener
JTextField txtuser;
     JPasswordField txtpass;
public Screen()
JPanel contentpane=(JPanel)getContentPane();
contentpane.setLayout(new FlowLayout());
JLabel username= new JLabel("UserName:");
JTextField txtuser= new JTextField(18);
JPassword Field JLabel password= new JLabel("Password:");
          txtpass = new JPasswordField(18);
          txtpass.setEchoChar('*');
JButton login= new JButton("Login");
          login.addActionListener(this);
          login.setActionCommand("Login");
     JButton cancel= new JButton("Cancel");
          cancel.addActionListener(this);
          cancel.setActionCommand("Cancel");
contentpane.add(username);
contentpane.add(txtuser);
contentpane.add(password);
contentpane.add(txtpass);
contentpane.add(login);
contentpane.add(cancel);
addWindowListener(new Screen.WindowEventHandler());
static public void main(String[] args)
Screen scr= new Screen();
scr.setSize(new Dimension(300,140));
scr.setTitle("Login Screen");
scr.setVisible(true);
public void actionPerformed(ActionEvent e)
     Connection con = null;
     String query;
     String id=null,pwd=null;
     ResultSet rs;
     Statement stmt;
/* U Need to Get the Text Box values of ID and Password into "id" and "pwd" variables,
I tried to Do this as follows , but no success ..I havent worked on SWING class before.
so u check out the method required to get the TEXT box values into these variables...*/
id=txtuser.getText();
pwd=txtpass.getText();
     query = "Select Password from user where ID='"+id+"'";
if (e.getActionCommand()=="Login")
try
          Class.forName ("sun.jdbc.odbc.JdbcOdbcDriver");
catch( ClassNotFoundException ee)
          ee.printStackTrace();
// Here i m using a DSN "Doctor" if u create other than this name then Specify the name of the DSN here in place of "Login"
     String dsn = "jdbc:odbc:doctor";
try
               con = DriverManager.getConnection(dsn);
     catch(Exception ex)
          System.out.println("Exception in Connection " + ex);
try
     stmt = con.createStatement();
     rs=stmt.executeQuery(query);
if(pwd==rs.getString(1))
               System.out.println("This user is valid");
                    //** VALID USER , DO AS PER UR REQUIREMENT
          else
               System.out.println("This user is invalid");
               //INVALID USER , DO AS PER UR REQUIREMENT
rs.close();
     stmt.close();
catch(Exception ee)
          ee.printStackTrace();
if (e.getActionCommand()=="Cancel")
System.out.println("Cancel is pressed");
public class WindowEventHandler extends WindowAdapter
public void windowClosing(WindowEvent e)
System.exit(0);
Can Anybody Code this for me..
Thanks in Advance........

hi,
i watched your program and i have changed the code as follow as this:
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.text.*;
import javax.swing.plaf.metal.*;
import java.sql.*;
public class Screen extends JFrame implements ActionListener
JTextField txtuser;
JPasswordField txtpass;
public Screen()
JPanel contentpane=(JPanel)getContentPane();
contentpane.setLayout(new FlowLayout());
JLabel username= new JLabel("UserName:");
txtuser= new JTextField(18);
JLabel password= new JLabel("Password:");
txtpass = new JPasswordField(18);
txtpass.setEchoChar('*');
JButton login= new JButton("Login");
login.addActionListener(this);
login.setActionCommand("Login");
JButton cancel= new JButton("Cancel");
cancel.addActionListener(this);
cancel.setActionCommand("Cancel");
contentpane.add(username);
contentpane.add(txtuser);
contentpane.add(password);
contentpane.add(txtpass);
contentpane.add(login);
contentpane.add(cancel);
addWindowListener(new Screen.WindowEventHandler());
static public void main(String[] args)
Screen scr= new Screen();
scr.setSize(new Dimension(300,140));
scr.setTitle("Login Screen");
scr.setVisible(true);
public void actionPerformed(ActionEvent e)
Connection con = null;
String query;
String id=null;
String pwd=null;
ResultSet rs;
Statement stmt;
String dsn = null;
String driver_connection = null;
driver_connection = "sun.jdbc.odbc.JdbcOdbcDriver";
dsn = "jdbc:odbc:Prove";
query = "SELECT * FROM user";
try
id = txtuser.getText();
pwd = txtpass.getText();
if (e.getActionCommand().equals("Login"))
Class.forName(driver_connection);
con = DriverManager.getConnection(dsn);
stmt = con.createStatement();
rs = stmt.executeQuery(query);
while(rs.next())
if(id.equals(rs.getString("ID")) && pwd.equals(rs.getString("PASSWORD")))
System.out.println("The user is valid");
return;
else
System.out.println("The user is invalid");
System.exit(0);
rs.close();
stmt.close();
else if(e.getActionCommand()=="Cancel")
System.out.println("Cancel is pressed");
WindowEventHandler w = new WindowEventHandler();
w.windowClosing();
catch(Exception exception)
System.out.println("Error: "+exception.getMessage());
public class WindowEventHandler extends WindowAdapter
public void windowClosing()
System.exit(0);
try it,
i hope this could help you!!!!

Similar Messages

  • Itunes 64 bit wont install on my Dell XPS due to Windows Installer problems. Can somebody help me out with this?

    I have Windows 7 home premium, running on a Dell XPS 15, with 64 bit OS, and when i went to install itunes for my new phone, it would almost install, but then say that it couldn't install due to issues with windows Installer. has anybody had this happen to them? can anybody help me out with this?

    Many thanks.
    "There is a problem with this Windows Installer Package. A program required for this install to complete could not be run. Contact your support personnel or package vendor".
    Perhaps let's first try updating your Apple Software Update.
    Launch Apple Software Update ("Start > All Programs > Apple Software Update"). Does it launch and offer you a newer version of Apple Software Update? If so, choose to install just that update to Apple Software Update. (Deselect any other software offered at the same time.)
    If the ASU update goes through okay, try another iTunes install. Does it go through without the errors this time?

  • My iPhone 6 ear speaker is not working properly I couldn't able to hear any thing from ear speaker to lissen I had to put on loud speaker or to use handsfree please help me out with this problem if some body have answer?

    My iPhone 6 ear speaker is not working properly I couldn't able to hear any thing from ear speaker to listen I had to put on loud speaker or to use hands free please help me out with this problem if some body have answer?

    Hi Venkata from NZ,
    If you are having an issue with the speaker on your iPhone, I would suggest that you troubleshoot using the steps in this article - 
    If you hear no sound or distorted sound from your iPhone, iPad, or iPod touch speaker - Apple Support
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

  • I received an email telling me that my icloud storage is almost full.  I need to upgrade to the next level.  Can someone help me out with this?

    I received telling me that my icloud storage is almost full.  I need to upgrade my storage.  Can someone help me out with this.  I understand that the 20 GB is only .99 per month.  Just hoping this would be enough for me.  I back up 2 ipads and my iphone on the same computer.  Any help you can give me would be appreciated.  Thank you.

    Okay.
    I responded as I did because you wrote, "I have 2 ipads and my iphone that I back up on one computer"
    No worries here.
    But hopefully you get/got it sorted.
    Any issues, post back.

  • I just got the iPhone 5.  It's completely synced and working.  All my contacts are loaded.  However, caller ID is not working when I receive a call or a text.  Can anyone help me out with this?

    I just got the iPhone 5. It's completely synced and working.  All my contacts are loaded.  However, caller ID is not working when I receive a call or a text.  Can anyone help me out with this?

    Well, assuming all of the above, Notifications, etc., it just might be time for a visit to the Apple tore genius center for a session with the techs.  See if it is a fault in the hardware or just an iOS reinstall is the answer.
    One more thing you could try, backup so you have a record of content, then restore to factory conditions be an Erase All Contents and Settings.  Then restore from the backup you just made.  That has helped some with WiFi problems, may be it would work with your problems.
    But with that behavior of another app with problems, the geniuses looks like a less stressful thing to do.

  • HT1338 I have a macbook Pro i7 mid november 2010. I am wondering if i can exchange my notebook with the latest one. Can anyone help me out with this query please.

    I have a macbook Pro i7 mid november 2010. I am wondering if i can exchange my notebook with the latest one. Can anyone help me out with this query please.

    You can sell your existing computer using eBay, Craigslist or the venue of your choice. You could then use the proceeds to purchase a new computer.

  • My Ipod doesn't sync songs anymore, can anybody help me out with this?

    Hi all. Yesterday i did a Recovery on my computer and that wiped everything clean off of my computer, including the Itune program that i downloaded. And now, every since i downloaded Itunes again, it won't sync songs into my Ipod anymore. When i would download a few songs into Itunes, I would press on the sync button a message comes up saying that my ipod is synced with another Itunes library and can only be synced with one at a time. This won't let me transfer the songs onto my ipod. When i tryed to sync my songs again another message pops up saying to 'erase and sync'. Meaning that in order for me to sync the new songs onto my ipod, then they are gonna erase all of my existing songs that is currently on my ipod already! I don't wanna do that. I thought about restoring my ipod but i'm afraid that that would erase all of my songs off of my ipod as well.  What do i do? Help would really be appreciated. Thank you. 

    Your iPod is designed to sync with only one iTunes library at a time.  It will recognize the iTunes library on the restored/rolled back PC as a new library.  If you sync the iPod with this new/different library, all content will be erased from the iPod and replaced with what is in the new library.  So what you will want to do is copy everything from the iPod to your new iTunes library on your PC first.
    See this older post from another forum member Zevoneer covering the different methods and software available to assist you with the task of copying content from your iPod back to your PC and into iTunes.
    https://discussions.apple.com/thread/2452022?start=0&tstart=0
    B-rock

  • Kindly help me out with this prepared statement

    Hi All,
    I am having some problem with this code.The databaseUsername and databasePassword seem to be printing only null, what could be the problem.
    AFIAK, it is not going into the while loop itself.
    Help would be greatly appreciated.
    TIA
    AS
    try {
                  String sql = "SELECT username, password FROM admintable WHERE username = ? AND password = ?";
                PreparedStatement stmt = null;
                ResultSet rs = null;
                stmt=con.prepareStatement(sql);
                stmt.setString(1, username);
                stmt.setString(2, password);
                rs = stmt.executeQuery();
                String databaseUsername = null;
                String databasePassword = null;
                while (rs.next()){
                    databaseUsername=rs.getString("username");
                    databasePassword=rs.getString("password");
                     System.out.println("Values are Username " + databaseUsername);
                     System.out.println("Values are Password "+ databasePassword);
                 rs.close();
                 stmt.close();

    Hi Again,
    I would like to tell that there is only one entry in the database table.
    String sql = "SELECT username, password FROM professorforminfo.admintable WHERE username = ? AND password = ?";
                PreparedStatement stmt = null;
                ResultSet rs = null;
                stmt=con.prepareStatement(sql);
                stmt.setString(1, username);
                stmt.setString(2, password);
                rs = stmt.executeQuery();
                String databaseUsername = null;
                String databasePassword = null;
                while (rs.next()){
                    databaseUsername=rs.getString("username");
                    databasePassword=rs.getString("password");
                     System.out.println("Username value " + databaseUsername);
                     System.out.println("Password value "+ databasePassword);
                  }catch(SQLException sqlEx){
                       System.err.println("Unable to connect to DB");
                       sqlEx.printStackTrace();
                 rs.close();
                 stmt.close();Why do you think that the databaseUsername and databasePassword has null values in them.
    Kindly help me out.
    Thanking you
    AS

  • Could anyone help me out with this please?

    Hi all,
    I have always had a little problem messing with gradients, when creating images using them I tend to try and make things to perfect and then get very frustrated. This is the case again today
    I have attached two images, one light and one darker. Could anyone help me out recreating these using FW please?
    I am not after the letters in the center, I am just trying to create the background and the floor of the image with all its gradients and shadows.
    Any help greatly appreciated

    No I don't, never heard of that

  • Please help me out with this error:Logical dimension table D_TARGET has a source D_TARGET that does not join to any fact source.

    I get the folowing error when I run the global consistency check
    WARNINGS:
    Business Model DAC_Measures:
    [39008] Logical dimension table D_TARGET has a source D_TARGET that does not join to any fact source.
    Can someone help me out please?
    Thank you!

    It seems your dimension is not joined to any facts. Did you check your BMM/physical joins?

  • Can anyone help me out with this icon's meaning and how to fix it?

    I just bought a Blackberry Torch 9800.. I have been downloading applications and recently upgraded one of my trial apps to the pro.. but I cannot get the pro version to work. I have activated the account and registered the license key and still nothing... and now I have this crazy icon I cannot seem to find the meaning for it anywhere.. It looks like a phone with a red star above it. I do know that this mean there is an "upgrade" but I don't know what to do to get it to "upgrade" I have deleted and reinstalled the program and still have the trial version... If anyone can help I would certainly appreciate it It is the call control pro application

    queendebbie wrote:
     It is the call control pro application
    Have you contacted the developer of the application for assistance, first?
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • I am having problems getting iTunes to load - if I can't solve this issue I will have to get rid of my iPhone 4S which I don't want to so can someone help me out with this as I'm starting to get really fed-up and paranoid - I need my phone

    As stated above - I am having a really big problem with the iTunes 10.6 installer.
    First tells me 2 DLL files are missing and then that a program needed for the install isn't there.
    I never had a problem withiTunes last year when I had an iPad.
    I deleted the iTunes from then because I found the iPad to heavy - I have very severe arthritis
    in my wrists. I might as well send my iPhone back to the retailer I got it from if this issue can't be solved.
    I'm using Windows XP Pro with SP3 so it should work.
    Please can someone help?
    Cheers
    KnitWit46 in UK

    BOB we need you urgently
    Perhaps Bob will see this thread, he is the professor in these cases.
    You do not use a WEP password but wpa/wpa2 on router and equipment.
    All equipment connects to WiFi, but for your iPad.
    Even with all other equipment WiFi off, you cannot connect your iPad.
    Your iPad connects to other WiFi nets correctly.
    All resets etc done on iPad and Router.
    Still I am not sure it is your router for sure, frustrating...
    I want to test 2 other things:
    1. in your iPad, set everything OFF in Settings/Cellular, turn off/then/on your WiFi, and see whether it will still not connect...
    2. If that does not do it: disconnect the router as well as the modem from the power, for 15 seconds, then reconnect the modem, let it fully start, then reconnect the routet let it fully start, turn of your WiFi in iPad, then on, and see whether it will connect.

  • Hi, can anyone help me out with this, I need some help on designing GUI for e-learning coursewares. Some tutorials or some helpful sites will do.

    I need some help with the GUI design.

    Have you tried the line inputs on the back of your FirePod? If you update its firmware (not sure if you will need to or not), I seem to remember hearing that the FirePod can run without FW connection, i.e. stand alone. In this mode with the outs from your mixer into line ins 1-2 (2nd from left on the back) it should work fine. I say should because I have never tried. However, these are used for returns from an external effects unit. I assume here, and the important word is assume, that there are two so that they can be used as a stereo send or as a mono send. Worth a try! Let us know how it goes.
    Best, Fred

  • HT204380 Trouble making FaceTime calls,but can receive them...any one help me out with this?

    Hi can anyone help me with a problem...I can't make FaceTime calls but have no problem receiving them? Any ideas?

    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    iOS: FaceTime is 'Unable to verify email because it is in use'
    http://support.apple.com/kb/TS3510
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    iOS 6 and OS X Mountain Lion: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    How to Set Up & Use iMessage on iPhone, iPad, & iPod touch with iOS
    http://osxdaily.com/2011/10/18/set-up-imessage-on-iphone-ipad-ipod-touch-with-io s-5/
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Troubleshooting iMessage Issues: Some Useful Tips You Should Try
    http://www.igeeksblog.com/troubleshooting-imessage-issues/
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
    FaceTime, Game Center, Messages: Troubleshooting sign in issues
    http://support.apple.com/kb/TS3970
    How to Block Someone on FaceTime
    http://www.ehow.com/how_10033185_block-someone-facetime.html
    My Facetime Doesn't Ring
    https://discussions.apple.com/message/19087457
    To send messages to non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
    How to Send SMS from iPad
    http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
    You can check the status of the FaceTime/iMessage servers at this link.
    http://www.apple.com/support/systemstatus/
     Cheers, Tom

  • Anyone able to help me out with this?

    Been working on setting up a development environment at home similar to what I have at work. I have Tomcat 5.028, MySQL (latest standard version), and XSQL from the latest XDK. Mainly trying to set all this up so I can generate XSQL and do some XSLT / XSL:FO renderings, since that is what I am doing at work. My Java is a bit rusty (havent used it in awhile) so if anyone could shed some light on what I am doing wrong please let me know.
    I copied the XSQL Java files (xsu12.jar, xmlparserv2.jar, oraclexsql.jar, xsqlserializers.jar) to \tomcat\common\lib. I copied the MySQL JDBC file there also.
    Any help will be greatly appreciated.
    This is the error I am getting when I try to run anything:
    XML-25017: Unexpected Error Occurred
    java.lang.NoClassDefFoundError: oracle/jdbc/OracleConnection
    at oracle.xml.xsql.XSQLConnection.<init>(XSQLConnection.java:39)
    at oracle.xml.xsql.XSQLConnectionPool.newConnection(XSQLConnectionPool.java:323)
    at oracle.xml.xsql.XSQLConnectionPool.<init>(XSQLConnectionPool.java:79)
    at oracle.xml.xsql.XSQLConnectionManagerImpl.getPool(XSQLConnectionManagerImpl.java:162)
    at oracle.xml.xsql.XSQLConnectionManagerImpl.getPool(XSQLConnectionManagerImpl.java:140)
    at oracle.xml.xsql.XSQLConnectionManagerImpl.getConnection(XSQLConnectionManagerImpl.java:50)
    at oracle.xml.xsql.XSQLPageRequestImpl.setConnectionName(XSQLPageRequestImpl.java:296)
    at oracle.xml.xsql.XSQLPageProcessor.process(XSQLPageProcessor.java:170)
    at oracle.xml.xsql.XSQLServlet.doGet(XSQLServlet.java:61)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
    at java.lang.Thread.run(Thread.java:595)

    Although I haven't used XSQL specifically with MySQL database, your issue is clearly related to some dependence on Oracle JDBC drivers. The first place to look - did you change the <connectiondefs> section of the XSQLConfig.xml file to include appropriate connection parameters for your database, including a class name of the MySQL JDBC driver? Another thing to try - switch to Tomcat's DataSource implementation - for instructions see comments in XSQLConfig.xml file. You'll need to use oracle.xml.xsql.XSQLDatasourceConnectionManager factory instead of the default one. Note that some advanced features may not be supported with DataSource-based DB connections, but those seem to be fairly obscure.
    Hope this helps,
    -M-

Maybe you are looking for

  • How much RAM can I put in a previous-generation (2008) iMac 2.4CHz

    Hi Guys, Silly question, but can I put more than 4GB of RAM in my 2008 model 2.4GHz iMac? I have upped it to 4GB (2 sticks of 2), but wonder if you can get 4GB sticks for a total of 8GB (2 sticks of 4)? I'm running Logic Pro 8 and with the virtual in

  • Beginners question : http 500 error when starting my first jsf-app

    i�ve just read a book about jsf, and now i�ve tried my first own jsf-app, but it seems that i have some kind of configuration problems with my tomcat, but have a look for yourself : after deploying my app out of eclipse with ant without any errors, i

  • How to change the color of circles and lines in Acrobat DC

    I'm using the Add Circle and Add Line tools in the Fill & Sign tool set to add markups to a PDF. Is it possible for me to change the color of these tools from the default Black to something else?

  • Why do I only have the option to summarise some of my formula fields?

    Hi. I'm trying to create a running total but when I look for the formula filed that I want to summarise, it's not there. There are some other formula fields that it tells me that I can summarise but not the one that I want. Any ideas? Thanks in advan

  • The Condition of a Recovery Partition

    Are there instructions, or is there any guide that explains how to determine if a partition is corrupt, or if its condition would  compromise a successful system recovery?  Compaq Presario CQ70-120US Notebook PC Model: FS110UA VISTA Home Premium