java - Printing fields from another applet -
applet 1 a("www.domain.com/applet.jar");
applet 1 1 gets applet.jar website applet 2 starts ur server;
now applet 2 how print fields of class applet 1
i know this:
for (field f : getclass().getfields()) { system.out.println(f.getname()); }
you need applet context
(get calling getappletcontext()
in applet) (see this answer).
there, can call getapplets()
enumeration of applets.
Comments
Post a Comment