Hi @thekozak ,
Take a look at this post.. To subclass you can only do it on a Java class that’s already been wrapped by python (see the list at the link for classes that have this already).
If you don’t see exactly what you need in the list you can probably get around it another way, as a lot of the most essential Java classes are covered.
Good luck