wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android 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: 10172
    
    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.
 
Consider Paul's rocket mass heater.
 
subject: Look&Feel Switch Glitch
 
Similar Threads
Issue with setting different Look and Feel in a Single Application
Swing
I can change fonts only once in the runtime
Gridag-Layout problem in motif look and feel.
cant i change LAF at runtime?