简体   繁体   中英

Why the applet size is defined on html code instead of the java code?

Is it because it is embedded on the website site and it is read before the java code? How is the applet size adjusted to its components size?

Is it because it is embedded on the website site

Yes

and it is read before the java code?

No

How is the applet size adjusted to its components size?

The applet adjusts the size and layout of its components. The webpage is responsible for sizing of the applet. The applet could expose data to the hosting app, which could be read via javascript.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM