aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Set all ComponentOrientation to rtl Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Set all ComponentOrientation to rtl" Watch "Set all ComponentOrientation to rtl" New topic
Author

Set all ComponentOrientation to rtl

pariya shiri
Greenhorn

Joined: Feb 18, 2010
Posts: 15
hello
how can I set all ComponentOrientation of all Components(TextField,JTextArea,...) in JInternalFrame to rtl? why this code doesn't any effect?


tnx
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19543
    
  16

Moving to our GUI forum.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
System.out.println(c[i].getClass().getName());
pariya shiri
Greenhorn

Joined: Feb 18, 2010
Posts: 15
Michael Dunn wrote:System.out.println(c[i].getClass().getName());


what 's your mean?
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
this.getComponents();

often will not give you all the components you see on the screen

so, print out the class names c[], and see if they match
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Set all ComponentOrientation to rtl
 
Similar Threads
get all application components and change their orientation
trouble in setDefaultLocale
applyComponentOrientation: am i misunderstanding or something else...?
JInternalFrame double click Not closing theJInternalFrame
A TOUGH question on JInternal Frame