You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.
It's possible to get an application using default look and feel decorated frames/dialogs to enter an infinite loop if the window icon configured is invalid.
I was able to reproduce this with the following short, self contained, correct example:
At the point of attempting to show the frame, nothing appears and the code enters an infinite loop. This problem only occurs if defaultLookAndFeelDecorated is true; it works fine if it is false.
The offending code appears to be the updateAppIcon() method in SubstanceTitlePane. If the value returned from the call to SubstanceCoreUtilities.getScaledIconImage() is null, the containing while loop repeats indefinitely.
The text was updated successfully, but these errors were encountered:
It's possible to get an application using default look and feel decorated frames/dialogs to enter an infinite loop if the window icon configured is invalid.
I was able to reproduce this with the following short, self contained, correct example:
At the point of attempting to show the frame, nothing appears and the code enters an infinite loop. This problem only occurs if defaultLookAndFeelDecorated is true; it works fine if it is false.
The offending code appears to be the updateAppIcon() method in SubstanceTitlePane. If the value returned from the call to SubstanceCoreUtilities.getScaledIconImage() is null, the containing while loop repeats indefinitely.
The text was updated successfully, but these errors were encountered: