mirror of
https://github.com/processing/processing4.git
synced 2026-02-10 00:59:40 +01:00
tiny ifdef for jdk14 code
This commit is contained in:
@@ -207,7 +207,9 @@ public class PdeEditor extends JPanel {
|
||||
screen.height + insets.top + insets.bottom);
|
||||
} else {
|
||||
presentationWindow = new Frame();
|
||||
#ifdef JDK14
|
||||
((Frame)presentationWindow).setUndecorated(true);
|
||||
#endif
|
||||
presentationWindow.setBounds(0, 0, screen.width, screen.height);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user