🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #12772

Re: Can we have two JTables side by side for view?

#12772
From: Matt Krevs
Date: Mon, 16 Nov 1998 00:00
30 lines
1343 bytes
Override getValueAt( row, column ) in your table model.

if the value for a column in the preceeding row is the same as for the
current row then return an empty string.

Ramanan Varadarajan wrote in message <364CF74A.2E3AB15E@lancomp.com>...
>HI
>
>Does anybody know how to have two JTables side by side in the
>scroll pane?
>In my JTable I need to have row within rows.. i.e the left most
>row is common for a few rows... I dont want to repeat the left
>
>i.e something like
>
>                    project name
>                    project name
>Name           project name
>                    project name
>                    project name
>
>
>I am not sure if this is possible with a same model, so  i am looking at
>
>two models available to view side by side
>
>any suggestions?
>
>Thanks
>
Technical Details
Message-ID: <72ngsc$o8h2@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <364CF74A.2E3AB15E@lancomp.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,b67a72484cccf8fc
X-Google-Attributes: gid111d45,public
From: "Matt Krevs" <mattkrevs@flex.com.au>
Subject: Re: Can we have two JTables side by side for view?
Date: 1998/11/16
Message-ID: <72ngsc$o8h2@forums.borland.com>
X-Deja-AN: 412169788
References: <364CF74A.2E3AB15E@lancomp.com>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.swing