Carter
Carter
Explore posts from servers
JCHJava Community | Help. Code. Learn.
Created by Carter on 10/30/2022 in #java-help
Is there a way to set the origin of a node
Is there a way to set the origin of a node so that future translations move the node based on it's new origin. Here is an example drawing:
15 replies
JCHJava Community | Help. Code. Learn.
Created by Carter on 10/29/2022 in #java-help
Is this the best I can get to making a node draggable?
basically I've been trying to figure out how to properly make nodes draggable. Usually I always just add an offset so that the node appears to be dragged by where the mouse clicked but it's just the center of the node. I wanted to try and see If I could do it but that code that I used hasn't been that reliable either. Is there a better approach here?
12 replies
JCHJava Community | Help. Code. Learn.
Created by Carter on 10/15/2022 in #java-help
Socket won't close after program is terminated
My socket won't close after my program is terminated regardless of if I use the .close method or not.
28 replies
JCHJava Community | Help. Code. Learn.
Created by Carter on 10/9/2022 in #java-help
Jason file not reading
Hello, I'm following this libGDX tutorial on adding skins. Basically I'm having a hard time reading the .json file for the skin. I don't have any prior experience with .json files. so I opened the file in VSCode and saw that all of the lines are underlined in red so I'm hoping there is some way to directly edit it for the fix. Here is some more context:
13 replies
JCHJava Community | Help. Code. Learn.
Created by Carter on 10/2/2022 in #java-help
First Time Intellij User
No description
9 replies
JCHJava Community | Help. Code. Learn.
Created by Carter on 9/25/2022 in #java-help
How to change the origin of a node
In javaFX, is there a way to move the origin of a node so that it is not at the very left top edge of the node and instead centered in the middle
5 replies