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

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

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