Results 1 to 5 of 5

Thread: Displaying Data

  1. #1
    skiing is offline Member
    Join Date
    Nov 2008
    Posts
    15
    Rep Power
    0

    Default Displaying Data

    I have a database that I have data in that I am attempting to display in a JFrame without any success I have tried two or three examples and it hasn't worked, I am fairly new to Java I would appreciate some help. For example I am trying to display bank account balances in a javaframe that is created inside the jframe.

  2. #2
    Nicholas Jordan's Avatar
    Nicholas Jordan is offline Senior Member
    Join Date
    Jun 2008
    Location
    Southwest
    Posts
    1,018
    Rep Power
    8

    Default

    Put a JEdit pane in the JFrame, call update and set text or whatever it is called in JEdit pane, be patient with refreshing the screen, it is convoluted to explain and drastically affects program run
    Introduction to Programming Using Java.
    Cybercartography: A new theoretical construct proposed by D.R. Fraser Taylor

  3. #3
    skiing is offline Member
    Join Date
    Nov 2008
    Posts
    15
    Rep Power
    0

    Default question

    do you mean to update database?? if so do how do you text to jedit pane. Is there a way to show the data without editing what is in the database? Thanks.
    Last edited by skiing; 11-15-2008 at 02:12 AM.

  4. #4
    emceenugget is offline Senior Member
    Join Date
    Sep 2008
    Posts
    564
    Rep Power
    7

    Default

    What have you done so far? What examples have you looked at and what doesn't work for you? Do you know how to access databases using JDBC?

  5. #5
    skiing is offline Member
    Join Date
    Nov 2008
    Posts
    15
    Rep Power
    0

    Default

    Yes I know how to access the database, and I can select data from the database correctly and insert into the database. I tried creating a table and putting the values in the table to put into the jframe like an example I found but it gave me error messages.

Similar Threads

  1. error while retrieving data from data base
    By kirtesh4u in forum New To Java
    Replies: 5
    Last Post: 11-15-2008, 05:10 PM
  2. Replies: 0
    Last Post: 10-31-2008, 03:13 PM
  3. Data Sorting in a .data file using java
    By stutiger99 in forum New To Java
    Replies: 2
    Last Post: 10-08-2008, 03:52 AM
  4. Displaying data from mysql database.
    By Haresh gurav in forum JavaServer Pages (JSP) and JSTL
    Replies: 2
    Last Post: 07-09-2008, 03:54 AM
  5. Displaying data into text area
    By abhiN in forum New To Java
    Replies: 1
    Last Post: 01-22-2008, 11:30 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
  •