I have a snippet that change the color of a JTextField :
textField.setBackground(new Color(155, 0, 0, 155));
When the color is changing, the component has a strange behaviour: the cursor twinkling becomes not regular, as so the color opacity that seems to change on ongoing repaint events. If the color is created without specifying alpha parameter, the bug seems to disappear.
Any ideas about how to use tranlucid color in JTextField ?