Skip to content

Commit bc12816

Browse files
committed
added public constructors to the NEWT event listeners in PJOGL
1 parent a342544 commit bc12816

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

core/src/processing/opengl/PJOGL.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -976,6 +976,9 @@ protected void nativeKeyEvent(com.jogamp.newt.event.KeyEvent nativeEvent,
976976
}
977977

978978
protected class NEWTWindowListener implements com.jogamp.newt.event.WindowListener {
979+
public NEWTWindowListener() {
980+
super();
981+
}
979982
@Override
980983
public void windowGainedFocus(com.jogamp.newt.event.WindowEvent arg0) {
981984
pg.parent.focusGained(null);
@@ -1008,6 +1011,9 @@ public void windowResized(com.jogamp.newt.event.WindowEvent arg0) { }
10081011

10091012
// NEWT mouse listener
10101013
protected class NEWTMouseListener extends com.jogamp.newt.event.MouseAdapter {
1014+
public NEWTMouseListener() {
1015+
super();
1016+
}
10111017
@Override
10121018
public void mousePressed(com.jogamp.newt.event.MouseEvent e) {
10131019
nativeMouseEvent(e, MouseEvent.PRESS);
@@ -1044,6 +1050,9 @@ public void mouseExited(com.jogamp.newt.event.MouseEvent e) {
10441050

10451051
// NEWT key listener
10461052
protected class NEWTKeyListener extends com.jogamp.newt.event.KeyAdapter {
1053+
public NEWTKeyListener() {
1054+
super();
1055+
}
10471056
@Override
10481057
public void keyPressed(com.jogamp.newt.event.KeyEvent e) {
10491058
nativeKeyEvent(e, KeyEvent.PRESS);

0 commit comments

Comments
 (0)