in src/org/pushingpixels/lightbeam/componentsFactory/JBComponentsFactory.java [159:170]
public JCheckBox createCheckBox(String text) {
JCheckBox component = null;
try {
Class<?> jbClass = Class.forName("com.intellij.ui.components.JBCheckBox");
Constructor<?> constructor = jbClass.getConstructor(String.class);
component = (JCheckBox) constructor.newInstance(text);
} catch (ClassNotFoundException | NoSuchMethodException | IllegalAccessException |
InstantiationException | InvocationTargetException e) {
e.printStackTrace();
}
return component;
}