Text color in the JTextField not changing according to the theme


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.


Comment actions Permalink

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



Please sign in to leave a comment.