asotona commented on PR #7776: URL: https://github.com/apache/netbeans/pull/7776#issuecomment-2367298239
For the explanation: I use NetBeans in my Java newbie class. We base on JEP 330: Launch Single-File Source-Code Programs and JEP 477: Implicitly Declared Classes and Instance Main Methods. Unfortunately from teachers perspective I could not agree with your statement "single-source-run behavior should work analog to regular projects". Here we need a user-friendly and foolproof solution (following the ["Paving the on-ramp"](https://openjdk.org/projects/amber/design-notes/on-ramp) idea), which does not turn NetBeans into a mess of instances of the same program, running each in a separate tab, and each waiting on basic user input (like for example "enter a number:"). I'm contributing this patch back to NetBeans after thorough testing in my class and with hope that I won't need to distribute patched NetBeans to my class next time. Thank you. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
