I think you can use: UIManager.getColor(„TextField.background“) and you have to 
find the right key for that.

Please if there is a better API, let me knows it.


Cheers

Chris

Von: Peter Cheung
Gesendet: Samstag, 24. Februar 2018 21:24
An: [email protected]
Cc: [email protected]
Betreff: Which api can get the editor background color of current theme

Dear All
    Which api can get the editor background color of current theme?
Thanks
>From Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Reply via email to