tag:blogger.com,1999:blog-5427069094580312550.post3899964521280554040..comments2023-12-23T21:48:09.231-08:00Comments on Code To Joy: Groovy SwingBuilder and Secret MethodsMichael Easterhttp://www.blogger.com/profile/14799771593145201161noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-5427069094580312550.post-40477670560278164272007-08-24T16:41:00.000-07:002007-08-24T16:41:00.000-07:00Great! you'll find more info on programming UIs wi...Great! you'll find more info on programming UIs with Groovy at http://groovy.codehaus.org/GUI+Programming+with+Groovy<BR/>like the brand new SwingXBuilder (swingx from http://swinglabs.com) and JideBuilder for the JIDE JCL.<BR/>Keep on Groovying!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5427069094580312550.post-49499129982592983692007-08-24T09:52:00.000-07:002007-08-24T09:52:00.000-07:00It's also listed on the Groovy Wiki...http://groov...It's also listed on the Groovy Wiki...<BR/><BR/>http://groovy.codehaus.org/Alphabetical+Widgets+List<BR/><BR/>It gets monotonous reading the obvious entries, so I can see why it is missed.<BR/><BR/>Also entertatining are <BR/> - map(...) which returns a java.util.Map of the attributes<BR/> - container(...) {...} which will be a container variant of widget(...), right now it's exactly the same.<BR/> - actions() {...} which returns a list of the declared items, intended to be used to declare actions in context of a given swing builder and attaching it's id: attribute, used in GroovyConsole.Danno Ferrinhttps://www.blogger.com/profile/15451940216253962666noreply@blogger.comtag:blogger.com,1999:blog-5427069094580312550.post-61341834967013818522007-08-23T18:19:00.000-07:002007-08-23T18:19:00.000-07:00re: rhyolight.Thanks: you are absolutely right. Ex...re: rhyolight.<BR/><BR/>Thanks: you are absolutely right. Excellent point.<BR/><BR/>re: Andres.<BR/><BR/>Indeed, it works for me. I was just so happy to discover "widget" that I posted as soon as it worked.<BR/><BR/>I don't own GINA but it is on my list. Duly-noted. Thanks<BR/><BR/>M.Michael Easterhttps://www.blogger.com/profile/14799771593145201161noreply@blogger.comtag:blogger.com,1999:blog-5427069094580312550.post-77863224401655630622007-08-23T15:45:00.000-07:002007-08-23T15:45:00.000-07:00why wouldn't the follwing work for you?gui = build...why wouldn't the follwing work for you?<BR/><BR/>gui = builder.frame( ... ) {<BR/> scrollPane {<BR/> widget( table )<BR/> }<BR/>}<BR/><BR/>you could also use SwingBuilder's jtable support for models and columns, check GINA page 263 ;-)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5427069094580312550.post-46486165138006005942007-08-23T10:09:00.000-07:002007-08-23T10:09:00.000-07:00Sweet. But maybe you could use the File.pathSepar...Sweet. But maybe you could use the File.pathSeparator instead of ";". Then no change for a different OS.rhyolighthttps://www.blogger.com/profile/08951912473226031997noreply@blogger.com