Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Jeff Higgins Newsgroups: comp.lang.java.programmer,comp.lang.java.gui Subject: Re: Name for a type of chart, and GUI implementation of it in Java? Date: Sun, 25 Mar 2012 08:25:04 -0400 Organization: A noiseless patient Spider Lines: 38 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sun, 25 Mar 2012 12:23:26 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="BSKXKq4dV+7jFlM4JDctyw"; logging-data="32627"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19lNSCGyqkgJFhPgDI8n3OMQKqqxe26fcY=" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20120320 Icedove/3.0.11 In-Reply-To: Cancel-Lock: sha1:4cr/0gZersoxScILRaMJOMfLerM= Xref: csiph.com comp.lang.java.programmer:13162 comp.lang.java.gui:5119 On 03/25/2012 12:04 AM, Daniel Pitts wrote: > Say I have a tournament with n players, and each player faces each other > player exactly once. I want to efficiently display the final player > scores. I recall seeing a table which had the players listed on the > diagonal, and each "cell" contained the pairing score "x"/"y". Eg. > > > +---+---+---+ > |3/ |14/|4 /| > Sam |/ 2|/ 3|/22| > +---+---+---+ > b |3 /|5 /| > o |/ 4|/55| > B +---+---+ > n |7 /| > a |/ 4| > D +---+ > u > o > L > > You could then see the pairing score by finding the intersecting > column/row of the pair you're looking for. For example, Sam/Bob pairing > is row 1 (Sam), and column 1 (Bob). Bob had 2, Sam at 3. > The Bob/Lou pairing is Row 1 (Bob) column 3 (Lou). Bob had 5, and Lou > had 55. Actually, poor Bob did terrible in my example. > > Is there a name for this kind of chart/table? Has anyone seen an > implementation in Java? I could do something like this in JTable, but I > think there must be a prettier way to render it :-) > Sorry, I cannot find a name. There are plenty of scheduler implementations, but none with charts that I could find. There are pictures here: , and here: , and an active discussion board here: .