package Ġio . github . mu q hc . fro gui . node . layout Ċ Ċ import Ġio . github . mu q hc . fro gui . node . component . panel . Direct JPanel Building Node Ċ import Ġjava . awt . LayoutManager Ċ import Ġjavax . swing . JPanel Ċ Ċ interface ĠLayout Manager Node < Layout Type Ġ: ĠLayout Manager ?, ĠPanel Type : ĠJPanel > Ġ: ĠDirect JPanel Building Node Ġ{ ĊĠĠĠ Ġval Ġlayout : ĠLayout Type ĊĠĠĠ Ġval Ġpanel : ĠPanel Type ĊĠĠĠ Ġoperator Ġfun ĠLayout Type . invoke ( app lier : ĠLayout Type . () Ġ-> ĠUnit ) Ġ= Ġthis . apply ( app lier ) Ċ }