• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Bear Bibeault
  • Liutauras Vilda
  • Devaka Cooray
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Henry Wong
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

Displaying the close,min and max button on the left of JFrame

 
Ranch Hand
Posts: 261
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Iam working on Internationalizing the Swing apllication...

The application has to support Arabic Locale...implies components are aligned from right to left.

Is it possible to display the close,min and max buttons on the left of JFrame?

by default the buttons (close,min and max) are aligned on the left of JFrame
i.e.

-------------------------------------------------min max close

what is need is (Arabic Locale)

close max min-------------------------------------------------
 
Abhishek Reddy
Ranch Hand
Posts: 261
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can anyone tell me how to solve this problem?
 
Abhishek Reddy
Ranch Hand
Posts: 261
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry

Is it possible to display the close,min and max buttons on the left of JFrame?

by default the buttons (close,min and max) are aligned on the right of JFrame
i.e.

-------------------------------------------------min max close

what i need in (Arabic Locale)

close max min-------------------------------------------------
 
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I suspect you would need to write your own titlebar component,
to replace the existing one
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!