Last active
July 9, 2016 21:17
-
-
Save tinkerstudent/0747930fa27fc5ec43e8266bb446a17f to your computer and use it in GitHub Desktop.
This file contains hidden or 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 com.tinkeracademy.projects; | |
| public class ChatClient { | |
| public static void main(String[] args) { | |
| final ChatClient chatClient = new ChatClient(); | |
| javax.swing.SwingUtilities.invokeLater(new Runnable() { | |
| public void run() { | |
| chatClient.createAndShowGUI(); | |
| } | |
| }); | |
| } | |
| public void createAndShowGUI() { | |
| Window.show(); | |
| Window.addLabel("Chat Application Developed By: Tinker Academy v1.0"); | |
| Window.addTextArea("", 13, 10, false); | |
| Window.addTextArea("<Enter Your Name>", 4, 10, true); | |
| Window.addButton("Send"); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment