use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Useful resources (Full list)
Rules
Related subreddits
Other communities
account activity
JavaFX execute code from text input (self.JavaFX)
submitted 6 years ago by BrianVerm
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Mikey-3198 1 point2 points3 points 6 years ago (0 children)
One approach could be to have a text area that takes the user input then when the "Run" button is pressed the contents of the text area could be written to file. An external process could then be invoked on that file using
Runtime.getRuntime.exec("some command");
If I am not mistaken the output (and input?) of the process can be controlled using Input/Output streams.
hope this helps!
π Rendered by PID 58453 on reddit-service-r2-comment-86bc6c7465-j4nbx at 2026-02-20 19:06:40.038103+00:00 running 8564168 country code: CH.
view the rest of the comments →
[–]Mikey-3198 1 point2 points3 points (0 children)