Results 1 to 2 of 2
  1. #1
    jsluke is offline Member
    Join Date
    Oct 2012
    Posts
    1
    Rep Power
    0

    Default Table within a table

    I am developing a novel spreadsheet application using Java and Swing.

    I would like to be able to add a sub table to a cell within the main table. In other words, I would like a situation where the main table includes somewhere in the centre a single cell and within that cell there is a further table.

    Any suggestions on how best to achieve this?

    Thanks.

    James.

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,305
    Rep Power
    20

    Default Re: Table within a table

    Moved from Advanced Java.

    Read the API for JTable and go through the linked tutorial on How to Use Tables, particularly the section on renderers and editors.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Replies: 3
    Last Post: 02-23-2012, 09:30 AM
  2. Replies: 1
    Last Post: 09-27-2011, 06:06 AM
  3. Copy Default table model to another default table model?
    By greatmajestics in forum AWT / Swing
    Replies: 2
    Last Post: 04-28-2010, 04:08 PM
  4. Replies: 1
    Last Post: 01-08-2010, 06:19 AM
  5. add a table
    By anvi123 in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 11-19-2009, 09:06 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
  •