DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  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

Bookmarks

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


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links