Skip to content

Better support for netbean's dark themes #2

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

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

mlvtito
Copy link

@mlvtito mlvtito commented Dec 22, 2013

I just changed 2 things.

First, I removed the forced white background color on event table. Netbeans sets the default color for the current theme.

I forced the font in severity cell to black whatever the theme used.

See you

Arnaud

if (!((renderer instanceof SeverityCellView)
|| this.getSelectionModel().isSelectedIndex(rowIndex))) {
if (event instanceof XMLEvent) {
jc.setBackground(new Color(236, 233, 216));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for your help. just have one remark:

if you remove this if statement there is no special rendering of manually loaded log4j events (from file)

screen shot 2014-01-09 at 10 34 14

Maybe we should just delete the else branch of the statement.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello,

Just come back to this feature yesterday (I didn't have much time until now).

The fact is if I do not remove the entire if statement, I cannot see manually loaded log4j events with my dark theme (foreground is white and background is white).

Which "look and feel" do you use ? I've done some tests and I didn't managed to reproduce the look of your screenshot. (my guess is you're using a Mac because I've tested on Ubuntu and Windows. If my guess is right, I cannot work further on the problem because I don't have one)

Thanks

@mlvtito
Copy link
Author

mlvtito commented Nov 10, 2015

I added a change on Regexp text field. Foreground color is no more forced.

See you

Arnaud

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

Successfully merging this pull request may close these issues.

3 participants