# How do I launch a Processing app? launch() FIXED! (use a shortcut if a program does not launch!)

**URL:** <https://discourse.processing.org/t/how-do-i-launch-a-processing-app-launch-fixed-use-a-shortcut-if-a-program-does-not-launch/39620>\
**Category:** Coding Questions\
**Created:** [November 7, 2022, 7:40pm UTC](https://discourse.processing.org/t/how-do-i-launch-a-processing-app-launch-fixed-use-a-shortcut-if-a-program-does-not-launch/39620 "2022-11-07T19:40:09Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [November 8, 2022, 12:53pm UTC](https://discourse.processing.org/t/how-do-i-launch-a-processing-app-launch-fixed-use-a-shortcut-if-a-program-does-not-launch/39620/4 "2022-11-08T12:53:52Z")

</div>

Hello @Lissie,

You could export a Processing sketch (splash screen) and then launch it from within your main Processing sketch.

This may also suit your needs:

> [@Closing a second window](https://discourse.processing.org/t/closing-a-second-window/381/2):
>
> This did the trick for me: PWindow win; public void settings() { size(320, 240); } void setup() { surface.setLocation(20,20); win = new PWindow(); } void draw() { background(255, 0, 0); fill(255); rect(10, 10, frameCount, 10); } void mousePressed() { println("mousePressed in primary window"); if(win == null) win = new PWindow(); } class PWindow extends PApplet { PWindow() { super(); PApplet.runSketch(new String[] {this.getClass().getSimpleName()}, this); } …

Read the entire topic for insights.  
_It will need some modifications on your part._

`:)`

---

_[View the full topic](https://discourse.processing.org/t/how-do-i-launch-a-processing-app-launch-fixed-use-a-shortcut-if-a-program-does-not-launch/39620)._
