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

Popular posts from this blog

javascript - How to name a jQuery function to make a browser's back button work? -

collision detection - C++ library for mesh to mesh intersection: what is available? -

python - Django-easy-pdf: xhtml2pdf reporting reportlab 2.2+ is required, but 3.0 installed -