package Ġio . github . red nest o . mus ics he lf . ui Ċ Ċ import Ġio . github . red nest o . mus ics he lf . Music She lf Bundle Ċ import Ġio . github . red nest o . mus ics he lf . She lf Item Ċ import Ġio . github . red nest o . mus ics he lf . ui . scenes . She lf Item Details Controller Ċ import Ġio . github . red nest o . mus ics he lf . utils . load F xml Ċ import Ġjavafx . scene . Parent Ċ import Ġjavafx . scene . Scene Ċ import Ġjavafx . scene . input . KeyCode Ċ import Ġjavafx . scene . input . KeyCode Combination Ċ import Ġjavafx . stage . Stage Ċ Ċ object ĠShe lf Item Details Window Ġ{ ĊĠĠĠ Ġfun Ġcreate ( item : ĠShe lf Item ): ĠStage Ġ= ĠStage (). apply Ġ{ ĊĠĠĠĠĠĠĠ Ġtitle Ġ= ĠMusic She lf Bundle . get (" shelf _ item . details . window _ title ", Ġitem . name ) ĊĠĠĠĠĠĠĠ Ġscene Ġ= ĠScene ( load F xml < Parent > ("/ ui / scenes / She lf Item Details . f xml ", ĠShe lf Item Details Controller ( item ), ĠMusic She lf Bundle . get Bundle ())) ĊĠĠĠĠĠĠĠ Ġscene . accel erators [ KeyCode Combination ( KeyCode . ESCAPE )] Ġ= ĠRunnable Ġ{ Ġhide () Ġ} ĊĠĠĠ Ġ} Ċ } Ċ