Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to set the background color of the ErrorStrip #128

Closed
joelmoniz opened this issue Jul 16, 2015 · 2 comments
Closed

Unable to set the background color of the ErrorStrip #128

joelmoniz opened this issue Jul 16, 2015 · 2 comments

Comments

@joelmoniz
Copy link
Contributor

@joelmoniz joelmoniz commented Jul 16, 2015

The following code does not change the background color of the error strip:

ErrorStrip es = new ErrorStrip(textArea);
es.setBackground(Color.blue);
es.setOpaque(true);

The output produced is as shown:

error_strip_bckgrnd

@bobbylight
Copy link
Owner

@bobbylight bobbylight commented Jul 19, 2015

Thanks for this; fixed. Note that setOpaque(true) is no longer necessary as the ErrorStrip is now opaque by default.

@joelmoniz
Copy link
Contributor Author

@joelmoniz joelmoniz commented Jul 19, 2015

Works like a charm. Thank you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants