propane 3.5.0-java → 3.6.0-java

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/.mvn/extensions.xml +1 -1
  3. data/.mvn/wrapper/MavenWrapperDownloader.java +1 -1
  4. data/.mvn/wrapper/maven-wrapper.properties +2 -2
  5. data/.travis.yml +1 -1
  6. data/CHANGELOG.md +3 -1
  7. data/README.md +5 -13
  8. data/Rakefile +1 -1
  9. data/lib/propane.rb +2 -1
  10. data/lib/propane/helper_methods.rb +0 -1
  11. data/lib/propane/runner.rb +2 -0
  12. data/lib/propane/version.rb +1 -1
  13. data/pom.rb +43 -43
  14. data/pom.xml +4 -4
  15. data/propane.gemspec +4 -3
  16. data/src/main/java/japplemenubar/JAppleMenuBar.java +3 -3
  17. data/src/main/java/processing/awt/PGraphicsJava2D.java +8 -17
  18. data/src/main/java/processing/awt/PImageAWT.java +123 -6
  19. data/src/main/java/processing/awt/PShapeJava2D.java +1 -0
  20. data/src/main/java/processing/awt/PSurfaceAWT.java +9 -7
  21. data/src/main/java/processing/awt/ShimAWT.java +2 -1
  22. data/src/main/java/processing/core/PApplet.java +4605 -6014
  23. data/src/main/java/processing/core/PConstants.java +5 -5
  24. data/src/main/java/processing/core/PFont.java +5 -17
  25. data/src/main/java/processing/core/PGraphics.java +308 -320
  26. data/src/main/java/processing/core/PImage.java +1440 -1537
  27. data/src/main/java/processing/core/PMatrix2D.java +24 -7
  28. data/src/main/java/processing/core/PMatrix3D.java +12 -5
  29. data/src/main/java/processing/core/PShape.java +155 -173
  30. data/src/main/java/processing/core/PShapeOBJ.java +2 -0
  31. data/src/main/java/processing/core/PShapeSVG.java +632 -611
  32. data/src/main/java/processing/core/PSurface.java +15 -10
  33. data/src/main/java/processing/core/PSurfaceNone.java +8 -4
  34. data/src/main/java/processing/core/PVector.java +35 -28
  35. data/src/main/java/processing/data/Table.java +20 -20
  36. data/src/main/java/processing/data/XML.java +1 -1
  37. data/src/main/java/processing/event/Event.java +1 -1
  38. data/src/main/java/processing/event/MouseEvent.java +7 -6
  39. data/src/main/java/processing/javafx/PGraphicsFX2D.java +20 -345
  40. data/src/main/java/processing/javafx/PSurfaceFX.java +127 -125
  41. data/src/main/java/processing/opengl/FrameBuffer.java +2 -4
  42. data/src/main/java/processing/opengl/LinePath.java +4 -0
  43. data/src/main/java/processing/opengl/LineStroker.java +2 -6
  44. data/src/main/java/processing/opengl/PGL.java +72 -45
  45. data/src/main/java/processing/opengl/PGraphicsOpenGL.java +106 -60
  46. data/src/main/java/processing/opengl/PJOGL.java +15 -3
  47. data/src/main/java/processing/opengl/PShader.java +26 -47
  48. data/src/main/java/processing/opengl/PShapeOpenGL.java +1041 -1001
  49. data/src/main/java/processing/opengl/PSurfaceJOGL.java +211 -208
  50. data/src/main/java/processing/opengl/Texture.java +7 -4
  51. data/src/main/java/processing/opengl/VertexBuffer.java +2 -2
  52. data/vendors/Rakefile +22 -33
  53. metadata +38 -18
@@ -1127,7 +1127,7 @@ public class XML implements Serializable {
1127
1127
  }
1128
1128
 
1129
1129
  } catch (Exception e) {
1130
-
1130
+ e.printStackTrace();
1131
1131
  }
1132
1132
  return null;
1133
1133
  }
