# Creating a Processing sketch without PDE

**URL:** https://discourse.processing.org/t/creating-a-processing-sketch-without-pde/31411
**Category:** Processing
**Created:** [July 23, 2021, 6:50pm UTC](https://discourse.processing.org/t/creating-a-processing-sketch-without-pde/31411 "2021-07-23T18:50:51Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![StochasticTinkr](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@StochasticTinkr](https://discourse.processing.org/u/StochasticTinkr)
#### Post date: [July 23, 2021, 6:50pm UTC](https://discourse.processing.org/t/creating-a-processing-sketch-without-pde/31411/1 "2021-07-23T18:50:51Z")

</div>

I’m already a Java developer, and wanted to play around with Processing.

I’d like to import it in a Maven based project, but I’m running into some problems.

The latest issue when I use P2D:

```
2021-07-22 12:59:04.553 java[11110:521852] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'NSWindow drag regions should only be invalidated on the Main Thread!'

```

My pom.xml contains:

```auto
    <dependency>
      <groupId>org.processing</groupId>
      <artifactId>core</artifactId>
      <version>3.3.7</version>
    </dependency>
    <dependency>
      <groupId>org.jogamp.gluegen</groupId>
      <artifactId>gluegen-rt-main</artifactId>
      <version>2.3.2</version>
    </dependency>
    <dependency>
      <groupId>org.jogamp.jogl</groupId>
      <artifactId>jogl-all-main</artifactId>
      <version>2.3.2</version>
    </dependency>

```

---

<div class="post-metadata">

### Author: ![StochasticTinkr](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@StochasticTinkr](https://discourse.processing.org/u/StochasticTinkr)
#### Post date: [July 23, 2021, 8:00pm UTC](https://discourse.processing.org/t/creating-a-processing-sketch-without-pde/31411/2 "2021-07-23T20:00:29Z")

</div>

Well, I think P2D is just broken on MacOS. Doesn’t even work in PDE. Using the default renderer works though.

---

<div class="post-metadata">

### Author: ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)
#### Post date: [July 24, 2021, 9:29pm UTC](https://discourse.processing.org/t/creating-a-processing-sketch-without-pde/31411/3 "2021-07-24T21:29:22Z")

</div>

Hello,

I came across this Issue:  
`Big Sur seems to have broken P3D & P2D renderers #6121`  
[https://github.com/processing/processing/issues/6121](https://github.com/processing/processing/issues/6121)

`:)`
