Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: login; txt file database

  1. #1
    Junior Member entoke's Avatar
    Join Date
    Apr 2012
    Location
    sufu
    Posts
    1
    My Mood
    Love
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default login; txt file database

    just experimenting with jbuttons, jtextfields and using text files. i'm trying to make a username and password input that sends the user and pass to a text file that i can read later. the problem is that when i click ok or cancel, it doesn't respond whatsoever

    this is what i have so far [Java] Login - Pastebin.com
    and runner which is just normal runner. thanks for your time!

    import javax.swing.JFrame;

    public class LoginRunner {
    public static void main(String[] args) {
    Login log = new Login();
    log.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE) ;
    log.setSize(300,100);
    log.setVisible(true);
    }
    }


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,140
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: login; txt file database

    problem is that when i click ok or cancel, it doesn't respond whatsoever
    Please post the code for your problem in the forum.
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. how to write data to a pdf file which is stored on a sql database
    By cancer625 in forum Object Oriented Programming
    Replies: 3
    Last Post: January 22nd, 2012, 10:34 PM
  2. Jar file does not work with database (Hibernate)
    By shomid in forum JDBC & Databases
    Replies: 2
    Last Post: December 27th, 2011, 11:03 AM
  3. why i can't upload file to database
    By hidden_daisy in forum JavaServer Pages: JSP & JSTL
    Replies: 3
    Last Post: November 13th, 2011, 01:15 PM
  4. Insert into database from flat file
    By HelloAll in forum JDBC & Databases
    Replies: 2
    Last Post: March 10th, 2011, 11:05 PM
  5. Download File from Mysql database
    By Puk284 in forum Java Servlet
    Replies: 0
    Last Post: April 24th, 2010, 07:43 AM

Tags for this Thread