|
@@ -31,9 +31,9 @@ import com.dmdirc.util.URLBuilder;
|
31
|
31
|
import java.awt.Graphics;
|
32
|
32
|
import java.awt.Graphics2D;
|
33
|
33
|
import java.awt.Image;
|
34
|
|
-import javax.swing.JComponent;
|
35
|
34
|
|
36
|
|
-import lombok.NonNull;
|
|
35
|
+import javax.annotation.Nonnull;
|
|
36
|
+import javax.swing.JComponent;
|
37
|
37
|
|
38
|
38
|
import org.jdesktop.jxlayer.plaf.LayerUI;
|
39
|
39
|
|
|
@@ -46,19 +46,19 @@ public class BackgroundPainter extends LayerUI<JComponent> {
|
46
|
46
|
/**
|
47
|
47
|
* Domain to retrieve settings from.
|
48
|
48
|
*/
|
49
|
|
- @NonNull
|
|
49
|
+ @Nonnull
|
50
|
50
|
private final String domain;
|
51
|
51
|
|
52
|
52
|
/**
|
53
|
53
|
* Key in domain to get image URL from.
|
54
|
54
|
*/
|
55
|
|
- @NonNull
|
|
55
|
+ @Nonnull
|
56
|
56
|
private final String imageKey;
|
57
|
57
|
|
58
|
58
|
/**
|
59
|
59
|
* Key in domain to get image background type from.
|
60
|
60
|
*/
|
61
|
|
- @NonNull
|
|
61
|
+ @Nonnull
|
62
|
62
|
private final String optionKey;
|
63
|
63
|
|
64
|
64
|
/** The URL builder to use to find icons. */
|