I am trying to create a software, and bit stuck in one module.
I want my software to give the users the ability to copy contents from a web browser with their mouse. Here's what I mean.
1) The user starts the software.
2) Use the box selection tool to designate a specific spot from which the text contents will be copied.
3) Either with CTRL + C he will copy or the program will do it for him.
Here's a sample HTML table in a web browser:
1 Product Price
2 Product Price
3 Product Price
4 Product Price
5 Product Price
6 Product Price
If the user tries to copy the Products only, he can't do it, because dragging the mouse will also select Price, 2, Product, and so on.
I want to give my users a tool in the application, with which they basically will create a box around the items they want to copy, and either manually they will press CTRL + C to copy the text or the application will automatically do it.
Question
roosevelt
Hello,
I am trying to create a software, and bit stuck in one module.
I want my software to give the users the ability to copy contents from a web browser with their mouse. Here's what I mean.
1) The user starts the software.
2) Use the box selection tool to designate a specific spot from which the text contents will be copied.
3) Either with CTRL + C he will copy or the program will do it for him.
Here's a sample HTML table in a web browser:
1 Product Price
2 Product Price
3 Product Price
4 Product Price
5 Product Price
6 Product Price
If the user tries to copy the Products only, he can't do it, because dragging the mouse will also select Price, 2, Product, and so on.
I want to give my users a tool in the application, with which they basically will create a box around the items they want to copy, and either manually they will press CTRL + C to copy the text or the application will automatically do it.
Is it possible with JAVA?
Thanks a lot in advance!
Link to comment
Share on other sites
3 answers to this question
Recommended Posts