Re: swiXml and CSS
kate rhodes <[email protected]>
| Newsgroups | gmane.comp.embedded.carlsbad-cubes |
|---|---|
| Message-ID | <[email protected]> |
ok after reading a little and thinking a bit about this whole xml+css thing it seems to me that, while a nifty idea it would be a significant defarture from the basic swixml philosophy which is to use XML to hook into the predefined functions of an object via reflection. Additionally all the things that you want to set (stylewise or whatever) can already be set. Want to specify a Font on a JLabel? use the font attribute. Color? use the Foreground attribute... etc... If you can't set it already you need to write a custom object and custom tags and it's probably a safe bet that any default css parser wouldn't handle that tag correctly. -Kate