Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / July 2005

Tip: Looking for answers? Try searching our database.

Resizing JApplet as browser window resizes

Thread view: 
polsa - 18 Jul 2005 09:01 GMT
Hi all,
another JApplet question...
How can I accomplish that my applet resizes if the browser window
resizes and the  browser window is not big enough to show the applet
completely (i.e. I don't want the scrollbars to show up?

Thanks, Filip
Andrew Thompson - 18 Jul 2005 14:15 GMT
> How can I accomplish that my applet resizes if the browser window
> resizes ..

The trick is in the HTML and styles.  There is a PLAF changer
applet here that fills the full (width of the) browser window,
<http://www.physci.org/codes/resize/> though a better example is
<http://www.physci.org/codes/resize/fullwnd5.html>

View | Source (IE speak) of that page for comments on how it is done.

HTH

Signature

Andrew Thompson
physci.org 1point1c.org javasaver.com lensescapes.com athompson.info
Where No Fan Has Gone Before



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.