[jboss-user] [JBoss Seam] - Re: SwingWorker and the Event Dispatcher Thread

2007-03-04 Thread petemuir
http://jira.jboss.com/jira/browse/JBSEAM-984 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024933#4024933 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4024933 ___ jboss-user

[jboss-user] [JBoss Seam] - Re: SwingWorker and the Event Dispatcher Thread

2007-03-04 Thread SmokingAPipe
Ahh, ok, I said I was a Seam newbie and now it is confirmed. I need to look up @Asynchronous because from the name of it, that sounds like what I want. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024932#4024932 Reply to the post : http://www.jboss.com/i

[jboss-user] [JBoss Seam] - Re: SwingWorker and the Event Dispatcher Thread

2007-03-04 Thread petemuir
Well the main way of doing things asynchronously in Seam is to use @Asynchronous methods. Sure, it's not SwingWorker but it and ajax (and perhaps using Seam events) give you all the tools you need to do what you describe in your first post. MDBs are for communicating between java programs (JMS

[jboss-user] [JBoss Seam] - Re: SwingWorker and the Event Dispatcher Thread

2007-03-04 Thread SmokingAPipe
Well, SwingWorker itself is a lot different from just handling things asynchronously. It's a thread class that you sub-class, and you have a few methods: doInBackground: When the SwingWorker is executed, this is the part that starts running. Obviously it happens in a thread so the GUI keeps o

[jboss-user] [JBoss Seam] - Re: SwingWorker and the Event Dispatcher Thread

2007-03-04 Thread petemuir
An asynchronous event? You could get it to write out a progress string/number and poll that using ajax (nothing in Seam at the moment to do this easily I think... - but Shane would know better) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024924#4024924 Re