Just started making this Java Swing interface to control lots of parameters in a separate window from my sketch. Is there a way in Java to make references closer to this old jQuery code I made a
while ago with ToneJS:
the dataset comes from my custom html attributes.
`
Since the variables’ being assigned to the object’s properties match the names of the properties, we can use a much shorter object creation for it:
effects = { delay, trem, soundFilter };
Each field (property) of a Java object got its own datatype.
And Java objects are created via instantiating a class.
Which in turn got the description of the fields which will be present on that object.
If by chance the properties of that effects object share the same compatible datatype, we can use a HashMap container to hold those properties’ values: