package Ġnet . d ank ito . richt ext editor . java . fx . command Ċ Ċ import Ġjavafx . scene . input . KeyCode Ċ import Ġjavafx . scene . input . KeyCode Combination Ċ import Ġjavafx . scene . input . Key Combination Ċ import Ġnet . d ank ito . richt ext editor . Icon Ċ import Ġnet . d ank ito . richt ext editor . command . Align Just ify Command Base Ċ import Ġnet . d ank ito . richt ext editor . java . fx . Java FX Icon Ċ import Ġnet . d ank ito . richt ext editor . java . fx . extensions . add Keyboard Shortcut ĊĊ Ċ open Ġclass ĠAlign Just ify Command ( icon : ĠIcon Ġ= ĠJava FX Icon . from ResourceName (" ic _ format _ align _ justify _ black _ 3 6 dp . png ")) Ġ: ĠAlign Just ify Command Base ( icon ) Ġ{ ĊĊĊĠĠĠ Ġinit Ġ{ ĊĠĠĠĠĠĠĠ Ġthis . add Keyboard Shortcut ( KeyCode Combination ( KeyCode . J , ĠKey Combination . SHORT CUT _ DOWN )) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġcommand Inv oked () ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ Ċ }