Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import java.awt.Insets;

import javax.swing.JTextField;

public class Main {
    public static JTextField prepJTextField(JTextField field) {
        Insets insets = new Insets(4, 4, 4, 4);
        field.setMargin(insets);
        return field;
    }
}