Iam getting problem with Jfilechooser iam not getting networkneighbourhood

Dear Sir,
Iam doing a product for education portal for that we are using swing as frontend in that we are using Jfilechooser where ever we want but the problem is in filechooser iam getting the directories of the system(like C, D, E). But iam not getting the networkneighbourhood in that. Please any body can solve my problem i want to select networkneighbouhood. Ill be waiting for your reply.If apiece of code is there ill be very thankful.
regards
surya

Unfortunately can't be done with JFileChooser, you would have to write your own version.
See the bottom of this document
http://java.sun.com/products/jfc/tsc/articles/merlin/windows/index.html
Unfortunately the link that the text then leads you on to is broken.

Similar Messages

  • Anyone had problems with jFilechooser?

    I have problems with JFilechooser freezes when invoking returnVal = chooser.showDialog(this, "Select");
    For some reason it freezes the entire program, allthough sometimes (rarely), it doesn't freeze.
    Are there currently any problems with JFileChooser? I have not had any problems when embedding it in a window - only when using it on its own with JFileChooser chooser = new JFileChooser();
    Regards / Daniel

    There was a bug with JFileChooser where it would be unnecessarily slow when the directory it was showing contained huge zip files on Windows. It seems like it had something to do with the Win32 API calls they were making actually looked into all of the zip file's entries even though it didn't need to. This was fixed back in Java 6 update 10. What Java version are you using?
    If that isn't your problem, you'll have to post an SSCCE demonstrating your problem to get any help.

  • TS3274 i have problem with the sound not working

    i have problem with the sounds not working

    Have you got notifications muted ? Only notifications (including games) get muted, so the iPod/Music and Videos apps, and headphones, still get sound.
    Depending on what you've got Settings > General > Use Side Switch To set to (mute or rotation lock), then you can mute notifications by the switch on the right hand side of the iPad, or via the taskbar : double-click the home button; slide from the left; and it's the icon far left; press home again to exit the taskbar. The function that isn't on the side switch is set via the taskbar instead : http://support.apple.com/kb/HT4085

  • I have new Ipad...MacBook Pro with Mountain Lion:  I have problems with certain applicaitons not sync'ing (like email, cal, notes)...need help

    I have problems with certain applicaitons not sync'ing (like email, cal, notes)...need help

    There are a few twists here. This is my opinion of a quick and easy way to do what you want to do.
    Get a 2.5" sata enclosure like this one - this is just a sample:
    http://www.amazon.ca/eForCity-2-5-inch-SATA-Enclosure-Blue/dp/B0083OOV9G/ref=sr_ 1_1?ie=UTF8&qid=1360012807&sr=8-1
    Put the new ssd in the enclosure, connect it to the Mac using the included USB cable. It is now an external drive.
    Format the drive using Disk Utility.
    Download and run Carbon Copy cloner, and clone your drive to the new external.
    Shutdown. Open the MBP and remove the SSD drive from the enclosure and put it in the place of the old drive.
    Boot the MBP. Once you know the new drive is up and running, you can get to the process of installing the old one in the optical bay.
    http://mac.tutsplus.com/tutorials/hardware/how-to-upgrade-your-macbook-pro-to-an -ssd/

  • Problem with file descriptors not released by JMF

    Hi,
    I have a problem with file descriptors not released by JMF. My application opens a video file, creates a DataSource and a DataProcessor and the video frames generated are transmitted using the RTP protocol. Once video transmission ends up, if we stop and close the DataProcessor associated to the DataSource, the file descriptor identifying the video file is not released (checkable through /proc/pid/fd). If we repeat this processing once and again, the process reaches the maximum number of file descriptors allowed by the operating system.
    The same problem has been reproduced with JMF-2.1.1e-Linux in several environments:
    - Red Hat 7.3, Fedora Core 4
    - jdk1.5.0_04, j2re1.4.2, j2sdk1.4.2, Blackdown Java
    This is part of the source code:
    // video.avi with tracks audio(PCMU) and video(H263)
    String url="video.avi";
    if ((ml = new MediaLocator(url)) == null) {
    Logger.log(ambito,refTrazas+"Cannot build media locator from: " + url);
    try {
    // Create a DataSource given the media locator.
    Logger.log(ambito,refTrazas+"Creating JMF data source");
    try
    ds = Manager.createDataSource(ml);
    catch (Exception e) {
    Logger.log(ambito,refTrazas+"Cannot create DataSource from: " + ml);
    return 1;
    p = Manager.createProcessor(ds);
    } catch (Exception e) {
    Logger.log(ambito,refTrazas+"Failed to create a processor from the given url: " + e);
    return 1;
    } // end try-catch
    p.addControllerListener(this);
    Logger.log(ambito,refTrazas+"Configure Processor.");
    // Put the Processor into configured state.
    p.configure();
    if (!waitForState(p.Configured))
    Logger.log(ambito,refTrazas+"Failed to configure the processor.");
    p.close();
    p=null;
    return 1;
    Logger.log(ambito,refTrazas+"Configured Processor OK.");
    // So I can use it as a player.
    p.setContentDescriptor(new FileTypeDescriptor(FileTypeDescriptor.RAW_RTP));
    // videoTrack: track control for the video track
    DrawFrame draw= new DrawFrame(this);
    // Instantiate and set the frame access codec to the data flow path.
    try {
    Codec codec[] = {
    draw,
    new com.sun.media.codec.video.colorspace.JavaRGBToYUV(),
    new com.ibm.media.codec.video.h263.NativeEncoder()};
    videoTrack.setCodecChain(codec);
    } catch (UnsupportedPlugInException e) {
    Logger.log(ambito,refTrazas+"The processor does not support effects.");
    } // end try-catch CodecChain creation
    p.realize();
    if (!waitForState(p.Realized))
    Logger.log(ambito,refTrazas+"Failed to realize the processor.");
    return 1;
    Logger.log(ambito,refTrazas+"realized processor OK.");
    /* After realize processor: THESE LINES OF SOURCE CODE DOES NOT RELEASE ITS FILE DESCRIPTOR !!!!!
    p.stop();
    p.deallocate();
    p.close();
    return 0;
    // It continues up to the end of the transmission, properly drawing each video frame and transmit them
    Logger.log(ambito,refTrazas+" Create Transmit.");
    try {
    int result = createTransmitter();
    } catch (Exception e) {
    Logger.log(ambito,refTrazas+"Error Create Transmitter.");
    return 1;
    } // end try-catch transmitter
    Logger.log(ambito,refTrazas+"Start Procesor.");
    // Start the processor.
    p.start();
    return 0;
    } // end of main code
    * stop when event "EndOfMediaEvent"
    public int stop () {
    try {   
    /* THIS PIECE OF CODE AND VARIATIONS HAVE BEEN TESTED
    AND THE FILE DESCRIPTOR IS NEVER RELEASED */
    p.stop();
    p.deallocate();
    p.close();
    p= null;
    for (int i = 0; i < rtpMgrs.length; i++)
    if (rtpMgrs==null) continue;
    Logger.log(ambito, refTrazas + "removeTargets;");
    rtpMgrs[i].removeTargets( "Session ended.");
    rtpMgrs[i].dispose();
    rtpMgrs[i]=null;
    } catch (Exception e) {
    Logger.log(ambito,refTrazas+"Error Stoping:"+e);
    return 1;
    return 0;
    } // end of stop()
    * Controller Listener.
    public void controllerUpdate(ControllerEvent evt) {
    Logger.log(ambito,refTrazas+"\nControllerEvent."+evt.toString());
    if (evt instanceof ConfigureCompleteEvent ||
    evt instanceof RealizeCompleteEvent ||
    evt instanceof PrefetchCompleteEvent) {
    synchronized (waitSync) {
    stateTransitionOK = true;
    waitSync.notifyAll();
    } else if (evt instanceof ResourceUnavailableEvent) {
    synchronized (waitSync) {
    stateTransitionOK = false;
    waitSync.notifyAll();
    } else if (evt instanceof EndOfMediaEvent) {
    Logger.log(ambito,refTrazas+"\nEvento EndOfMediaEvent.");
    this.stop();
    else if (evt instanceof ControllerClosedEvent)
    Logger.log(ambito,refTrazas+"\nEvent ControllerClosedEvent");
    close = true;
    waitSync.notifyAll();
    else if (evt instanceof StopByRequestEvent)
    Logger.log(ambito,refTrazas+"\nEvent StopByRequestEvent");
    stop =true;
    waitSync.notifyAll();
    Many thanks.

    Its a bug on H263, if you test it without h263 track or with other video codec, the release will be ok.
    You can try to use a not-Sun h263 codec like the one from fobs or jffmpeg projects.

  • Problem with Adobe Reader not being able to run with Maverick  10.9.2?

    problem with Adobe Reader not being able to run with Maverick  10.9.2?

    Have you updated your version of Adobe Reader?

  • Has anyone had a problem with fcp x not playing back a project since installing 10.0.9 update?

    Has anyone had a problem with fcp x not playing back a project since installing 10.0.9 update?

    Not here;  updated three systems without issues.
    Can you provide more details on your system specs, the projects you're referring to, and what kind of behavior you're encountering?
    Russ

  • Problem with JFileChooser

    I have a problem with JFileChooser.showOpenDialogBox(Component c). When I select a directory and click the Open button,the program goes wacky. Same is the case if I click Cancel button without selecting any file. How to solve this problem. I want the directory be opened and all subdirectories and files be shown just as in MS Word for example.

    I have a problem with JFileChooser.showOpenDialogBox(Component c). When I select a directory and click the Open button,the program goes wacky. Same is the case if I click Cancel button without selecting any file. How to solve this problem. I want the directory be opened and all subdirectories and files be shown just as in MS Word for example.

  • Has anyone else had a problem with the audio not keeping up with the video when switching to full screen on YouTube?

    Hi. I have a OS X Yosemite Version 10.10.1 Mac Book Air, Processor 1.86 GHz Intel Core 2 Duo.
    Has anyone else had a problem with the audio not keeping up with the video when switching to full screen on YouTube?
    The video starts out fine, but if I click on the expand icon in the lower right corner of the screen the audio won't keep up.
    Refreshing the page don't help at all. In fact, nothing seems to help once it starts.
    I did not have this problem at all using Mavericks. The problem started after installing Yosemite.
    Any way to fix it?

    only $99, i thought it was closer to $175.

  • I had a problem with my WRT54GS not connecting to my inte...

    I had a problem with my WRT54GS not connecting to my internet until I cloned my old routers mac address. I was using a BEFW11S4 which was bullet proof and worked for several years until I changed to Wireless G. Upon purchasing the WRT54GS and setting up all parameters exactly like I had before I could not make any connections, wireless or otherwise until I cloned my mac address to the same address as my previous router. Apparently my ISP had that mac address registered and would not properly perform DHCP even though all other paremeters were correct. I read lots of messages here on line with issues with the WRT54GS connecting and this fixed my problem outright. If you upgrade from a previous generation router (Linksys or otherwise apparently) copy your old routers mac address and clone it to your new router and you should be able to connect. This fixed my problem after several hours and days of troubleshooting. Good Luck Karnage

    As an alternative to using MAC address cloning, you can phone your ISP, tell them you have a new router, and tell them to reset their system to accept the MAC address of your new router.   This way, you won't have to remember the old MAC address, in the event that you need to reset your router to factory defaults.

  • Is anyone having a problem with iPhone 5 not backing up to iCloud. No problem at first now it says it will take 35 hrs, etc to back up.

    Is anyone having a problem with iPhone 5 not backing up to iCloud. No problem at first now it says it will take 35 hrs, etc to back up.

    Thanks for the swift reply, I have been looking online and a loose plug seems to be somewhat of an issue with many, I hope mine is actually a problem and not what others are experiencing. It's taken me this long to even reach out for the simple fact I HATE being a complainer but this is just horrible.
    Do you have an iPad 3 as well? And is yours not experiencing any issues close to mine?
    Thanks again!

  • Using 10.9.2 has anyone had problems with mail sounds not sounding even when they have been selected in mail preferences?, Using 10.9.2 has anyone had problems with mail sounds not sounding even when they have been selected in mail preferences?

    Using 10.9.2 has anyone had problems with mail sounds not sounding even when they have been selected in mail preferences?

    Your download or install of the update may have been corrupt. Visit the Mac App Store and re-download the update or visit http://support.apple.com/kb/DL1726 and download the 10.9.2 update combo and re-install.
    If that fails to solve the problem please post back and post a EtreCheck Report which you can locate at:
    http://www.etresoft.com/etrecheck

  • TS3276 Does anyone have problems with sent messages not showing in their Mail? I have two sent folders when really I only want one. Any tips?

    Does anyone have problems with sent messages not showing in their Mail? I have two sent folders when really I only want one. Any tips?

    Not sure if this is a fix, but I tried sending myself a test email from only  the Bcc field, and lo and behold it now shows the Bcc field in all sent item previews;
    ...maybe leaving the 'To' field blank on purpose forced Mail to show it.
    Rebooted the Mail program, still there - rebooted the machine, still there. Hope this is still relevant and it works for you too - J.

  • HT1338 has anyone else had problems with their mail not loading properly and the multi gestures stopped working on their mac pro after new updates?

    has anyone else had problems with their mail not loading properly and the multi gestures stopped working on their mac pro after new updates?

    Have you tried calling Apple tech support?
    http://www.apple.com/contact/

  • Problem with CL Do not get any real he

    I have been buying CL sound for 6 years Both for me and for my costumers and?lately I have problems with them The driver do not work and if the do it is glitches and problem calling the CL for help IS USELESS We Got some run around!! I will here by tell you all, My company and myself will stop buying and promoting all CL cards!! I will go to others for sound card from now on. I'm really upset of the attitude that CL have started.
    Is there other that feel the same?
    I have been a great supporter of CL and it was THE ONLY CARD I DID RECOMMEND, but not longer.
    Message Edited by RealBigSwede on 05-3-2008 07:7 PM

    Well again the CL show their color NO ONE even barter to answer so I take they don't give a crap...well I guess that $5000-7500 they don't care? but I will spread the work CL=No buy!!
    The CL must have got a new board that think "that costumer service are crap and we don't care"...well, after all this time, they have got the money out of me, I guess. So why barter with Small Businesses the are not important... Well SM is the backbone of the economy.
    Message Edited by RealBigSwede on 05-3-2008 07:6 PM

Maybe you are looking for

  • How give a data from one table to another table

    Oracle forms6i Hai All I had two table in table data base and from one table the data has to move to another table using forms The two tables are First table name temp_att from this the data has to move and the data are BARCODE BARDATE BARTIME Row_nu

  • Avoid Depreciation for particular asset

    Sir , Is there any possibility to avoid to run depreciation for particular or specified assets. Tamil Selvan.

  • Website tab in browser reads "untitled document" instead of website name

    The tab for my website reads "untitled document"? This happens in Firefox, Safari & Explorer. When in other websites, the name of the website appears there. Any ideas how I can fix that?

  • Car charging (12V) to Macbook Pro Magsafe 2

    There seems to be numerous discussions (all of them old) about the best way to charge a new Macbook pro (2013 onwards) with magsafe 2 (T connector) in a car. However I cant seem to find the definitive answer or an up to date one. Have a client that n

  • Issue with AEGP_GetNextProjItem().

    Hi All,           I applied my effect and saved the project on MAC CS4. When I opened it again on MAC it worked fine. When I opened it on Windows CS4, AE hangs. When I debugged, the issue was that AEGP_GetNextProjItem() was failing to return a new it