List of usage examples for javax.swing JCheckBox setBounds
public void setBounds(Rectangle r)
From source file:Main.java
/** * Creates a new <code>JCheckBox</code> object with the given properties. * * @param bounds The dimension of the check box * @return A <code>JCheckBox</code> object *//*from w ww .ja v a 2s .c o m*/ public static JCheckBox createJCheckBox(Rectangle bounds) { JCheckBox jCheckBox = new JCheckBox(); jCheckBox.setBounds(bounds); return jCheckBox; }