2 Attachment(s)
quaqua look and feel - TITLEBAR
Hi,
Please help me how can the minimize/maximize/close button should be on the left side like below using quaqua look and feel:
Attachment 4395
In the actual run they are on the right side:
Attachment 4396
Code:
public JButtonDemo() {
// explicitly set the design to jaguar
System.setProperty(
"Quaqua.design","jaguar"
);
// set the Quaqua Look and Feel in the UIManager
try {
UIManager.setLookAndFeel(
"ch.randelshofer.quaqua.QuaquaLookAndFeel"
);
// set UI manager properties here that affect Quaqua
} catch (Exception e) {
// take an appropriate action here
}
Re: quaqua look and feel - TITLEBAR
You could try setting the JFrame's ComponentOrientation to RIGHT_TO_LEFT (after which you may need to set its contentPane's ComponentOrientation to LEFT_TO_RIGHT).
It does depend on whether the developers of that third party LaF decided to support RTL layouts, of course.
db
Re: quaqua look and feel - TITLEBAR
solved. thank you very much