Displaying database info in a container


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Displaying database info in a container

Hybrid View

  1. #1
    Join Date
    Mar 2007
    Posts
    1

    Arrow Displaying database info in a container

    I am currently working on a JAVA project. I am using MS Access together with JAVA. For my main menu I use a container with Menus and Buttons. I managed to display the info in the database using System.out.println and SQL statements. I would like to display the info in the container when I press the button, with a "back" (to main menu) button at the end of the info.

    How do u I do this??????

  2. #2
    Join Date
    Dec 2004
    Location
    San Bernardino County, California
    Posts
    1,468
    Look at the JTable class which is backed by a TableModel. Take a look at:

    http://java.sun.com/docs/books/tutor...nts/table.html

    and

    http://java.sun.com/docs/books/tutor...able.html#data

Similar Threads

  1. How to: ALTER AUTHORIZATION ON DATABASE
    By RaeK in forum Database
    Replies: 5
    Last Post: 02-22-2012, 07:40 AM
  2. Database not properly created
    By Arjuna in forum Database
    Replies: 2
    Last Post: 07-25-2007, 03:22 AM
  3. Replies: 5
    Last Post: 03-02-2001, 11:55 AM
  4. Database questions
    By Kofi Brown in forum VB Classic
    Replies: 10
    Last Post: 05-08-2000, 09:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center