aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Look&Feel Switch Glitch Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Look&Feel Switch Glitch" Watch "Look&Feel Switch Glitch" New topic
Author

Look&Feel Switch Glitch

Isaac Hewitt
Ranch Hand

Joined: Jul 24, 2006
Posts: 190

I am using the Synthetica range of Look & Feel products, which are brilliant, especially with 4 processors, and 4 G of memory. The problem I have is when switching to another Look & Feel in the same product range.
I have configured settings to have rounded corners in my JFrames. When the program starts, the rounded corner works, but when switching, the square corner shows, even though as you can see below I have specified ROUND_RECT.


Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10266
    
    8

What component type are this.DVD_Titles and this. DVD_Titles. getViewerWindow


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Isaac Hewitt
Ranch Hand

Joined: Jul 24, 2006
Posts: 190

Maneesh, thank you your question. The 2 components are of the JFrame class.
The code below rounds out the corners of each JFrame, otherwise you get a small white bit at each corner, which is not part of the intended design.
When the program starts where you have this bit of code, the corners are rounded. It is only when changing Look & Feel style that the corners don't behave. I cannot ask this question to
the folks who have designed Synthetica, because I have not yet purchased a license and therefore not entitled to tech support. I am still evaluating the Look&Feel. Thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Look&Feel Switch Glitch