Saturday 15 August 2015

Java SwingUtilities.invokeLater() illegal start of expression error -


I have come across an unusual problem. I've submitted my code for grading and it seems that when my professor compiles / runs my Java program, then he does not run on his computer. I've tried both windows and Mac machines and it just runs fine And compile. I'm guessing that's because of the old Jedi. If you want the full code of my project (which is too long), I can provide it with the following error:

  Programs. Java: Illegal start of expression SwingUtilities.invokeLater (() -> gt; {0} I believe that error is due to syntax, but when I call it multiple IDE on multiple OS I do not show that error at any time, it is going on in the same way as I am. 


No comments:

Post a Comment