# Unable to open JavaFX window in Android mode

**URL:** <https://discourse.processing.org/t/unable-to-open-javafx-window-in-android-mode/41709>\
**Category:** Processing for Android\
**Created:** [April 13, 2023, 6:29pm UTC](https://discourse.processing.org/t/unable-to-open-javafx-window-in-android-mode/41709 "2023-04-13T18:29:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![svan](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@svan](https://discourse.processing.org/u/svan)\
**Post date:** [April 13, 2023, 6:29pm UTC](https://discourse.processing.org/t/unable-to-open-javafx-window-in-android-mode/41709/1 "2023-04-13T18:29:16Z")

</div>

Anyone know why this throws an exception in Android mode:

```auto
import javafx.stage.Stage;

void setup(){
}

void draw(){ 
}

```
