Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #31913
| Path | csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Jeff Higgins <jeff@invalid.invalid> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Vertical Text - part 3 |
| Date | Wed, 01 Jul 2015 18:25:12 -0400 |
| Organization | A noiseless patient Spider |
| Lines | 38 |
| Message-ID | <mn1pfb$rqt$1@dont-email.me> (permalink) |
| References | <mn160m$anb$1@dont-email.me> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Wed, 1 Jul 2015 22:26:51 +0000 (UTC) |
| Injection-Info | mx02.eternal-september.org; posting-host="8e164d158183579609bf09837dee5210"; logging-data="28509"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19JN4358byPbs93C2TkhqLDU0OefdoFNOA=" |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0 |
| In-Reply-To | <mn160m$anb$1@dont-email.me> |
| Cancel-Lock | sha1:urU8xgT/HKXywaH3gIC7rtX1r2Y= |
| Xref | csiph.com comp.lang.java.programmer:31913 |
Show key headers only | View raw
On 07/01/2015 12:54 PM, Martin Gregorie wrote: > First off, apologies for starting a new thread. I fat fingered 'Ignore > thread' in Pan when I was intending to toggle a marker on one of the > posts in the thread (hay fever is bad today -at least that's my excuse > and I'm sticking to it) > > Fortunately I managed to find that Jeff's and Knute's last posts were > still in Pan's cache so I was able to recover their example source and > try it out. Jeff's last trick (using an AffineTransform to rotate the > Font so it prints vertically does everything I asked for, so I'll go with > that: many thanks, Jeff. In fact, because its a modified Font rather than > an image, it should do one other thing I forgot to mention as well. I'd love to take credit but I didn't post any code using AT. Perhaps e.d.programmer - who I just dinged for not matching your requirements. Or FredK. > > To explain: this is a rostering application with two rows of JLabels > across the top and down the left side of a matrix. The JLabels along the > top list people to be rostered while those down the side of the matrix > list dates. To roster somebody (or cancel a roster assignment) you click > a name JLabel and a date JLabel in either order. To make this a bit > easier in case you get interrupted, the JLabels act like illuminated push > on/push off switches so that when either type of label is clicked its > background changes colour to show that it is selected. This is cleared > either by clicking the other type of label to complete the rostering > action or by a second click on the selected one to cancel its selection. > Needless to say, rostering a person or cancelling an assignment affects > the body of the matrix, which is simply a display area showing the > current state of play. > > Anyway, many thanks to all of you who were kind enough to post code. It > was interesting to see how this sort of task can be tackled and and I've > learnt quite a bit about uses of the Affine transform. > >
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Vertical Text - part 3 Martin Gregorie <martin@address-in-sig.invalid> - 2015-07-01 16:54 +0000
Re: Vertical Text - part 3 Jeff Higgins <jeff@invalid.invalid> - 2015-07-01 18:25 -0400
Re: Vertical Text - part 3 Martin Gregorie <martin@address-in-sig.invalid> - 2015-07-01 23:09 +0000
Re: Vertical Text - part 3 Jeff Higgins <jeff@invalid.invalid> - 2015-07-01 19:44 -0400
Re: Vertical Text - part 3 Martin Gregorie <martin@address-in-sig.invalid> - 2015-07-02 00:19 +0000
Re: Vertical Text - part 3 Martin Gregorie <martin@address-in-sig.invalid> - 2015-07-04 18:18 +0000
Re: Vertical Text - part 3 Jeff Higgins <jeff@invalid.invalid> - 2015-07-02 09:09 -0400
Re: Vertical Text - part 3 e.d.programmer@gmail.com - 2015-07-02 07:24 -0700
Re: Vertical Text - part 3 Jeff Higgins <jeff@invalid.invalid> - 2015-07-02 10:36 -0400
Re: Vertical Text - part 3 Martin Gregorie <martin@address-in-sig.invalid> - 2015-07-02 18:38 +0000
Re: Vertical Text - part 3 e.d.programmer@gmail.com - 2015-07-02 12:54 -0700
Re: Vertical Text - part 3 Martin Gregorie <martin@address-in-sig.invalid> - 2015-07-02 21:55 +0000
Re: Vertical Text - part 3 Jeff Higgins <jeff@invalid.invalid> - 2015-07-02 18:46 -0400
Re: Vertical Text - part 3 Martin Gregorie <martin@address-in-sig.invalid> - 2015-07-03 10:38 +0000
Re: Vertical Text - part 3 Eternal Hope <laughingspam99@gmail.com> - 2015-07-03 16:44 +0100
Re: Vertical Text - part 3 Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2015-07-02 16:21 -0700
Re: Vertical Text - part 3 Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2015-07-02 16:43 -0700
Re: Vertical Text - part 3 Martin Gregorie <martin@address-in-sig.invalid> - 2015-07-02 18:01 +0000
Re: Vertical Text - part 3 Martin Gregorie <martin@address-in-sig.invalid> - 2015-07-02 17:44 +0000
Re: Vertical Text - part 3 Jeff Higgins <jeff@invalid.invalid> - 2015-07-03 08:20 -0400
Re: Vertical Text - part 3 Jeff Higgins <jeff@invalid.invalid> - 2015-07-03 10:01 -0400
csiph-web