September 2005
Beginner
576 pages
13h 6m
English
| Q1: | Is there a limit to the point size that can be used for text? |
| A1: | The limiting factor is the height and width of your component. Point sizes typically range from 9-point text for small lines that are readable to 48-point text for large headlines. Choosing the right size depends on the font typeface as well as the size, so it's largely a matter of trial and error. |
| Q2: | What happens if a color defined in a Java program can't be displayed on the monitor of someone displaying the program? For example, if my monitor is set to display only 256 colors, what will occur if I choose one of the 16.5 million colors that isn't in those 256? |
| A2: | When a monitor can't display a color selected with a setColor() or setBackground() method, it shows the closest ... |
Read now
Unlock full access