Skip to content

Instantly share code, notes, and snippets.

View rutsatz's full-sized avatar

Rafael Fernando Rutsatz rutsatz

View GitHub Profile
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA+cAAAPPCAYAAACmAbrnAACAAElEQVR42uy9CZRb1Zm2W2AwGBuMAWMGM5kQZgghA6OZnABmMNDtDuCQmCSYyYR2IJiEEAJcEoZAEoYGQkgCgUAYjF2uSaVSSaqSqlSjXaqyy7NdNlPSf+eu3Nt9//9ffe/a97xbelWfdu0jqWwzf+9a39LROUfz0Tn72d9UVaVSqVQqlUqlUqlUKpVKpVKpVCrVJ1Xvv983fsOG/imrV2enZbPZ47PZnpO7ulIzM7BMelZbW+vsVCo5p6UlPjeRiM5rDiwei86HxWIN85ujkQXRaP2Cxsa6hY0NNdbq6qrvK7KaJYEtfrCmetFj1dVvPIbl3Lq8Ofvj+fC8MLwGXivRHJ2H14e1tMTmplLxOW1tidl4f7BMpmUW3i/et/0cg9nj8Znw2fAZ9ZdWqVQqlUqlUqlUKtUHqoGBgbECsI/q7e2c3tnZPiOTSc1sbW2dHY/H58YCwI1EIgsaGuoW1tQterCubnHBausWm5ratwrWEFlqrb6h2tTVL7HrltYsMtVL37RWW/NWkdUsXVSwpdVvmrraxaa+bolpqK8uGO5jPfbHcinDfqUM7wXvGe+N75HLeN+8j33sfuKz5qzm7sAW4vtoDqA/mUzOSacDsA++L3xvwXc4be3avqlDQ9lJenSpVCqVSqVSqVQq1WdcfX194/v7+6cAFuEN7uzsnJ5KpWbG47G5gEoL2jXV91VXL34wMLN0aQDSNdWmtnZpSSO8+gwwC8iV0DvCBChLqCaIA9AB6i6kE7zLQXikYakX6jkBIMHcfZ8EdDnBMGJdfe0IC2DdGr4f8V3eNwzy9QsA89Fow/z29vYZHR0dp+I3we+DyRE9WlUqlUqlUqlUKpXqEybAHLyyq1dnj8r2dpzalUnPQph2az5su65m0YM010sd5nl2gTkMfLENz+FCslzne83i16+2Vle7ZKustmaxNbmO
@rutsatz
rutsatz / DragResizer.java
Created June 30, 2018 19:40
DragResizer and Move
package javafxregion;
import javafx.event.EventHandler;
import javafx.scene.Cursor;
import javafx.scene.Node;
import javafx.scene.input.MouseEvent;
import javafx.scene.layout.Region;
/**
* {@link DragResizerXY} can be used to add mouse listeners to a {@link Region}