S****N 发帖数: 193 | 1 TEXTBASED USER INTERFACE USE
BufferedReader br = new BufferedReader(new InputStreamReader(System.in), 1);
TO SUSPEND THE PROGRAM RUNNING AND WAITING FOR THE USER'S INPUT
IN GUI USERINTERFACE,
IF I AM GOING TO PRINT A FEW LINES USER PROMPT IN A JTEXTAREA AND SUSPEND THE
PROGRAM, WAITING THE USER INPUT SOMETHING IN ANOTHER JTEXTFIELD. ANYONE HAVE
IDEA TO MAKE IT COME TRUE..ACTUALLY I CANT FIGURE IT OUT FOR A FEW DAYS |
|