So far the idea was to use reflection to check if classes extended UrRobot. If they did, then we show them in the ComboBox .
So i just called karelClass.isAssignableFrom(UrRobot.class) which should work in theory. However, it keeps throwing ClassDefNotFoundException. It seems its trying to work its way up the heirarchy and in the process, its run into classes which it cannot find. These Classes do exists, they are simply in the working directory, but the classes are not loaded.
So far the idea was to use reflection to check if classes extended UrRobot. If they did, then we show them in the ComboBox . So i just called
karelClass.isAssignableFrom(UrRobot.class)
which should work in theory. However, it keeps throwing ClassDefNotFoundException. It seems its trying to work its way up the heirarchy and in the process, its run into classes which it cannot find. These Classes do exists, they are simply in the working directory, but the classes are not loaded.So how to load them...