mirror of
https://github.com/igniterealtime/Spark.git
synced 2026-08-18 02:56:24 +00:00
Flashing plugin: increase version to 1.4
This commit is contained in:
@ -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>
|
||||
|
||||
@ -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()) );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user