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

UIManager.getFont can return null in Java 7 #33

Open
nigelht opened this issue Apr 10, 2014 · 1 comment
Open

UIManager.getFont can return null in Java 7 #33

nigelht opened this issue Apr 10, 2014 · 1 comment
Labels

Comments

@nigelht
Copy link

nigelht commented Apr 10, 2014

In TaskDialogs.java line 253:

        text.setFont( UIManager.getFont("Label.font"));

Can throw a null pointer exception in Java 7 where it didn't in Java 6.

In MacWidgets I fixed this with code that looks like:

http://code.google.com/p/macwidgets/source/browse/trunk/source/com/explodingpixels/macwidgets/MacFontUtils.java

@eugener
Copy link
Owner

eugener commented Apr 10, 2014

Can you provide a pull request with the fix, please?

@eugener eugener added the bug label May 2, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants