Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Create Window registry entry and get file path

  1. #1
    Junior Member
    Join Date
    Jul 2014
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Create Window registry entry and get file path

    Hi All,

    I have created a java swing application which work as a Anti Virus, i have also created registry entry for it. but i want the file path in my application from which i am running my code like in all anti virus cases.

    For instance: if i will right click on any folder, it will show a link "scan with something"(for this i made registry entry manually). It is opening my application but i am not able to get that folder's path i my application.

    if it is possible then please help.

    Sorry in advance for my language mistakes


  2. #2
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    6,373
    My Mood
    Mellow
    Thanks
    254
    Thanked 786 Times in 771 Posts

    Default Re: Create Window registry entry and get file path

    Welcome to the forum! Please read this topic to learn how to post code in code or highlight tags and other useful info for new members.
    It is opening my application but i am not able to get that folder's path i my application.
    Post the code that is supposed to take in a folder's path and then navigate to it. You might look at FileChooser, but I don't understand the problem yet.

Similar Threads

  1. Separate method to create Window
    By johnFuller001 in forum What's Wrong With My Code?
    Replies: 1
    Last Post: June 16th, 2013, 03:56 AM
  2. Trying to create a window...
    By Tedstriker in forum What's Wrong With My Code?
    Replies: 2
    Last Post: October 16th, 2012, 12:39 PM
  3. Does Java create the following undeletable embedded-null registry entry..?
    By thedarkness in forum Java Theory & Questions
    Replies: 2
    Last Post: November 7th, 2011, 03:48 PM
  4. Replies: 2
    Last Post: October 31st, 2011, 10:19 AM
  5. how to get value path file from jsp form- input type file
    By meeGoreng in forum JavaServer Pages: JSP & JSTL
    Replies: 4
    Last Post: October 4th, 2011, 01:05 AM