# Controls form G4P

**URL:** https://discourse.processing.org/t/controls-form-g4p/45344
**Category:** Libraries
**Created:** [November 15, 2024, 3:05pm UTC](https://discourse.processing.org/t/controls-form-g4p/45344 "2024-11-15T15:05:27Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![roberto64](https://avatars.discourse-cdn.com/v4/letter/r/90ced4/32.png) [@roberto64](https://discourse.processing.org/u/roberto64)
#### Post date: [November 15, 2024, 3:05pm UTC](https://discourse.processing.org/t/controls-form-g4p/45344/1 "2024-11-15T15:05:27Z")

</div>

Hi, I’ve been using processing for a while now, I wanted to know if there are controls like CustomListView, G4P Builder and nice controls to create forms, isn’t it possible to add certain controls to G4P Builder too?, Regards

---

<div class="post-metadata">

### Author: ![quark](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/quark/32/26_2.png) [@quark](https://discourse.processing.org/u/quark)
#### Post date: [November 15, 2024, 3:59pm UTC](https://discourse.processing.org/t/controls-form-g4p/45344/2 "2024-11-15T15:59:30Z")

</div>

A lot of people confuse **G4P** and **GUI Builder** 🥲

**G4P** : A Processing _library_ to provide a range of GUI controls for use in Processing sketches.

**GUI Builder** : A Processing _tool_ that helps users create G4P interfaces. Not all G4P control types can be added from GUI Builder, these would have to be added to the source code manually.

G4P cannot replicate all the controls you might find in GUIs such as AWT, Swing or JavaFX and that was never my intention. The controls were based on what I thought most Processing users would find helpful and some controls in G4P can’t be found elsewhere e.g. GControlPalette, GPeasyView and GStick.

Although it is possible to _extend_ existing G4P controls to provide some additional functionality it is not a simple task. If you are interested there are some discussions on the forum about doing this (if you can find them).

There have also been discussions about using Java Swing with Processing but even that can be problematic.

So the answer to your question -

> [@roberto64](#):
>
> isn’t it possible to add certain controls to G4P Builder too?

is “No it isn’t”.

Sorry about that 🧐

---

<div class="post-metadata">

### Author: ![roberto64](https://avatars.discourse-cdn.com/v4/letter/r/90ced4/32.png) [@roberto64](https://discourse.processing.org/u/roberto64)
#### Post date: [November 15, 2024, 5:33pm UTC](https://discourse.processing.org/t/controls-form-g4p/45344/3 "2024-11-15T17:33:39Z")

</div>

thanks for your reply
