15 February 2004 - java_dev (original) (raw)

I'm still working on that Kicker application.

Here's what I want to have it do.

There's a class AppletLoader which keeps track of a database of all available KickerApplets. The KickerApplets themselves are children of JPanel.

Now, the idea is that a developer can write their own KickerApplet, drop it into the directory where the other applets are located, add an entry in the database, and from that point forward, the application can use that KickerApplet.
( So here's my plan...Collapse )

What I'm really trying to get at here, is what method should I use to load an instance of a class by its name alone? Am I on the right track here? Google's not helping much at the moment, mostly because I can't figure out a search for this.

[edit]Never mind- found it, but this is still a neet topic anyway. Some useful source[/edit]