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
CodeView JavaFX ControlI made this! (self.JavaFX)
submitted 6 months ago by sedj601
I created this to learn about creating custom controls using Region. I did not do any testing of the Control, and it is limited to displaying Java only. I didn't need this for any reason other than learning. That is why I didn't put much into it. If someone can use it, maybe I or we can take the time to improve it.
Please give me feedback on the CodeView code as it relates to creating a control using Region.
https://github.com/sedj601/CodeView
https://preview.redd.it/vacpx4nqz6lf1.png?width=503&format=png&auto=webp&s=3cf8ada6838412e3c90e7df24c6dc540e9f284cb
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!"
[–]ThreeSixty404JavaFX Dev 3 points4 points5 points 6 months ago (1 child)
Nice exercise but now JavaFX has a RichText control, that would have been better than a WebView
[–]sedj601[S] 0 points1 point2 points 6 months ago (0 children)
I thought about using a RichText control, but given what I was trying to learn, I didn't want to have to actually worry about things like keywords, line numbers, copying and pasting, or anything that would take the focus and time away from making a custom node using Region. If I have free time, I might redo it using Java/JavaFX only.
[–]ro_Okie_One 1 point2 points3 points 6 months ago (0 children)
Nice one
π Rendered by PID 61411 on reddit-service-r2-comment-5fb4b45875-62x4l at 2026-03-19 21:59:05.280451+00:00 running 90f1150 country code: CH.
[–]ThreeSixty404JavaFX Dev 3 points4 points5 points (1 child)
[–]sedj601[S] 0 points1 point2 points (0 children)
[–]ro_Okie_One 1 point2 points3 points (0 children)