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

convex.gui.manager.windows.actor.ParamLabel Maven / Gradle / Ivy

There is a newer version: 0.7.15
Show newest version
package convex.gui.manager.windows.actor;

import javax.swing.JLabel;
import javax.swing.SwingConstants;

import convex.gui.utils.Toolkit;

/**
 * Generic label component for displaying code
 */
@SuppressWarnings("serial")
public class ParamLabel extends JLabel {

	public ParamLabel(String text) {
		super("   " + text + "   ");
		this.setHorizontalAlignment(SwingConstants.RIGHT);
		this.setFont(Toolkit.SMALL_MONO_FONT);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy