![]() This is the simple method if you want to run your application with Synthetica V2.0 but it isn't recommended. To the traditional opaque handling by providing "" With respect to existing applications there is a simple way to switch back MyTextField.putClientPropery("Synthetica.opaque", Boolean.FALSE) JTextArea components used as description fields you have to provide the 'Synthetica.opaque' client propertyīy calling JComponent#putClientPropery() - see example below. ![]() If you want to disable background painting for example for The Synthetica painter ignores the opaque settingsĪnd will paint the background anyway. Synthetica V2.0 and above solves this behaviour by setting the opaque property for text componentsĪnd comboBoxes to false by default. However on dark backgrounds light pixel fragmentsĪppear at the component edges (see image below). On light backgrounds this behaviourĭoesn't matter because it's hard to recognize. Will be colorized which aren't part of the component. Rectangulary filled by Swing with the default background color. ![]() In Swing/Synth you run into a paint problem when you try to provide non-rectangular components.Īs long as your components are opaque (which is generally the default) the background will be
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |