Code example for JScrollPane

Methods: getMinimumSizesetPreferredSize

     * @param horizontalPolicy 
     *            the horizontal scroll policy 
     * @return a JScrollPane containing the specified component 
    protected JScrollPane makeScrollPane(Component comp, int verticalPolicy, int horizontalPolicy) {
        JScrollPane pane = new JScrollPane(comp, verticalPolicy, horizontalPolicy);
        return pane;
    public String getStaticLabel() {
        return JMeterUtils.getResString(getLabelResource()); 
     * Compute Anchor value to find reference in documentation for a particular component 
     * @return String anchor 
Connect your IDE to all the code out there  Get Codota for Java