package Ġcom . github . pit cer . partial scroll . settings Ċ Ċ import Ġcom . intellij . util . ui . Form Builder Ċ import Ġjavax . swing . JPanel Ċ Ċ class ĠPartial Scroll Settings Component Ġ{ ĊĊĠĠĠ Ġprivate Ġval Ġpanel : ĠJPanel ĊĠĠĠ Ġprivate Ġval Ġscroll Lines Field : ĠNumber Field ĊĊĠĠĠ Ġinit Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġsettings Service Ġ= ĠPartial Scroll Settings State . getInstance () ĊĠĠĠĠĠĠĠ Ġval Ġscroll Lines Field Ġ= ĠNumber Field ( settings Service . scroll Lines , Ġ 3 ) ĊĠĠĠĠĠĠĠ Ġval Ġpanel Ġ= ĠForm Builder . create Form Builder () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. add Labeled Component (" Scroll Ġlines ", Ġscroll Lines Field . textField ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. panel ĊĠĠĠĠĠĠĠ Ġthis . scroll Lines Field Ġ= Ġscroll Lines Field ĊĠĠĠĠĠĠĠ Ġthis . panel Ġ= Ġpanel ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġget Panel (): ĠJPanel Ġ= Ġthis . panel ĊĊĠĠĠ Ġfun Ġget Scroll Lines (): ĠInt ? Ġ= Ġthis . scroll Lines Field . getNumber () Ċ } Ċ