Skip to content

Conversation

@BobHanson
Copy link
Owner

No description provided.

 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 f26bd87 into master Oct 9, 2021
warownia1 pushed a commit to warownia1/java2script that referenced this pull request Sep 13, 2022
Merge pull request BobHanson#225 from BobHanson/hanson1
BobHanson added a commit that referenced this pull request Nov 28, 2023
5.0.1 dual-mode transpiler
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