-
-
Save uncoded-ro/3caa252c0d011e30012f33d23cad5775 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ro.virtualcampus.gui; | |
import javax.swing.JFrame; | |
public class TextFieldApp extends JFrame { | |
private static final long serialVersionUID = 1L; | |
public TextFieldApp() { | |
super("TextField"); | |
} | |
public static void main(String args[]) { | |
TextFieldApp app = new TextFieldApp(); | |
TextFieldPanel tfp = new TextFieldPanel(); | |
app.add(tfp); | |
app.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); | |
app.pack(); | |
app.setVisible(true); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment