Flashing plugin: increase version to 1.4

This commit is contained in:
Sergey Ponomarev
2026-07-24 01:11:04 +03:00
parent df7a0a1b12
commit a621c6295d
2 changed files with 8 additions and 10 deletions

View File

@ -10,7 +10,7 @@
</parent>
<artifactId>flashing</artifactId>
<version>1.3</version>
<version>1.4</version>
<name>Window Flashing Plugin</name>
<description>Flashes window on new messages (Microsoft Windows only).</description>

View File

@ -29,15 +29,13 @@ import org.jivesoftware.spark.component.VerticalFlowLayout;
import org.jivesoftware.spark.util.ResourceUtils;
public class FlashingPreferenceDialog extends JPanel {
private final JCheckBox flashingEnabled;
private final JComboBox<String> flashingType;
public FlashingPreferenceDialog() {
JPanel flashingPanel = new JPanel();
flashingEnabled = new JCheckBox();
flashingType = new JComboBox<>();
JLabel lTyps = new JLabel();
flashingPanel.setLayout(new GridBagLayout());
private final JCheckBox flashingEnabled = new JCheckBox();
private final JComboBox<String> flashingType = new JComboBox<>();
private final JPanel flashingPanel = new JPanel();
private final JLabel lTyps = new JLabel();
public FlashingPreferenceDialog() {
flashingPanel.setLayout(new GridBagLayout());
flashingEnabled.addActionListener( e -> updateUI(flashingEnabled.isSelected()) );