• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applet Changes With Respect To Resolution

 
anand phulwani
Ranch Hand
Posts: 242
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Ranchers,

I have built an applet with respect to my machine,but now when the clients are using the applet,there is issue about the resolution.

My Machine is running
1280 * 1024 with 19" monitor widescreen.
The Other are Running

800 * 600 & 15"
1024 * 768 & 15"
800 * 600 & 17"
1024 * 768 & 17"

On machines the browser displays with scrollbar.
This is because the browser displays a/c to the browser view available,
so if i change the applet height and width in the same ratio,
i get the buttons ,textfields squeezed.

Is there any option to make the applet work on every machine without defining a seperate code for each resolution.

By The Way i am using Anchorlayout,hope that is not a problem.
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should generally design a GUI so that it looks good on the most common resolution -whichever that is amongst your users-, and is usable for the rest.

If there are more GUI elements than can fit into an 800x600 browser window, why don't you restructure the GUI so that it consists of several "pages", e.g. using CardLayout?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic