Advertisement
droidus

Untitled

Jan 31st, 2012
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.40 KB | None | 0 0
  1. public class Code1 {
  2.     public static void main(String[] args) {
  3.         Code2 gui = new Code2();
  4.         // Start up the user interface
  5.         Code2.startGUI();
  6.        
  7.         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?");
  8.             // wait for a button click to get user response
  9.             String response = gui.btnClick();
  10.             System.out.print(response);
  11.     }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement