The Artima Developer Community
Sponsored Link

Java Answers Forum
How to make a pane that will show all components rotated with 90* to left

2 replies on 1 page. Most recent reply: Apr 8, 2002 4:58 PM by Thomas SMETS

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 2 replies on 1 page
Bogdan.Onu

Posts: 2
Nickname: bogdanonu
Registered: Apr, 2002

How to make a pane that will show all components rotated with 90* to left Posted: Apr 7, 2002 4:19 PM
Reply to this message Reply
Advertisement
I have a school project in witch I must create a new Pane that will show a child rotated to left.
This should provide interactivity with mouse.
For example if the child is a textbox, than, I must have something like this

JRotatedPane p = new JRotatedPane( new JTextBoxArea() );
Frame f.
...

f.add(p);
f.show();

this should permit to edit, view and interact with editor, that is rotated to left.

I tried something but I don't have any positive results.

Does have anybody any ideea ?

If you have, please send a mail to edisonn@rol.ro

Thank you a lot.
Edi.


Thomas SMETS

Posts: 307
Nickname: tsmets
Registered: Apr, 2002

Re: How to make a pane that will show all components rotated with 90* to left Posted: Apr 8, 2002 3:29 PM
Reply to this message Reply
With graphics it should not be impossible !
http://www.jguru.com/forums/view.jsp?EID=519544

However, the request seems to include also all the other javax.swing.JComponents.

As I don't know I forwarded you question to John ZUKOWSKI who is a damn good Swing designer !
I looked into my "Custom UI component" and could not find anything like that there !

could you anyway post some of the idea's you may have found.

thomas,
tsmets @ lautre . net

Thomas SMETS

Posts: 307
Nickname: tsmets
Registered: Apr, 2002

Re: How to make a pane that will show all components rotated with 90* to left Posted: Apr 8, 2002 4:58 PM
Reply to this message Reply
Sorry to answer in two parts but ...
Doesn't the java.awt.ComponentOrientation answers part of your question too ?

thomas,

Flat View: This topic has 2 replies on 1 page
Topic: how to connect via socket Previous Topic   Next Topic Topic: Time zone

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use