# Transparent Background/Window with Opaque Objects

**URL:** <https://discourse.processing.org/t/transparent-background-window-with-opaque-objects/46502>\
**Category:** Coding Questions\
**Created:** [June 4, 2025, 2:21am UTC](https://discourse.processing.org/t/transparent-background-window-with-opaque-objects/46502 "2025-06-04T02:21:18Z")\
**Posts on this page:** 1\
**Showing post:** 5

<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:** [June 4, 2025, 8:43pm UTC](https://discourse.processing.org/t/transparent-background-window-with-opaque-objects/46502/5 "2025-06-04T20:43:56Z")

</div>

> [@YellowGTM](#):
>
> I’ve seen this done, and apparently Processing is able to have completely opaque  
> objects floating on a transparent window.

Related:

> [@Making a program without a window border (and no background, just the shape)](https://discourse.processing.org/t/making-a-program-without-a-window-border-and-no-background-just-the-shape/41260/17):
>
> A simplified example using an image from a URL: // Display an image without window border and transparent background // Author: glv // Date: 2023-10-15 // Insight gleaned from various sources; seek and you shall find. import java.awt.\*; import javax.swing.\*; import java.awt.image.BufferedImage; import javax.imageio.ImageIO; import java.net.URL; JFrame frame; ImageIcon img; BufferedImage bimg; void setup() { surface.setVisible(false); String url = "https://upload.wikimedia.…

`:)`

---

_[View the full topic](https://discourse.processing.org/t/transparent-background-window-with-opaque-objects/46502)._
