Processing Community Forum
Create a new object of a subclass with a String
Processing
Coding Questions
TimeLex
April 18, 2021, 6:28pm
3
Thanks. I had to replace the getCanonicalName() with getName(), but now it works perfectly.
show post in topic
Related topics
Topic
Replies
Views
Activity
[SOLVED] Instantiating a particular class constructor using reflection
Coding Questions
22
2442
January 30, 2019
How to instantiate class from String?
Coding Questions
7
1338
March 2, 2021
Instantiate one class inside another using a third
Coding Questions
9
494
April 16, 2021
Instantiate class from string
Coding Questions
2
447
August 31, 2021
Why does .getConstructor fail with a NoSuchMethodException despite zero-arg constructors existing for the class?
Coding Questions
homework
10
75
February 12, 2025