Re: CSS box model based layout manager for Swing
Richard Bair <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.user-interface |
|---|---|
| Message-ID | <[email protected]> |
I don't think having a CSS layout manager for Swing will help layout JSF pages. What you are really looking for (if I understand correctly) is for Java Studio Creator to have a Matisse-like layout mechanism. Java Studio Creator does, indeed, have a visual builder similar to Matisse (in some ways better: databinding; in some ways not as good; layout is absolute). Each of the elements laid out uses CSS for positioning. But instead of querying the main css page and updating the main css page, it specifies the css with each div in the HTML. At least, that is my understanding. Richard On Jun 8, 2006, at 4:34 PM, Sandip Chitale wrote: > On 6/8/2006 4:07 PM, Richard Bair wrote: >> I'm not aware of any, though I was thinking about whether such a >> thing would be useful yesterday. Why would you want it? Just so >> you could define the layout in a different (css) file? Or is it so >> folks who know CSS can use that knowledge in Swing? I personally >> hate the layout mechanism of CSS, so I was wondering why such a >> thing would be useful at all. >> > Using Mattisse to design web pages (JSP/JSF) is what I was thinking... > > Sandip >> Richard >> >> On Jun 8, 2006, at 4:05 PM, Sandip Chitale wrote: >> >>> Is anyone ware of CSS box model based layout manager (with >>> constrained expressed using the CSS style string or objectified >>> form of them) for Swing? >>> Does such a thing exist? >>> If it did exist what will it take to make it work in Matisse? >>> Has this been discussed here before? >>> >>> Comments? >>> >>> -- >>> Sandip >>