package _VisualDVM.TestingSystem.SAPFOR.SapforConfiguration.UI;
import _VisualDVM.Constants;
import Common.Visual.TextField.StyledTextField;
import Common.Visual.Windows.Dialog.DialogFields;

import javax.swing.*;
import java.awt.*;
public class SapforConfigurationFields implements DialogFields {
    private JPanel content;
    public JTextField tfName;
    public JSpinner sTransformationMaxtime;
    public JSpinner sKernels;
    //--
    @Override
    public Component getContent() {
        return content;
    }
    private void createUIComponents() {
        // TODO: place custom component creation code here
        tfName = new StyledTextField();
    }
    public SapforConfigurationFields(){
        sKernels.setModel(new SpinnerNumberModel(1, 1,
                Constants.testingMaxKernels,
                1));
    }
}
