viewProfileHyperLink.setFont(new Font("Segoe UI", Font.PLAIN, 12));
viewProfileHyperLink.setBounds(70, 82, 217, 24);
viewProfileHyperLink.setCursor(new Cursor(Cursor.HAND_CURSOR));
settingsWidget.getContentPane().add(viewProfileHyperLink);
separator = new JSeparator();
separator.setForeground(Color.LIGHT_GRAY);
separator.setBounds(10, 117, 497, 2);
settingsWidget.getContentPane().add(separator);
onlineServicesLabel = new JLabel("Online Service Settings");
onlineServicesLabel.setForeground(Color.WHITE);
onlineServicesLabel.setFont(new Font("Segoe UI", Font.PLAIN, 13));
onlineServicesLabel.setBounds(10, 122, 155, 24);
settingsWidget.getContentPane().add(onlineServicesLabel);
separator_1 = new JSeparator();
separator_1.setForeground(Color.LIGHT_GRAY);
separator_1.setBounds(10, 184, 497, 2);
settingsWidget.getContentPane().add(separator_1);
notficationsLabel = new JLabel("Notfications");
notficationsLabel.setForeground(Color.WHITE);
notficationsLabel.setFont(new Font("Segoe UI", Font.PLAIN, 13));
notficationsLabel.setBounds(10, 194, 155, 24);
settingsWidget.getContentPane().add(notficationsLabel);
showPlayBackAlertCheckbox = new JCheckBox("Display Alert");
showPlayBackAlertCheckbox.setFont(new Font("Segoe UI", Font.PLAIN, 11));
showPlayBackAlertCheckbox.setForeground(Color.WHITE);
showPlayBackAlertCheckbox.setBackground(new Color(49, 49, 49));
showPlayBackAlertCheckbox.setBounds(10, 241, 98, 23);
settingsWidget.getContentPane().add(showPlayBackAlertCheckbox);
lblWhenANew = new JLabel("When a new song plays while minimized");
lblWhenANew.setForeground(Color.WHITE);
lblWhenANew.setFont(new Font("Segoe UI", Font.PLAIN, 12));
lblWhenANew.setBounds(10, 218, 222, 24);
settingsWidget.getContentPane().add(lblWhenANew);
playBackSettingsLabel = new JLabel("Playback Settings");
playBackSettingsLabel.setForeground(Color.WHITE);
playBackSettingsLabel.setFont(new Font("Segoe UI", Font.PLAIN, 13));
playBackSettingsLabel.setBounds(10, 303, 155, 24);
settingsWidget.getContentPane().add(playBackSettingsLabel);
lowQualityCheckBox = new JCheckBox("Stream Lower Bitrate");
lowQualityCheckBox.setBackground(new Color(49, 49, 49));
lowQualityCheckBox.setForeground(Color.WHITE);
lowQualityCheckBox.setFont(new Font("Segoe UI", Font.PLAIN, 11));
lowQualityCheckBox.setBounds(10, 346, 134, 23);
settingsWidget.getContentPane().add(lowQualityCheckBox);
lblHelpsIfYoure = new JLabel("If you're experiencing buffering.");
lblHelpsIfYoure.setForeground(Color.WHITE);
lblHelpsIfYoure.setFont(new Font("Segoe UI", Font.PLAIN, 12));
lblHelpsIfYoure.setBounds(10, 322, 209, 28);
settingsWidget.getContentPane().add(lblHelpsIfYoure);
saveSettingsButton = new JButton("APPLY");
saveSettingsButton.addActionListener(e -> {
Settings.setUserName(userNameField.getText().trim());
Settings.setDisplayAlert(showPlayBackAlertCheckbox.isSelected());
Settings.setStreamLowQuality(lowQualityCheckBox.isSelected());
Settings.setSavePlayBack(savePlayBackCheckBox.isSelected());
Settings.saveSettings(false);
});
saveSettingsButton.setForeground(Color.WHITE);
saveSettingsButton.setBounds(323, 425, 89, 23);
settingsWidget.getContentPane().add(saveSettingsButton);
exitFrameButton = new JButton("CANCEL");
exitFrameButton.addActionListener(e -> settingsWidget.dispose());
exitFrameButton.setForeground(Color.WHITE);
exitFrameButton.setBounds(422, 425, 89, 23);
settingsWidget.getContentPane().add(exitFrameButton);
separator_2 = new JSeparator();
separator_2.setForeground(Color.LIGHT_GRAY);
separator_2.setBounds(10, 292, 497, 8);
settingsWidget.getContentPane().add(separator_2);
settingsWidget.setType(Type.UTILITY);
settingsWidget.setBounds(100, 100, 533, 484);