Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Current Affairs
General Knowledge
Chemical Engineering
UPSEE
BSNL
ISRO
BITSAT
Amazon
ORACLE
Verbal Ability
→
Java Applet Tutorial
→
Java Applet Interview Questions in Java Applet Tutorial
→
How Can We Determine The Width And Height Of A Ap...
1.
How Can We Determine The Width And Height Of A Applet?
Answer»
Applet tags have attributes
WIDTH
and
HEIGHT
with which we can determine their dimensions.
When applet is running inside a web browser the size of an applet is
SET
by the height and width attributes and cannot be changed by the applet.
The 'getSize()' method is retrieved the size of an applet.
The 'getSize()' method is
INHERITS
from 'java.awt.Component.getSize()' and returns a 'java.awt.Dimension object.
Show Answer
Discussion
No Comment Found
Post Comment
Related InterviewSolutions
Can You Write A Java Class That Could Be Used Both As An Applet As Well As An Application?
What Is A Signed Applet?
How Would You Communicate Between Applets And Servlets?
What Are The Methods That Control An Applet’s On-screen Appearance?
How Can We Determine The Width And Height Of A Applet?
What Are The Attributes Of Applet Tags?
Explain How To Read Information From The Applet Parameters.
What Type Of Sound File Formats Can I Use For The Applets?
Why Do You Canvas?
What Is The Base Class For All Swing Components?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies