File tree 1 file changed +2
-16
lines changed
1 file changed +2
-16
lines changed Original file line number Diff line number Diff line change 29
29
30
30
package cc .arduino .view ;
31
31
32
+ import static processing .app .Theme .scale ;
33
+
32
34
import java .awt .Color ;
33
35
import java .awt .FlowLayout ;
34
36
import java .awt .Frame ;
45
47
import javax .swing .JButton ;
46
48
import javax .swing .JDialog ;
47
49
import javax .swing .JEditorPane ;
48
- import javax .swing .JFrame ;
49
50
import javax .swing .JLabel ;
50
51
import javax .swing .WindowConstants ;
51
52
import javax .swing .border .LineBorder ;
52
53
import javax .swing .event .HyperlinkListener ;
53
54
54
55
import processing .app .Theme ;
55
- import static processing .app .Theme .scale ;
56
56
57
57
public class NotificationPopup extends JDialog {
58
58
@@ -133,18 +133,4 @@ private void updateLocation(Frame parent) {
133
133
public void close () {
134
134
dispatchEvent (new WindowEvent (this , WindowEvent .WINDOW_CLOSING ));
135
135
}
136
-
137
- public static void main (String args []) {
138
- NotificationPopup dialog = new NotificationPopup (new JFrame (),
139
- System .out ::println ,
140
- "<a href='arduinoide://boardsmanager'>test</a> test test test test test test test test\n "
141
- + " test test test test test test test test test test test" );
142
- dialog .addWindowListener (new WindowAdapter () {
143
- @ Override
144
- public void windowClosing (WindowEvent e ) {
145
- System .exit (0 );
146
- }
147
- });
148
- dialog .setVisible (true );
149
- }
150
136
}
You can’t perform that action at this time.
0 commit comments