Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Set all ComponentOrientation to rtl

 
pariya shiri
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 20497
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to our GUI forum.
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
System.out.println(c[i].getClass().getName());
 
pariya shiri
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Michael Dunn wrote:System.out.println(c[i].getClass().getName());


what 's your mean?
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic