scalable layouts : Java Glossary

scalable layouts
Java has a problem when Applets or applications are run on very small or very big screen, or very low resolution or very high resolution screens. The essential problem is Java is based around physical pixels. Ideally, applications should scale to maintain an acceptable viewing size. The layouts should rearrange and shrink, removing optional fields or labels, and otherwise simplify in low-real estate situations and expand when screen real estate is abundant.
PostScript Tools
Problem Areas Learning More
Solutions Links

PostScript

PostScript was invented long before Java, yet supports resolution independence with a floating point API (Application Programming Interface) that is scaled to physical pixels. This lets you render the same image on a 640 × 479 screen or a 1024 dpi typsetter without modification. Even it has to bow to the physical pixel reality with font rendering hints and special rounding to pixel boundaries. At one point Java was about to adopt Bravo PostScript rendering, then the project faded away without explanation.

Problem Areas

What are the problem areas for autoscaling?

Solutions

There are no totally satisfactory solutions, however, there are a number of band-aids. Karsten Lentzsch of JGoodies has done most of the research and documenting of the problem. Read his white papers and use his tools.

There are some techniques you can work with:

Tools

Learning More

Oracle’s Javadoc on getScreenSize class : available:
Oracle’s Javadoc on getScreenResolution class : available:

CMP homejump to top You can get the freshest copy of this page from: or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror)
http://mindprod.com/jgloss/scalable.html J:\mindprod\jgloss\scalable.html
logo
Please email your , letters to the editor, errors, omissions, typos, formatting errors, ambiguities, unclear wording, broken/redirected link reports, suggestions to improve this page or comments to Roedy Green : feedback email. If you want your message, your name or email kept confidential, not considered for public posting, please explicitly specify that. Unless you state otherwise, I will treat your message as a letter to the editor that I may or may not publish in the feedback section. After that, it will be too late to retract it. If you disagree with something I said, please quote it and cite the web page where you found it, tell me why you think it is wrong, and, if possible, provide some supporting evidence. Threatening to kill me or spouting obscenities has yet to persuade me to change my mind.
mindprod.com IP:[65.110.21.43]
view BlogYour face IP:[38.107.179.210]
You are visitor number 11.