in src/org/pushingpixels/lightbeam/componentsFactory/JBComponentsFactory.java [116:127]
public JScrollPane createScrollPane(Component view) {
JScrollPane component = null;
try {
Class<?> jbClass = Class.forName("com.intellij.ui.components.JBScrollPane");
Constructor<?> constructor = jbClass.getConstructor(Component.class);
component = (JScrollPane) constructor.newInstance(view);
} catch (ClassNotFoundException | NoSuchMethodException | IllegalAccessException |
InstantiationException | InvocationTargetException e) {
e.printStackTrace();
}
return component;
}