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 3 of 3

Thread: Java and mysql

  1. #1
    Junior Member
    Join Date
    Oct 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Java and mysql

    #Hi, i have develoed a java desktop application.one can enter data to the jFrame form fields and it posts the data successfully to mysql database,however i am having a problem where i can be able to retrieve the data from the mysql database and perform operations like print the data.plz help on how to go about retrieving the saved data....thanks#


  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,320
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default Re: Java and mysql


  3. #3
    Junior Member
    Join Date
    Oct 2013
    Posts
    11
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default Re: Java and mysql

    If your data is being submitted successfully then what is the problem. Use correct queries to retrieve the data but the main thing is that using System.out.print() method with QWT/Swing is worthless. Use System.setOut(new PrintStream("path\\output.txt")) to print the data if you really want. Otherwise you are to use jLable or jTextarea for data printing.
    Last edited by copeg; November 7th, 2013 at 01:01 PM. Reason: Removed link

Similar Threads

  1. JDBC JAVA MYSQL
    By kevthanewversi in forum JDBC & Databases
    Replies: 6
    Last Post: October 24th, 2013, 04:28 AM
  2. java + mysql update
    By A4Andy in forum JDBC & Databases
    Replies: 6
    Last Post: August 26th, 2011, 09:04 PM
  3. Java Applet and MySQL
    By Terillius in forum JDBC & Databases
    Replies: 4
    Last Post: August 21st, 2010, 10:05 PM
  4. Use of Unicode 5.1 in MySQL DB with Java
    By Desert Fox in forum JDBC & Databases
    Replies: 2
    Last Post: November 12th, 2008, 08:29 AM