In Java, the java.swing.Box class contains methods for creating horizontal and vertical struts and glue. Struts and glue are useful for using space elements when using BoxLayout.
Box.createHorizontalStrut(10) Box.createVerticalStrut(10) Box.createHorizontalGlue() Box.createVerticalGlue()
Where can I find the appropriate methods in scala?
source share