Add missing UI elements initialization for LoginDialog#46
Add missing UI elements initialization for LoginDialog#46oleg-dubinskiy wants to merge 1 commit intoNTifyApp:mainfrom oleg-dubinskiy:fix_2
Conversation
Restore an initialization of several UI elements which was previously removed. Move some initialization code to the dialog creation constructor. Fixes LoginDialog crash when trying to login in Spotify account. Properly fixes #43.
|
The LoginDialog style is controlled by a .form file. It get's transformed at compile time: package com.spotifyxp.dialogs; import com.spotifyxp.Initiator; public class LoginDialog extends JDialog { } |
|
I'm using the JetBrains forms thing |
Restore an initialization of several UI elements which was previously removed. Move some initialization code to the dialog creation constructor.


Fixes LoginDialog crash when trying to login in Spotify account.
Properly fixes #43.
Here are some screenshots proving LoginDialog does not crash anymore and works perfectly now, although it looks a bit crooked, judging by the elements position (works on all OSes):
Ubuntu 21.10:
Windows XP Professional SP3:
I did not make a screenshot yet, but it works in ReactOS 0.4.15-dev as well too. 🙂
On ReactOS and Windows XP, I tested it with the following Java version: https://archive.org/details/jre1.8.0_251_XP. Much older versions (e. g., 8u51, are not working properly with this still).