Re: [Figleaf-developer] Proxies back in and some thoughts on the Bootstrapper
Status: Alpha
Brought to you by:
steckman
|
From: <sam...@ma...> - 2004-07-05 15:24:06
|
Quoting Greg Steckman <ste...@on...>: > >Definately. A case in point would be the Image manager app I'd like to code > by > >way of an acceptance test - in once object you have a String which > represents a > >filename, but I want the GUI to provide a file browser. > > > > > > > What I meant is, do you have any ideas of how to do the configuration > while still hard coding defaults? Sure - internall the SwingViewer has its default mapping (e.g. java.lang.String -> JTextField etc). On construction you pass in your own map - if the key already exists for a mapping, it gets replaced, otherwise it gets added. sam http://www.magpiebrain.com/ |