# Generate info window

**URL:** <https://discourse.processing.org/t/generate-info-window/38544>\
**Category:** Project Guidance\
**Created:** [August 29, 2022, 5:32pm UTC](https://discourse.processing.org/t/generate-info-window/38544 "2022-08-29T17:32:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TimeLex](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/timelex/32/12869_2.png) [@TimeLex](https://discourse.processing.org/u/TimeLex)\
**Post date:** [August 29, 2022, 5:32pm UTC](https://discourse.processing.org/t/generate-info-window/38544/1 "2022-08-29T17:32:37Z")

</div>

Hi,  
does anyone know how to generate such a window or whether there is any library for processing, that does that?  
 ![InfoWindow](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/e/7/e79257ed7beeb02d569cb0b05cab686b91bea8f0.png)

Thanks, TimeLex

---

<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:** [August 29, 2022, 9:04pm UTC](https://discourse.processing.org/t/generate-info-window/38544/2 "2022-08-29T21:04:59Z")

</div>

If you are able to use Swing components:

```auto
import javax.swing.*;

static void infoWnd() {
  JFrame frame = new JFrame();
  frame.setBounds(900, 300, 500, 40);
  frame.setUndecorated(true);
  JLabel label = new JLabel();
  label.setHorizontalAlignment(JLabel.CENTER);  
  label.setText("Your text for output display.");
  frame.add(label);
  frame.setVisible(true);
}

public static void main(String[] args) {  
      infoWnd();    
}

```

It’s not moveable on a Mac.

---

<div class="post-metadata">

**Author:** ![TimeLex](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/timelex/32/12869_2.png) [@TimeLex](https://discourse.processing.org/u/TimeLex)\
**Post date:** [August 30, 2022, 5:56pm UTC](https://discourse.processing.org/t/generate-info-window/38544/3 "2022-08-30T17:56:46Z")

</div>

Thanks, not exactly what i was looking for because it is not the build in one from Windows but it is good enough for me.
