Java examples for Swing:SpringLayout
Create a strut of 10 pixels for SpringLayout
import javax.swing.Spring; public class Main { public static void main(String[] args) { Spring strutPadding = Spring.constant(10); }//from ww w . jav a 2 s. co m }