Text color in the JTextField not changing according to the theme

Answered

we are using a table to show the details to the user. Inside the table has two JTextFields. Text color is black while typing on the Text-field. At the moment editor using Dracula theme. black color text makes the users uncomfortable to enter the details.

structure of the component
JPanel inside the JXTable .Another JPanel in the JXTable. Text fields are in the JPanel .

Normally other text-fields color are changing according to the theme. but  text-field color in the table not working according to the theme.

 

0
2 comments

Register com.intellij.ide.ui.LafManagerListener and force update/repaint of affected Swing components.

https://jetbrains.org/intellij/sdk/docs/basics/plugin_structure/plugin_listeners.html

0

Please sign in to leave a comment.