tag:blogger.com,1999:blog-6173836134826281546.post3463217252001341111..comments2024-03-23T03:18:50.166-07:00Comments on Zdeněk Troníček's blog: Closure ConversionZdeněk Troníčekhttp://www.blogger.com/profile/12818559511505042249noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-6173836134826281546.post-19375014816395415472022-02-03T05:07:40.610-08:002022-02-03T05:07:40.610-08:00Hey friend, it is very well written article, thank...<br /><br />Hey friend, it is very well written article, thank you for the valuable and useful information you provide in this post. Keep up the good work! FYI, <a href="https://petcareadda.com" rel="nofollow"> Pet Care adda </a><br /><a href="https://www.bookspdfdownload.com/2022/02/sita-warrior-of-mithila-pdf-download.html" rel="nofollow">Sita Warrior Of Mithila Pdf Download </a>, <a href="https://www.creditcardprocessings.org/2022/01/idfc-first-select-credit-card-benefits.html" rel="nofollow">IDFC First Select Credit Card Benefits</a>,<a href="https://www.essayonfest.online/2022/02/poem-on-green-and-clean-energy.html" rel="nofollow">Poem on Green and Clean Energy</a>bakuhttps://www.blogger.com/profile/08099578458879032696noreply@blogger.comtag:blogger.com,1999:blog-6173836134826281546.post-53859047938214062602009-12-14T08:26:49.785-08:002009-12-14T08:26:49.785-08:00Perhaps I do not understand what you want to say b...Perhaps I do not understand what you want to say because adding a method to an interface is NOT backward compatible.Zdeněk Troníčekhttps://www.blogger.com/profile/12818559511505042249noreply@blogger.comtag:blogger.com,1999:blog-6173836134826281546.post-31650213431088916222009-12-14T00:08:53.807-08:002009-12-14T00:08:53.807-08:00Normally adding a method to an interface is backwa...Normally adding a method to an interface is backwards compatible. With closure conversion, adding a method to an interface with a single method is no longer backwards compatible since it can break code when its used with closures.lwesterhoffhttps://www.blogger.com/profile/17073688575781848375noreply@blogger.comtag:blogger.com,1999:blog-6173836134826281546.post-69976084295758807882008-02-27T14:45:00.000-08:002008-02-27T14:45:00.000-08:00Thanks a lot! It works :).Thanks a lot! It works :).Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6173836134826281546.post-47389322446541226952008-02-27T03:40:00.000-08:002008-02-27T03:40:00.000-08:00EventQueue.invokeLater() takes a Runnable as argum...EventQueue.invokeLater() takes a Runnable as argument:<BR/>EventQueue.invokeLater({ => System.out.println("hi"); });Zdeněk Troníčekhttps://www.blogger.com/profile/12818559511505042249noreply@blogger.comtag:blogger.com,1999:blog-6173836134826281546.post-53759830351187492722008-02-27T00:28:00.000-08:002008-02-27T00:28:00.000-08:00I'm trying to rewrite:EventQueue.invokeLater(new R...I'm trying to rewrite:<BR/>EventQueue.invokeLater(new Runnable()<BR/>{<BR/>public void run()<BR/>{<BR/>//set some text.<BR/>}<BR/>});<BR/><BR/>As:<BR/>EventQueue.invokeLater(new Thread(<BR/>{ =><BR/>//set some text<BR/>}<BR/>).start();<BR/>);<BR/><BR/>Running into compile time errors(after I downloaded the new prototype from javac.info), and I tried to follow your example from above. Can you spot the error please?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6173836134826281546.post-85676647810461393152008-01-11T10:15:00.000-08:002008-01-11T10:15:00.000-08:00Wow, i think your examples are easier to follow th...Wow, i think your examples are easier to follow than Neal Grafter's own. Thanks.<BR/><BR/>Vyas, AnirudhAnonymousnoreply@blogger.com