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

Fixes for Crystal Ship and FTLFrame NPE #6

Closed
wants to merge 4 commits into from

Conversation

Vhati
Copy link
Contributor

@Vhati Vhati commented Oct 15, 2012

PLAYER_SHIP_CRYSTAL_2 was being omitted because, in blueprints xml, there was an unterminated comment above it.

This fixes the following issue.
#5

Changing Look and Feel in the JFrame constructor may have caused an NPE.
#7

I moved that, which I think is good practice anyway.

@Vhati
Copy link
Contributor Author

Vhati commented Oct 16, 2012

Moved LaF code in a shot-in-the-dark attempt to fix this issue, where com.sun.java.swing.plaf.windows.XPStyle.getTypeEnumName() causes a NullPointerException.

@ComaToes
Copy link
Owner

I have partially merged your changes. The LnF issue is a bug in Java when using a custom Windows theme, so your change would not solve it. You have a point about the clutter in that constructor, though.

@ComaToes ComaToes closed this Oct 17, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants