2 Replies Latest reply: Mar 27, 2013 1:21 AM by Opal RSS

    Use system console with editable default value

      Is it possible in java (or maybe groovy) to ask user for input in console with default value passed? User should be able to edit the default value or commit it by pressing enter key.
      <CONSOLE> Enter type: TYPE1<cursor>

      if user hits enter key the TYPE1 is passed to application, when user hits backspace the TYPE1 is edited. Any ideas?