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