Skip to content

Conversation

@BobHanson
Copy link
Collaborator

javajs.util.DecimalFormatter fix

 In this case, there is an Interface (TView) that WorldTView implements.
But that interface, in its static initializer, creates a WorldTViewIcon
by referencing a static field in WorldTView,

protected static final Icon WORLDVIEW_ICON =
Tracker.getResourceIcon("axes.gif", true);

Ah, but this is happening before WorldView is fully initialized, and it
causes WorldTView to instantiate all its static fields. OK, but then
later, the JavaScript classloader runs the method that generates all the
defaults for the static fields, and that was nulling out the array that
had just been made.
JSComboBoxUI fixes for font and background
JSTextFieldUI preferred width miscalculated in HTML; use CSS "ch" option
JSLabelUI fix for background when also overriding paintComponent
@BobHanson BobHanson merged commit b73c568 into java2script:master Oct 9, 2021
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.

1 participant