# Loading Class In Data Folder?

**URL:** <https://discourse.processing.org/t/loading-class-in-data-folder/40546>\
**Category:** Beginners\
**Created:** [January 11, 2023, 1:50am UTC](https://discourse.processing.org/t/loading-class-in-data-folder/40546 "2023-01-11T01:50:19Z")\
**Posts on this page:** 3\
**Page:** 1

<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:** [January 11, 2023, 1:50am UTC](https://discourse.processing.org/t/loading-class-in-data-folder/40546/1 "2023-01-11T01:50:19Z")

</div>

Is there a way to load a class stored in the ‘data’ folder? No problem if the class is under a separate tab in the main app, but what if it is stored in the data folder?

---

<div class="post-metadata">

**Author:** ![jafal](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jafal/32/19112_2.png) [@jafal](https://discourse.processing.org/u/jafal)\
**Post date:** [January 11, 2023, 3:12am UTC](https://discourse.processing.org/t/loading-class-in-data-folder/40546/2 "2023-01-11T03:12:45Z")

</div>

Hi

> <https://stackoverflow.com/questions/41710079/imports-in-processing>

---

<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:** [January 11, 2023, 3:41am UTC](https://discourse.processing.org/t/loading-class-in-data-folder/40546/3 "2023-01-11T03:41:56Z")

</div>

It works just fine if you put the extra class in the same folder as the sketch; Processing just creates a new tab for it and it runs ok. What I can’t figure out is how to access a class that extends PApplet from a separate folder, either the ‘data’ folder or a folder somewhere else on the system. It may not be possible to do. Your reference was pertinent and I thank you for that.
