Page 2 of 2 FirstFirst 12
Results 21 to 22 of 22
  1. #21
    10e5x is offline Member
    Join Date
    Nov 2010
    Rep Power

    Default Need serious help

    Its on my eclipse GUI. i have a scroll pane with the vertical scroll policy set as needed. however whenever i parse in the new created thread. it will show but will starts being smaller and smaller, like squeezing into a box. the scroll bar does not work even it max out my scroll pane size.i tried for a long time but to no avail. where did i went wrong?

  2. #22
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Rep Power


    Well, not having spotted this thread last week, yiou are making a fundamental (and sadly common) mistake.

    You only want to know if the username and password combination are found in your db, so both should be part of your SQL statement, not just the username.

    Then you simply return If it found something in the db that matches then that will return true, otherwise it will return false.

    The key thing is you should not have to read the password out of the db ever.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. help with data output, input
    By collin389 in forum New To Java
    Replies: 3
    Last Post: 11-11-2009, 06:34 PM
  2. Collecting ResultSet data and Comparing
    By casid in forum New To Java
    Replies: 4
    Last Post: 06-08-2009, 09:43 PM
  3. Comparing two data types in order to store in array
    By gwithey in forum New To Java
    Replies: 3
    Last Post: 05-01-2009, 11:27 AM
  4. Input data from file to arrays problem
    By PVL268 in forum New To Java
    Replies: 18
    Last Post: 03-16-2009, 06:05 AM
  5. jdbTable() and TableDataSet() data input
    By stingalingaling in forum New To Java
    Replies: 0
    Last Post: 12-26-2008, 07:07 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts