Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #5354

Re: Horizontal columns in a JTable?

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.gui
Subject Re: Horizontal columns in a JTable?
Organization Canadian Mind Products
Message-ID <3q2gq850dejtno00csmrod609cbiihd711@4ax.com> (permalink)
References <JTable-20130529144058@ram.dialup.fu-berlin.de>
Date 2013-05-30 19:34 -0700

Show all headers | View raw


On 29 May 2013 12:47:34 GMT, ram@zedat.fu-berlin.de (Stefan Ram)
wrote, quoted or indirectly quoted someone who said :

>  Is there a way to have horizontal columns with a JTable (and
>  vertical rows)? 

You have a table model that uses a row, column to fetch the data.
getValue is a function that can store the data internally in any way
it pleases. In theory, it does not even need to store data. It could
compute it on the fly.

-- 
Roedy Green Canadian Mind Products http://mindprod.com
Getting information off the Internet is 
like taking a drink from a fire hydrant.
~ Mitch Kapor 1950-11-01

Back to comp.lang.java.gui | Previous | Next | Find similar


Thread

Re: Horizontal columns in a JTable? Roedy Green <see_website@mindprod.com.invalid> - 2013-05-30 19:34 -0700

csiph-web