Again there is room for improvement. For example, it would be better for the font to change after selecting from the lists.
Like the DrawSelector applet, this too delegates the drawing work to a custom component. As animation is involved threads are used by that component.
The bits of code that are of interest are:
FontSelector
FontWobbler
ThreadedCanvas
file: /Techref/language/java/nosugar/graphics/font/index.htm, NaNKB (1 imgs) in 0.068s is NaNKBps, updated: 1997/6/1 20:43, local time: 2025/4/5 21:25,
3.15.194.249:LOG IN
|
©2025 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://ecomorder.com/techref/language/java/nosugar/graphics/font/index.htm"> Learning Java [Fonts]</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to ecomorder.com! |
.