tag:blogger.com,1999:blog-6929422799523574458.comments2023-03-24T11:36:03.468+01:00Albert AttardAnonymoushttp://www.blogger.com/profile/05001967782991767837noreply@blogger.comBlogger109125tag:blogger.com,1999:blog-6929422799523574458.post-18309017743809200022013-12-10T22:59:10.790+01:002013-12-10T22:59:10.790+01:00Have a look at the updated version of this article...Have a look at the updated version of this article at: http://www.javacreed.com/swing-worker-example/Anonymoushttps://www.blogger.com/profile/05001967782991767837noreply@blogger.comtag:blogger.com,1999:blog-6929422799523574458.post-88638676986764790682013-12-10T13:49:28.379+01:002013-12-10T13:49:28.379+01:00I wish people would write these articles for java ...I wish people would write these articles for java beginners. Leaving out code, no matter how insignificant it may seem to the author may mean the complete misunderstanding for beginners like myselfAnonymoushttps://www.blogger.com/profile/13961417773666731934noreply@blogger.comtag:blogger.com,1999:blog-6929422799523574458.post-1799404727780762852013-11-08T12:49:27.978+01:002013-11-08T12:49:27.978+01:00hi, very interesting, thank you. I tried to follow...hi, very interesting, thank you. I tried to follow the SwingWorker in debug, and i found a curiosity that i didn't understand.. the size of the chunk list in process method is always 1.. why SwingWorker uses a list instead a single object?AndreAgostohttps://www.blogger.com/profile/09400625261790317975noreply@blogger.comtag:blogger.com,1999:blog-6929422799523574458.post-63017071445165779562013-07-17T12:32:30.018+02:002013-07-17T12:32:30.018+02:00Thank you for noticing.
Please note that both s...Thank you for noticing. <br /><br />Please note that both sites are mine and I'm migrating from this blog to the javacreed.com website. Also, I've added a message that the beginning of this article saying that this page has moved to javacreed.Anonymoushttps://www.blogger.com/profile/05001967782991767837noreply@blogger.comtag:blogger.com,1999:blog-6929422799523574458.post-50112913147049708592013-07-16T21:19:10.871+02:002013-07-16T21:19:10.871+02:00I believe JavaCreed has co-opted your blog post. ...I believe JavaCreed has co-opted your blog post. http://www.javacreed.com/simple-gson-example/Danhttps://www.blogger.com/profile/10409938565484540163noreply@blogger.comtag:blogger.com,1999:blog-6929422799523574458.post-81586231070003512872013-06-23T15:44:13.437+02:002013-06-23T15:44:13.437+02:00thanks, works perfectly!!thanks, works perfectly!!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6929422799523574458.post-60616190681300504852013-02-16T23:44:40.271+01:002013-02-16T23:44:40.271+01:00setFocusable(true);
requestFocusInWindow();
Add t...setFocusable(true);<br />requestFocusInWindow();<br /><br />Add this lines in init()<br />Code will work fine !Anonymoushttps://www.blogger.com/profile/14720663738071557674noreply@blogger.comtag:blogger.com,1999:blog-6929422799523574458.post-21197300770768969662013-01-27T09:33:58.880+01:002013-01-27T09:33:58.880+01:00I've moved this article to: http://www.javacre...I've moved this article to: http://www.javacreed.com/why-should-we-use-dependency-injection/ where I've uploaded all code examples in this article. This should help you understand this better.Anonymoushttps://www.blogger.com/profile/05001967782991767837noreply@blogger.comtag:blogger.com,1999:blog-6929422799523574458.post-10799930842030653652013-01-26T12:10:10.694+01:002013-01-26T12:10:10.694+01:00Thanks a lot Albert, helps understand why DI is ne...Thanks a lot Albert, helps understand why DI is needed with simplicity and common sense...however, if you could explain the testing bit in a bit more detail so as to pinpoint what exactly was the problem ealier while testing the code with JUNIT it would be great..but nice work man, keep em coming :)Anonymoushttps://www.blogger.com/profile/07289916080254291417noreply@blogger.comtag:blogger.com,1999:blog-6929422799523574458.post-6980854867545390762013-01-02T06:45:22.335+01:002013-01-02T06:45:22.335+01:00Hi, great tutorial, be apple was focused, but stil...Hi, great tutorial, be apple was focused, but still none of the keyboard keys causes it to stop and start and only the applet menu to manually click Start or Stop works actuallyAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6929422799523574458.post-54429280685784849612012-12-23T15:45:51.632+01:002012-12-23T15:45:51.632+01:00thanks a lot for ur msgs......thanks a lot for ur msgs......Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6929422799523574458.post-23797724523079053632012-11-20T11:19:11.116+01:002012-11-20T11:19:11.116+01:00Hi,
I think this answers your question: http://do...Hi,<br /><br />I think this answers your question: http://docs.oracle.com/javase/6/docs/api/javax/swing/SwingWorker.html#publish(V...)<br /><br />This is done for a good reason, as otherwise you can flood the event thread with too many requests which can easily be collapsed into one event.<br /><br />Hope this helpsAnonymoushttps://www.blogger.com/profile/05001967782991767837noreply@blogger.comtag:blogger.com,1999:blog-6929422799523574458.post-9494550052384836662012-11-19T18:05:52.970+01:002012-11-19T18:05:52.970+01:00Hi Albert,
I have a problem with the publish meth...Hi Albert,<br /><br />I have a problem with the publish method that accumulate all the values in a List and then call only once the process method with the whole bunch of values.<br />Any idea why?<br /><br />Thanks for publishing this post.<br />Best, JCDJCDhttps://www.blogger.com/profile/17372475728538518777noreply@blogger.comtag:blogger.com,1999:blog-6929422799523574458.post-83051426815781299342012-11-19T04:07:14.260+01:002012-11-19T04:07:14.260+01:00Now when using JDK1.7 I get the error as below. Co...Now when using JDK1.7 I get the error as below. Could not even run it locally as prior to this update I could do that with no problem.<br />WARNING: EXCEPTION <br />java.lang.ClassNotFoundException: guestbook.GuestbookServletLuftar Brahahttps://www.blogger.com/profile/05220295158625902081noreply@blogger.comtag:blogger.com,1999:blog-6929422799523574458.post-68190020422041857502012-11-15T04:31:24.710+01:002012-11-15T04:31:24.710+01:00Thanks for your article. I often find myself in th...Thanks for your article. I often find myself in the situation of having a JSON object to parse without having the control of it's creation/format. Surprisingly it's not a well documented case regardless of the library (Gson, Jackson ...)Anonymoushttps://www.blogger.com/profile/16388973273207693534noreply@blogger.comtag:blogger.com,1999:blog-6929422799523574458.post-17773642510979713802012-11-14T09:50:56.261+01:002012-11-14T09:50:56.261+01:00thank you, it's absolutely works!!!
cheers fro...thank you, it's absolutely works!!!<br />cheers from indonesiayxsxfhttp://www.facebook.com/iyusampahnoreply@blogger.comtag:blogger.com,1999:blog-6929422799523574458.post-71044653753041731942012-10-18T07:41:00.999+02:002012-10-18T07:41:00.999+02:00Good WorkGood WorkAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6929422799523574458.post-16584074312883579342012-07-26T17:57:21.819+02:002012-07-26T17:57:21.819+02:00This is a Great Post! It's going onto my list!...This is a Great Post! It's going onto my list! I've been searching for any answer and found it with your informable interface!<br /><br />Why hadn't i thought about it!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6929422799523574458.post-61421794918700176372012-07-18T15:55:14.396+02:002012-07-18T15:55:14.396+02:00It works only for me, if i do a full rebuild, what...It works only for me, if i do a full rebuild, what should i do?Keyelnoreply@blogger.comtag:blogger.com,1999:blog-6929422799523574458.post-54617701018772407452012-07-13T15:47:26.963+02:002012-07-13T15:47:26.963+02:00Made me laugh too. Unfortunately such typos are h...Made me laugh too. Unfortunately such typos are hard to get rid of. I'm thinking of leaving it there as it made people smile.<br /><br />Thanks for pointing it out though and I'm glad that you enjoyed reading it. Should you have any queries, please post here.Anonymoushttps://www.blogger.com/profile/05001967782991767837noreply@blogger.comtag:blogger.com,1999:blog-6929422799523574458.post-55579861862179368362012-07-13T15:35:09.522+02:002012-07-13T15:35:09.522+02:00you have a typo somewhere near to the end. You typ...you have a typo somewhere near to the end. You typed 'ass' instead of 'as' ;-) which made me LOL<br /><br />thanks for taking the time explaining why should we use dependency injection. I read about it in a lot of places but I didn't get why is it useful. Now I know. Many sincere thanks !Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6929422799523574458.post-5802429741707374742012-06-29T09:11:01.396+02:002012-06-29T09:11:01.396+02:00Thanks for info - it was the last plugin I need to...Thanks for info - it was the last plugin I need to start with eclipse juno.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6929422799523574458.post-16929621595983192532012-06-24T13:06:45.478+02:002012-06-24T13:06:45.478+02:00thanks very much , i've been messed up this er...thanks very much , i've been messed up this error since a whole day !Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6929422799523574458.post-59802803902606559252012-06-23T08:52:23.103+02:002012-06-23T08:52:23.103+02:00It depends on how the file is structured. I would...It depends on how the file is structured. I would go for custom serielazation. I've added a link in one of the above replies.Anonymoushttps://www.blogger.com/profile/05001967782991767837noreply@blogger.comtag:blogger.com,1999:blog-6929422799523574458.post-55972291178425089952012-06-23T08:35:10.166+02:002012-06-23T08:35:10.166+02:00Hi,
Good article. I have a bunch of json objects ...Hi,<br /><br />Good article. I have a bunch of json objects in a file. How do I take care of it. I can email the file if needed.<br /><br />ThanksAnonymousnoreply@blogger.com