# Urgent Code help (Draw Program)

**URL:** <https://discourse.processing.org/t/urgent-code-help-draw-program/27280>\
**Category:** Libraries\
**Created:** [January 21, 2021, 6:30pm UTC](https://discourse.processing.org/t/urgent-code-help-draw-program/27280 "2021-01-21T18:30:17Z")\
**Posts on this page:** 1\
**Showing post:** 32

<div class="post-metadata">

**Author:** ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Post date:** [January 27, 2021, 6:11am UTC](https://discourse.processing.org/t/urgent-code-help-draw-program/27280/32 "2021-01-27T06:11:36Z")

</div>

[Sound-Program]

When you have the songs in an arraylist you can shuffle them

> [@Color Shuffle with hex color codes](https://discourse.processing.org/t/color-shuffle-with-hex-color-codes/1191/5):
>
> ```auto
> import java.util.*;
> 
> ```

Then Collections.shuffle ( songs );

when your arraylist is called songs

[Edited]

---

_[View the full topic](https://discourse.processing.org/t/urgent-code-help-draw-program/27280)._
