Results 1 to 2 of 2
  1. #1
    nanaji is offline Member
    Join Date
    May 2008
    Rep Power

    Default add java programme on windowsXP right-click menu


    I have a java programme, i want to add the programme short cut on windows XP right click menu Panel.

    Install anywhere is providing shortcut to desktop. But i want to have a short cut from windows XP right click menu.

    Because just highlight the text and right click ,should be able click my programme to do processing the text.

    How to do that.


  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Eastern Florida
    Rep Power


    In Windows there is a table in the Registry for the different file types(file extensions) that includes the commandlines that are displayed in the RightClick context menu. You can add a commandline and description to that table by opening Windows Explorer, clicking on Tools|Folder Options|File Types and selecting New to add a new file type, or scrolling down the list of extensions to the desired extension and clicking on Advanced.
    Then click the New button and add the description and commandline. Use "%1" as place holder for filename and exclose the commandline in "s. You can also make your commandline be the default by clicking on a button.

    Look at some other entries before making your changes for examples.

Similar Threads

  1. Fill a menu dynamically when menu is shown
    By Java Tip in forum SWT Tips
    Replies: 0
    Last Post: 07-07-2008, 04:47 PM
  2. React to menu action and checkbox menu
    By Java Tip in forum javax.swing
    Replies: 0
    Last Post: 06-27-2008, 07:50 PM
  3. Replies: 7
    Last Post: 05-09-2008, 07:54 AM
  4. Replies: 3
    Last Post: 12-15-2007, 11:19 PM
  5. how to create a menu bar in java
    By tommy in forum New To Java
    Replies: 1
    Last Post: 08-05-2007, 07:43 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