Search:

Type: Posts; User: voltaire

Search: Search took 0.09 seconds.

  1. Re: program a button that copy whatever in a JTextArea

    Do you mean that this method only works when there is a selected text, and doesn't work otherwise? Ok I have tried both ways (with selected and unselected text) but no result :confused:

    If it is...
  2. Re: program a button that copy whatever in a JTextArea

    I used it, no errors, but after clicking the JButton, I expected to be able to right-click on any text editor and normally paste whatever copied from the JTextArea, but that doen't happen :)

    This...
  3. program a button that copy whatever in a JTextArea

    Say there are a JButton called copy, and a JTextArea called txtArea, once the button clicked a copy of whatever in the JTextArea is, moved to the clipboard so that I can paste it to any text editor...
Results 1 to 3 of 3