Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Knute Johnson Newsgroups: comp.lang.java.programmer Subject: Re: Vertical Text - part 3 Date: Thu, 2 Jul 2015 16:43:24 -0700 Organization: A noiseless patient Spider Lines: 29 Message-ID: References: <1980b894-6ca3-48f5-b70a-1628c56185e1@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 2 Jul 2015 23:42:03 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="d724b5660d7b63776910cbfdce42a8fc"; logging-data="13774"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19U6bohhcr5DfNdAU335bTQ" User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 In-Reply-To: Cancel-Lock: sha1:OspNlLAXTzU+9J0QcT5bdWMvRXI= Xref: csiph.com comp.lang.java.programmer:31935 On 7/2/2015 16:32, Stefan Ram wrote: > Knute Johnson writes: >> g.translate(0,-charHeight+10); > > Today, I asked an old lady, and she told me that /her/ > grandmother still used javax.swing when she was young. > Good old Swing! > > public class Main extends javafx.application.Application > { @java.lang.Override > public void start( final javafx.stage.Stage primaryStage) > { final javafx.scene.control.Label text > = new javafx.scene.control.Label( "text" ); > text.setRotate( 90 ); > primaryStage.setScene( new javafx.scene.Scene( text )); > primaryStage.show(); }} > > Disclaimer: I wanted the source code to be simplistic, > so it is possible that one has to manually adjust the > window to actually see the rotated label. > I thought he didn't want it rotated? I thought he just wanted the text spaced closer together. Us dinos still use Swing, what can I say? I've got a lot of synapses invested in it. knute...