File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes Displaying the close,min and max button on the left of JFrame Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Displaying the close,min and max button on the left of JFrame" Watch "Displaying the close,min and max button on the left of JFrame" New topic
Author

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

Abhishek Reddy
Ranch Hand

Joined: Mar 28, 2006
Posts: 259
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
Abhishek Reddy
Ranch Hand

Joined: Mar 28, 2006
Posts: 259
can anyone tell me how to solve this problem?
Abhishek Reddy
Ranch Hand

Joined: Mar 28, 2006
Posts: 259
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-------------------------------------------------
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
I suspect you would need to write your own titlebar component,
to replace the existing one
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Displaying the close,min and max button on the left of JFrame