Skip to content

Instantly share code, notes, and snippets.

@tinkerstudent
Last active July 9, 2016 21:17
Show Gist options
  • Select an option

  • Save tinkerstudent/0747930fa27fc5ec43e8266bb446a17f to your computer and use it in GitHub Desktop.

Select an option

Save tinkerstudent/0747930fa27fc5ec43e8266bb446a17f to your computer and use it in GitHub Desktop.
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