Ok, I've adapted your code and checked in the results.  Take a look and tell me 
what you think.   Right now it would look like:

<p:swing width="310" height="120" component="#{sampleButton}" />

The only problem I'm having is that I have to explicitly set the look and feel. 
 On the mac, the default look and feel does not seem to render to anything 
useful.  If I set the look and feel to something neutral, it works fine.

UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName()); 

Did you run into this problem?





View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114878#4114878

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114878
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to