All Downloads are FREE. Search and download functionalities are using the official Maven repository.

eu.luminis.jmeter.wssampler.DynamicTitledBorder Maven / Gradle / Ivy

Go to download

JMeter add-on that defines a number of samplers for load testing WebSocket applications.

There is a newer version: 1.2.10
Show newest version
package eu.luminis.jmeter.wssampler;

import javax.swing.border.Border;
import javax.swing.border.TitledBorder;
import java.awt.*;

public class DynamicTitledBorder extends TitledBorder {

    public DynamicTitledBorder(String title) {
        super(title);
    }

    public DynamicTitledBorder(Border border, String title, int left, int defaultPosition) {
        super(border, title, left, defaultPosition);
    }

    public void setEnabled(boolean enabled) {
        setTitleColor(enabled? Color.BLACK: Color.GRAY);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy