Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/main/java/littlewins/winAirDraw.java
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,9 @@ public void startEdit() {
createTextField();
setText(null);
setGraphic(textField);
textField.selectAll();
textField.requestFocus();
// textField.selectAll(); commenting out this because JavaFX confuses the caret position. Seems to be a bug.
// Reference: https://stackoverflow.com/questions/32154623/javafx-fail-to-display-content-properly-in-table-cell/32164598#32164598
}
}

Expand Down