@@ -31,7 +31,7 @@ public class Event {
31
31
 
32
32
  // These correspond to the java.awt.Event modifiers (not to be confused with
33
33
  // the newer getModifiersEx), though they're not guaranteed to in the future.
34
- static public final int SHIFT = 1;
34
+ static public final int SHIFT = 1 << 0;
35
35
  static public final int CTRL = 1 << 1;
36
36
  static public final int META = 1 << 2;
37
37
  static public final int ALT = 1 << 3;
@@ -62,7 +62,8 @@ public class MouseEvent extends Event {
62
62
  }
63
63
 
64
64
 
65
- /** Which button was pressed, either LEFT, CENTER, or RIGHT. */
65
+ /** Which button was pressed, either LEFT, CENTER, or RIGHT.
66
+ * @return */
66
67
  public int getButton() {
67
68
  return button;
68
69
  }
@@ -70,12 +71,12 @@ public class MouseEvent extends Event {
70
71
 
71
72
  /**
72
73
  * Number of clicks for mouse button events, or the number of steps (positive
73
- * or negative depending on direction) for a mouse wheel event.
74
- * Wheel events follow Java (see <a href="http://docs.oracle.com/javase/6/docs/api/java/awt/event/MouseWheelEvent.html#getWheelRotation()">here</a>), so
75
- * getAmount() will return "negative values if the mouse wheel was rotated
76
- * up or away from the user" and positive values in the other direction.
74
+ * or negative depending on direction) for a mouse wheel event.Wheel events follow Java (see <a href="http://docs.oracle.com/javase/6/docs/api/java/awt/event/MouseWheelEvent.html#getWheelRotation()">here</a>), so
75
+ getAmount() will return "negative values if the mouse wheel was rotated
76
+ up or away from the user" and positive values in the other direction.
77
77
  * On Mac OS X, this will be reversed when "natural" scrolling is enabled
78
- * in System Preferences &rarr Mouse.
78
+ in System Preferences &rarr Mouse.
79
+ * @return
79
80
  */
80
81
  public int getCount() {
81
82
  return count;
@@ -1,357 +1,32 @@
1
- package processing.javafx;
2
-
3
- import processing.core.PGraphics;
4
- import processing.core.PImage;
5
- import processing.core.PMatrix;
6
- import processing.core.PMatrix2D;
7
- import processing.core.PMatrix3D;
8
- import processing.core.PShape;
9
- import processing.core.PSurface;
10
-
11
- public class PGraphicsFX2D extends PGraphics {
12
-
13
- final String message = "FX2D renderer not supported in this version of propane";
14
-
15
- public PGraphicsFX2D() {
16
- }
17
-
18
- @Override
19
- public void applyMatrix(float n00, float n01, float n02, float n10, float n11, float n12) {
20
- throw new UnsupportedOperationException(message);
21
- }
22
-
23
- @Override
24
- public void applyMatrix(float n00, float n01, float n02, float n03, float n10, float n11, float n12, float n13, float n20, float n21, float n22, float n23, float n30, float n31, float n32, float n33) {
25
- throw new UnsupportedOperationException(message);
26
- }
27
-
28
- @Override
29
- protected void backgroundImpl() {
30
- throw new UnsupportedOperationException(message);
31
- }
32
-
33
- @Override
34
- public void beginContour() {
35
- throw new UnsupportedOperationException(message);
36
- }
37
-
38
- @Override
39
- public void beginDraw() {
40
- throw new UnsupportedOperationException(message);
41
- }
42
-
43
- @Override
44
- public void beginShape(int kind) {
45
- throw new UnsupportedOperationException(message);
46
- }
47
-
48
- @Override
49
- public void bezierDetail(int detail) {
50
- throw new UnsupportedOperationException(message);
51
- }
52
-
53
- @Override
54
- public void bezierVertex(float x1, float y1, float x2, float y2, float x3, float y3) {
55
- throw new UnsupportedOperationException(message);
56
- }
57
-
58
- @Override
59
- public void bezierVertex(float x2, float y2, float z2, float x3, float y3, float z3, float x4, float y4, float z4) {
60
- throw new UnsupportedOperationException(message);
61
- }
62
-
63
- @Override
64
- public void box(float w, float h, float d) {
65
- throw new UnsupportedOperationException(message);
66
- }
67
-
68
- @Override
69
- public PSurface createSurface() {
70
- throw new UnsupportedOperationException(message);
71
- }
72
-
73
- @Override
74
- public void curveDetail(int detail) {
75
- throw new UnsupportedOperationException(message);
76
- }
77
-
78
- @Override
79
- public void curveVertex(float x, float y, float z) {
80
- throw new UnsupportedOperationException(message);
81
- }
82
-
83
- @Override
84
- public void endContour() {
85
- throw new UnsupportedOperationException(message);
86
- }
87
-
88
- @Override
89
- public void endDraw() {
90
- throw new UnsupportedOperationException(message);
91
- }
92
-
93
- @Override
94
- public void endShape(int mode) {
95
- throw new UnsupportedOperationException(message);
96
- }
97
-
98
- @Override
99
- public void flush() {
100
- throw new UnsupportedOperationException(message);
101
- }
102
-
103
- @Override
104
- public int get(int x, int y) {
105
- throw new UnsupportedOperationException(message);
106
- }
107
-
108
- @Override
109
- public PMatrix getMatrix() {
110
- throw new UnsupportedOperationException(message);
111
- }
112
-
113
- @Override
114
- public PMatrix2D getMatrix(PMatrix2D target) {
115
- throw new UnsupportedOperationException(message);
116
- }
117
-
118
- @Override
119
- public PMatrix3D getMatrix(PMatrix3D target) {
120
- throw new UnsupportedOperationException(message);
121
- }
122
-
123
- @Override
124
- public Object getNative() {
125
- throw new UnsupportedOperationException(message);
126
- }
127
-
128
- @Override
129
- public void line(float x1, float y1, float x2, float y2) {
130
- throw new UnsupportedOperationException(message);
131
- }
132
-
133
- @Override
134
- public void loadPixels() {
135
- throw new UnsupportedOperationException(message);
136
- }
137
-
138
- @Override
139
- public PShape loadShape(String filename) {
140
- throw new UnsupportedOperationException(message);
141
- }
142
-
143
- @Override
144
- public PShape loadShape(String filename, String options) {
145
- throw new UnsupportedOperationException(message);
146
- }
147
-
148
- @Override
149
- public void mask(PImage alpha) {
150
- throw new UnsupportedOperationException(message);
151
- }
1
+ /* -*- mode: java; c-basic-offset: 2; indent-tabs-mode: nil -*- */
152
2
 
153
- @Override
154
- public void noClip() {
155
- throw new UnsupportedOperationException(message);
156
- }
3
+ /*
4
+ Part of the Processing project - http://processing.org
157
5
 
158
- @Override
159
- public void point(float x, float y) {
160
- throw new UnsupportedOperationException(message);
161
- }
6
+ Copyright (c) 2015 The Processing Foundation
162
7
 
163
- @Override
164
- public void popMatrix() {
165
- throw new UnsupportedOperationException(message);
166
- }
8
+ This library is free software; you can redistribute it and/or
9
+ modify it under the terms of the GNU Lesser General Public
10
+ License as published by the Free Software Foundation, version 2.1.
167
11
 
168
- @Override
169
- public void printMatrix() {
170
- throw new UnsupportedOperationException(message);
171
- }
12
+ This library is distributed in the hope that it will be useful,
13
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
+ Lesser General Public License for more details.
172
16
 
173
- @Override
174
- public void pushMatrix() {
175
- throw new UnsupportedOperationException(message);
176
- }
17
+ You should have received a copy of the GNU Lesser General
18
+ Public License along with this library; if not, write to the
19
+ Free Software Foundation, Inc., 59 Temple Place, Suite 330,
20
+ Boston, MA 02111-1307 USA
21
+ */
177
22
 
178
- @Override
179
- public void quad(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4) {
180
- throw new UnsupportedOperationException(message);
181
- }
182
-
183
- @Override
184
- public void quadraticVertex(float ctrlX, float ctrlY, float endX, float endY) {
185
- throw new UnsupportedOperationException(message);
186
- }
187
-
188
- @Override
189
- public void quadraticVertex(float x2, float y2, float z2, float x4, float y4, float z4) {
190
- throw new UnsupportedOperationException(message);
191
- }
192
-
193
- @Override
194
- public void resetMatrix() {
195
- throw new UnsupportedOperationException(message);
196
- }
197
-
198
- @Override
199
- public void rotate(float angle) {
200
- throw new UnsupportedOperationException(message);
201
- }
202
-
203
- @Override
204
- public void rotate(float angle, float vx, float vy, float vz) {
205
- throw new UnsupportedOperationException(message);
206
- }
207
-
208
- @Override
209
- public void rotateX(float angle) {
210
- throw new UnsupportedOperationException(message);
211
- }
212
-
213
- @Override
214
- public void rotateY(float angle) {
215
- throw new UnsupportedOperationException(message);
216
- }
217
-
218
- @Override
219
- public void rotateZ(float angle) {
220
- throw new UnsupportedOperationException(message);
221
- }
222
-
223
- @Override
224
- public void scale(float s) {
225
- throw new UnsupportedOperationException(message);
226
- }
227
-
228
- @Override
229
- public void scale(float sx, float sy) {
230
- throw new UnsupportedOperationException(message);
231
- }
232
-
233
- @Override
234
- public void scale(float sx, float sy, float sz) {
235
- throw new UnsupportedOperationException(message);
236
- }
237
-
238
- @Override
239
- public float screenX(float x, float y) {
240
- throw new UnsupportedOperationException(message);
241
- }
242
-
243
- @Override
244
- public float screenX(float x, float y, float z) {
245
- throw new UnsupportedOperationException(message);
246
- }
247
-
248
- @Override
249
- public float screenY(float x, float y) {
250
- throw new UnsupportedOperationException(message);
251
- }
252
-
253
- @Override
254
- public float screenY(float x, float y, float z) {
255
- throw new UnsupportedOperationException(message);
256
- }
257
-
258
- @Override
259
- public float screenZ(float x, float y, float z) {
260
- throw new UnsupportedOperationException(message);
261
- }
262
-
263
- @Override
264
- public void set(int x, int y, int argb) {
265
- throw new UnsupportedOperationException(message);
266
- }
267
-
268
- @Override
269
- public void setMatrix(PMatrix2D source) {
270
- throw new UnsupportedOperationException(message);
271
- }
272
-
273
- @Override
274
- public void setMatrix(PMatrix3D source) {
275
- throw new UnsupportedOperationException(message);
276
- }
277
-
278
- @Override
279
- public void shearX(float angle) {
280
- throw new UnsupportedOperationException(message);
281
- }
282
-
283
- @Override
284
- public void shearY(float angle) {
285
- throw new UnsupportedOperationException(message);
286
- }
287
-
288
- @Override
289
- public void sphere(float r) {
290
- throw new UnsupportedOperationException(message);
291
- }
292
-
293
- @Override
294
- public void strokeCap(int cap) {
295
- throw new UnsupportedOperationException(message);
296
- }
297
-
298
- @Override
299
- public void strokeJoin(int join) {
300
- throw new UnsupportedOperationException(message);
301
- }
302
-
303
- @Override
304
- public void strokeWeight(float weight) {
305
- throw new UnsupportedOperationException(message);
306
- }
307
-
308
- @Override
309
- public float textAscent() {
310
- throw new UnsupportedOperationException(message);
311
- }
312
-
313
- @Override
314
- public float textDescent() {
315
- throw new UnsupportedOperationException(message);
316
- }
317
-
318
- @Override
319
- public void texture(PImage image) {
320
- throw new UnsupportedOperationException(message);
321
- }
322
-
323
- @Override
324
- public void translate(float tx, float ty) {
325
- throw new UnsupportedOperationException(message);
326
- }
327
-
328
- @Override
329
- public void triangle(float x1, float y1, float x2, float y2, float x3, float y3) {
330
- throw new UnsupportedOperationException(message);
331
- }
23
+ package processing.javafx;
332
24
 
333
- @Override
334
- public void vertex(float x, float y) {
335
- throw new UnsupportedOperationException(message);
336
- }
337
25
 
338
- @Override
339
- public void vertex(float x, float y, float z) {
340
- throw new UnsupportedOperationException(message);
341
- }
342
26
 
343
- @Override
344
- public void vertex(float[] v) {
345
- throw new UnsupportedOperationException(message);
346
- }
27
+ import processing.core.*;
347
28
 
348
- @Override
349
- public void vertex(float x, float y, float u, float v) {
350
- throw new UnsupportedOperationException(message);
351
- }
352
29
 
353
- @Override
354
- public void vertex(float x, float y, float z, float u, float v) {
355
- throw new UnsupportedOperationException(message);
356
- }
30
+ public class PGraphicsFX2D extends PGraphics {
31
+
357
32
  }
@@ -1,3 +1,5 @@
1
+ /* -*- mode: java; c-basic-offset: 2; indent-tabs-mode: nil -*- */
2
+
1
3
  /*
2
4
  Part of the Processing project - http://processing.org
3
5
 
@@ -16,156 +18,156 @@
16
18
  Public License along with this library; if not, write to the
17
19
  Free Software Foundation, Inc., 59 Temple Place, Suite 330,
18
20
  Boston, MA 02111-1307 USA
19
- */
21
+ */
22
+
20
23
  package processing.javafx;
21
24
 
25
+
22
26
  import java.io.File;
23
- import processing.core.PApplet;
24
- import processing.core.PImage;
25
- import processing.core.PSurface;
27
+ import processing.core.*;
28
+
26
29
 
27
30
  public class PSurfaceFX implements PSurface {
31
+ final String MESSAGE = "Not implemented by ruby-processing projects";
28
32
 
29
- final String message = "FX2D renderer not supported in this version of propane";
30
-
31
- @Override
32
- public void initOffscreen(PApplet sketch) {
33
- throw new UnsupportedOperationException(message);
34
- }
35
-
36
- @Override
37
- public void initFrame(PApplet sketch) {
38
- throw new UnsupportedOperationException(message);
39
- }
40
-
41
- @Override
42
- public Object getNative() {
43
- throw new UnsupportedOperationException(message);
44
- }
45
-
46
- @Override
47
- public void setTitle(String title) {
48
- throw new UnsupportedOperationException(message);
49
- }
50
-
51
- @Override
52
- public void setVisible(boolean visible) {
53
- throw new UnsupportedOperationException(message);
54
- }
55
-
56
- @Override
57
- public void setResizable(boolean resizable) {
58
- throw new UnsupportedOperationException(message);
59
- }
60
-
61
- @Override
62
- public void setAlwaysOnTop(boolean always) {
63
- throw new UnsupportedOperationException(message);
64
- }
65
-
66
- @Override
67
- public void setIcon(PImage icon) {
68
- throw new UnsupportedOperationException(message);
69
- }
70
-
71
- @Override
72
- public void placeWindow(int[] location, int[] editorLocation) {
73
- throw new UnsupportedOperationException(message);
74
- }
75
-
76
- @Override
77
- public void placePresent(int stopColor) {
78
- throw new UnsupportedOperationException(message);
79
- }
80
-
81
- @Override
82
- public void setupExternalMessages() {
83
- throw new UnsupportedOperationException(message);
84
- }
85
-
86
- @Override
87
- public void setLocation(int x, int y) {
88
- throw new UnsupportedOperationException(message);
89
- }
90
-
91
- @Override
92
- public void setSize(int width, int height) {
93
- throw new UnsupportedOperationException(message);
94
- }
95
-
96
- @Override
97
- public void setFrameRate(float fps) {
98
- throw new UnsupportedOperationException(message);
99
- }
100
-
101
- @Override
102
- public void setCursor(int kind) {
103
- throw new UnsupportedOperationException(message);
104
- }
105
-
106
- @Override
107
- public void setCursor(PImage image, int hotspotX, int hotspotY) {
108
- throw new UnsupportedOperationException(message);
109
- }
110
-
111
- @Override
112
- public void showCursor() {
113
- throw new UnsupportedOperationException(message);
114
- }
115
-
116
- @Override
117
- public void hideCursor() {
118
- throw new UnsupportedOperationException(message);
119
- }
120
-
121
- @Override
122
- public void startThread() {
123
- throw new UnsupportedOperationException(message);
124
- }
125
-
126
- @Override
127
- public void pauseThread() {
128
- throw new UnsupportedOperationException(message);
129
- }
130
-
131
- @Override
132
- public void resumeThread() {
133
- throw new UnsupportedOperationException(message);
134
- }
135
-
136
- @Override
137
- public boolean stopThread() {
138
- throw new UnsupportedOperationException(message);
139
- }
140
-
141
- @Override
142
- public boolean isStopped() {
143
- throw new UnsupportedOperationException(message);
144
- }
33
+ @Override
34
+ public void initOffscreen(PApplet sketch) {
35
+ throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
36
+ }
37
+
38
+ @Override
39
+ public void initFrame(PApplet sketch) {
40
+ throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
41
+ }
145
42
 
146
43
  @Override
147
44
  public PImage loadImage(String path, Object... args) {
148
- throw new UnsupportedOperationException(message);
45
+ throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
149
46
  }
150
47
 
151
48
  @Override
152
49
  public void selectInput(String prompt, String callback, File file, Object callbackObject) {
153
- throw new UnsupportedOperationException(message);
50
+ throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
154
51
  }
155
52
 
156
53
  @Override
157
54
  public void selectOutput(String prompt, String callback, File file, Object callbackObject) {
158
- throw new UnsupportedOperationException(message);
55
+ throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
159
56
  }
160
57
 
161
58
  @Override
162
59
  public void selectFolder(String prompt, String callback, File file, Object callbackObject) {
163
- throw new UnsupportedOperationException(message);
60
+ throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
61
+ }
62
+
63
+ @Override
64
+ public Object getNative() {
65
+ throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
66
+ }
67
+
68
+ @Override
69
+ public void setTitle(String title) {
70
+ throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
71
+ }
72
+
73
+ @Override
74
+ public void setVisible(boolean visible) {
75
+ throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
76
+ }
77
+
78
+ @Override
79
+ public void setResizable(boolean resizable) {
80
+ throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
81
+ }
82
+
83
+ @Override
84
+ public void setAlwaysOnTop(boolean always) {
85
+ throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
86
+ }
87
+
88
+ @Override
89
+ public void setIcon(PImage icon) {
90
+ throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
91
+ }
92
+
93
+ @Override
94
+ public void placeWindow(int[] location, int[] editorLocation) {
95
+ throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
96
+ }
97
+
98
+ @Override
99
+ public void placePresent(int stopColor) {
100
+ throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
101
+ }
102
+
103
+ @Override
104
+ public void setupExternalMessages() {
105
+ throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
106
+ }
107
+
108
+ @Override
109
+ public void setLocation(int x, int y) {
110
+ throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
111
+ }
112
+
113
+ @Override
114
+ public void setSize(int width, int height) {
115
+ throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
116
+ }
117
+
118
+ @Override
119
+ public void setFrameRate(float fps) {
120
+ throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
121
+ }
122
+
123
+ @Override
124
+ public void setCursor(int kind) {
125
+ throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
126
+ }
127
+
128
+ @Override
129
+ public void setCursor(PImage image, int hotspotX, int hotspotY) {
130
+ throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
131
+ }
132
+
133
+ @Override
134
+ public void showCursor() {
135
+ throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
136
+ }
137
+
138
+ @Override
139
+ public void hideCursor() {
140
+ throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
164
141
  }
165
142
 
166
143
  @Override
167
144
  public boolean openLink(String url) {
168
- throw new UnsupportedOperationException(message);
145
+ throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
146
+ }
147
+
148
+ @Override
149
+ public void startThread() {
150
+ throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
151
+ }
152
+
153
+ @Override
154
+ public void pauseThread() {
155
+ throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
169
156
  }
170
157
 
158
+ @Override
159
+ public void resumeThread() {
160
+ throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
161
+ }
162
+
163
+ @Override
164
+ public boolean stopThread() {
165
+ throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
166
+ }
167
+
168
+ @Override
169
+ public boolean isStopped() {
170
+ throw new UnsupportedOperationException(MESSAGE); //To change body of generated methods, choose Tools | Templates.
171
+ }
172
+
171
173
  }