Skip to content
Permalink
Browse files
8264950: Set opaque for JTooltip in config file of NimbusLookAndFeel
Reviewed-by: serb, pbansal
  • Loading branch information
trebari committed May 4, 2021
1 parent cfdf4a7 commit 30ccd8081b3b82c04203a72c59d12a8c0a24b0c0
@@ -27248,7 +27248,7 @@
<borderStates/>
<regions/>
</uiComponent>
<uiComponent opaque="false" type="javax.swing.JToolTip" name="ToolTip" ui="ToolTipUI" subregion="false">
<uiComponent opaque="true" type="javax.swing.JToolTip" name="ToolTip" ui="ToolTipUI" subregion="false">
<stateTypes/>
<contentMargins top="4" bottom="4" left="4" right="4"/>
<style>
@@ -70,7 +70,6 @@ public static ComponentUI createUI(JComponent c) {
@Override
protected void installDefaults(JComponent c) {
updateStyle(c);
LookAndFeel.installProperty(c, "opaque", Boolean.TRUE);
}

private void updateStyle(JComponent c) {
@@ -33,7 +33,7 @@

/**
* @test
* @bug 8253266
* @bug 8253266 8264950
* @summary setUIProperty should work when opaque property is not set by
* client
* @key headful

0 comments on commit 30ccd80

Please sign in to comment.