 |
Article:
 |
 |
Swing and CSS
|
| Subject: |
Style sheet yes, CSS no |
| Date: |
2003-10-24 05:45:43 |
| From: |
joshy |
|
Response to: Style sheet yes, CSS no
|

|
Well, this was meant to be CSS ish. I realize that the syntax is actuall in XML instead of the curly brace markup of CSS, but a true CSS parser could be easily written. It was just beyond the scope of this article. However I do think it's fair to call it CSS because it uses the CSS design of separating style (description of what something looks like) from structure (the actual tree of ui components).
Swing is completely dynamic and has the ability to do lots of configurable things ilke this, it's just that no one has ever used it. Maybe this is something Sun should push. Or maybe we need to form a community to work on it.l |
|