From: Tom D. <to...@do...> - 2005-04-24 15:54:08
|
Folks, I've checked in changes to the configurable applets that let you set the font size, which is useful in projecting the applets on a screen (which I've been doing in my precalculus class lately). I added a FontSize parameter to GenericGraphApplet, Evaluator, and ScatterPlotApplet that sets all user interface elements to the specified font size. I also added a new class, AppletUtilities, which contains one static method used to change the fonts (and could hold other such methods in the future). The webcompmath classes that inherit from Swing components (e.g., ExpressionInput, etc) can have their fonts set directly, so finer-grained control over font sizes can already be had for programmers building applets by hand (or using the visual editor and setting font properties). There are a couple of exceptions (LimitControlPanel being one), and I plan to enhance these with a setFont() method that just calls the setFont methods of the child components. I've also updated the web pages for these applets in the website module under sourceforge CVS. Tom |