aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Applet width Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Applet width" Watch "Applet width" New topic
Author

Applet width

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Is it possible to get the applet width from init() using
a) this.getSize().w;
b) getSize().w;

Can somebody comment please!!
deekasha gunwant
Ranch Hand

Joined: May 06, 2000
Posts: 396
Hi jayapii,
yes u can get the applets' width using
appletname.getSize().getWidth();
regards
deekasha
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Hi Deekasha,
Thanx for reply but "this.getSize().w" and "getSize().w" will not compile but I read here : http://www.geocities.com/SiliconValley/Network/3693/points.html
Anyway, getSize().getWidth() is OKAY....
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Applet width
 
Similar Threads
I did see this question in the other dis.. group.I think all the answers are false.
I don't know this syntax
JApplet problem
Embedding JApplet vs Applet
Simple method program