How to use the Processing XML class in other Java Editors?

Hello,

I want to use the XML class in BlueJ but it doesn’t work. I have tried several others like PFont for example which does work. As I found out the class XML is part of the core library.

import processing.data.XML;

3 Likes

Thank you!:grinning:

In general, if you are trying to figure out how to import a Processing component, find it in the code repository, check the directory path, and look at the “package” statement at the top of the file.

For example, XML.java file is found in processing / data and its package statement says:

1 Like