This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Applets and the fly likes Resizing problem in Applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Resizing problem in Applet" Watch "Resizing problem in Applet" New topic

Resizing problem in Applet

ramya narayanan
Ranch Hand

Joined: Oct 06, 2008
Posts: 338
Ever-Helping ranchers,
I'm facing a simple challenge in applet.
I'm writing an applet application consider some navigation aid in applet.
When I'm minimizing or maximimizing the applet, resizing i.e size of the navigation-aid does not change when I maximimize the applet.
How can I avail that ?
Any opinions?


ramya narayanan
Ranch Hand

Joined: Oct 06, 2008
Posts: 338
Any replies?
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41042
What do you mean by "maximize the applet"? Applets are fixed in size, so they don't respond to changes in the size of the web page they're embedded in.

If you mean that the applet pops open a window, and that the GUI elements in the window don't respond to resizing the window, then I suggest to read up on how to lay out GUI components; the Sun Java Tutorial talks about that at length.

Ping & DNS - my free Android networking tools app
ramya narayanan
Ranch Hand

Joined: Oct 06, 2008
Posts: 338
Any idea on how they normally do this or any useful links fellow - ranchers!
I agree. Here's the link:
subject: Resizing problem in Applet
Similar Threads
disabling JFrame resize
size of applet
disabling resize button
JScrollPane without horizontal scrolling
Making Typing "Game", any tips or pointers before I start?