Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Code1 {
- public static void main(String[] args) {
- Code2 gui = new Code2();
- // Start up the user interface
- Code2.startGUI();
- gui.writeToTextArea('s', "What would you like to do? [L]ist tasks or [C]reate a new one or [E]dit a task or [D]elete a task?");
- // wait for a button click to get user response
- String response = gui.btnClick();
- System.out.print(response);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement