How to change the default color of the text of a JcomboBox in java?

Is it possible to change the default color of the text of a JcomboBox in java, when it is locked, that is, setEnabled (false)?

https://drive.google.com/file/d/1-r3HKxjlhzHPS4RSlDHQBz2A3zwy9HJz/view?usp=sharing

@tarraProgramming you’ve posted this in the JavaScript forum and yet you’re asking how to do something in Java. Which is it?

I’ve moved this out of JavaScript and into the General Web Dev forum, where it more appropriately belongs.

2 Likes

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.