Results 1 to 2 of 2
  1. #1
    mathai is offline Member
    Join Date
    Dec 2010
    Posts
    1
    Rep Power
    0

    Default Accessing userselection in other programs (browser, notepad etc)

    Is there a way I can write a java program that, lets say runs in background, that can access selected text in a browser or notepad?

    I am trying to build a pop-up dictionary. When I double click a word, my dictionary should pop up and show the synonyms.

    I know it can be done if I learn to write firefox addons :( which I hear is a hard task. I am an intermediate programmer in java.so thought I would stick to java instead of javascript.

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,458
    Rep Power
    20

    Default

    a java program that, lets say runs in background, that can access selected text in a browser or notepad
    No, you can't write spyware in Java.

    I am trying to build a pop-up dictionary. When I double click a word, my dictionary should pop up and show the synonyms.
    You can do that if the word you double click is also displayed in your Java program.

    db

Similar Threads

  1. modules in notepad
    By joypik in forum New To Java
    Replies: 6
    Last Post: 11-22-2010, 06:47 PM
  2. Notepad program
    By sridevisala in forum Java Software
    Replies: 1
    Last Post: 04-26-2010, 10:56 AM
  3. problem with notepad
    By munish in forum Advanced Java
    Replies: 7
    Last Post: 08-30-2009, 12:53 PM
  4. NotePad
    By whosadork in forum New To Java
    Replies: 10
    Last Post: 10-03-2008, 08:44 PM
  5. Notepad or IDE?
    By Eranga in forum Other IDEs
    Replies: 30
    Last Post: 09-22-2008, 05:20 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •