Bug JFileChooser freeze!

I can't use JFileChooser. When I write in my aplication: new JFileChooser(); the aplication freeze (examples with JFileChooser from sun have the same problem).
I have windows Xp and jdk 1.6.0_03(same in jdk 1.6.0_04), my friends that use the WindowsXp and Jdk 1.6 don't have this problem.
Could someone advice what to do to get rid of this bug?
Thank you.

I solved the problem.
I had a bad sortcut(con.lnk) in desktop, I couldn't delete this file(windows or dos). Finally I used Unlocker 1.8 that help me to delete this bad link (con.lnk) and now evrything works fine :)
The problem wasn't in my aplication, I write a simple HelloWord.java and include new JFileChooser() and aplication freeze. As I said I had the same problem running examples with JFileChooser from http://java.sun.com/docs/books/tutorial/uiswing/components/filechooser.html .

Similar Messages

  • (Possible) bug: iPod freezes after starting an audiobook

    When I start an audiobook on my iPod, it freezes for +/- 33 seconds. This means that the screen is stuck and the buttons don't work. Is it me or is this a bug?
    I've tested this with an .m4a file that I renamed to .m4b to be able to access it as an audiobook.

    That's not really the problem. The thing is: I can use my iPod as I would use it normally, but when I open an audiobook, my iPod freezes temporarily (for +/- 33 seconds).
    Interesting: when I connect my iPod with my computer during the time that my iPod is frozen, my computer doesn't respond until after the 33-second delay.

  • ITunes 10.1 64bit on Windows 7 Ultimate x64 has bug, it freezes ...

    I am using Windows 7 x64 Ultimate (Traditional Chinese) and I was using iTunes 10.0 for a few months without any problem. A few days ago, when I want to upgrade my iPhone 3GS to iOS 4.2.1.
    I upgrade the iTunes to 10.1 64 bit and found out it freezes when it startup at the first time. after a while, it looks okay and I was able to play the MP3 etc... however, when I plugin my iPhone 3GS (with 3.1.2 firmware) into my PC. it freezes again. I already tried to reboot my PC several and it still doesn't work.
    I thought it might be my iPhone need to upgrade to iOS 4, so I use my friend PC to do the upgrade. Now, my iPhone is at iOS 4.2.1. however, when I plugin the iPhone back to my PC, the iTunes still freezes..
    I tried to uninstall all the apple softwares and re-intall the iTunes 10.1. it still doesn't work.
    I also tried to reinstall the older 10.0.1 version; however, the iPhone iOS 4.2.1 cannot work with 10.0.1 version.
    I am now in a dead-end and feel very frustrated..... could any one helps?
    I am using the avast anti-virus, could it be the root cause? but, it works well with iTunes 10.0 before
    Message was edited by: r390gt1

    I notice that the iTunes 10.1 is running at 32-bit and it installed on the Program Files(x64) folder. I have manually download the 64bit version, but the iTunes is still not responding when I plugin the iPhone.
    Something wrong with the iTunes 64 installer.

  • Bug and freezing

    I am become increasingly frustrated by Apple Pages! I have no issues with any other Apple Apps but pages has become almost unusable.
    Often whilst working in the App it will freeze, the cursor remains as a type cursor, it then sits still for around 30 seconds before completing previous actions! During which if I scroll it highlights all the text. In the spirit of good idea problem solving I have already re-installed.
    I am running a 2013 27" iMac with 8 gb of ram and Yosemite installed.
    I am now considering other word processing Apps.... even MS!
    Any ideas for a fix would be appreciated 

    Was it jailbroken or hacked?

  • Latest version (Nov 14) has bug - 'connecting' freezes until touch touch-pad.

    This same bug occurred over a year ago. I was able to get around it then by reverting to a previous release and then ignoring any subsequent prompts to load latest release. Now am unable to to the same because of "security issues". I can live with security issues as long as I can connect normally.
    Connecting was perfectly normal - I then applied the update as requested - and immediately there were problems. "Connecting" spins for a few seconds then stops. Touch the touch-pad and it "wakes up".

    So the touchpad awakes the loading of the page, but the computer is not in sleep mode. This is odd. However you also mentioned that it happened a year ago and that you had tried to revert to a previous version.
    Have you considered making a back up of your profile and trying a clean reinstall? [[Back up and restore information in Firefox profiles]]
    Certain Firefox problems can be solved by performing a ''Clean reinstall''. This means you remove Firefox program files and then reinstall Firefox. Please follow these steps:
    '''Note:''' You might want to print these steps or view them in another browser.
    #Download the latest Desktop version of Firefox from http://www.mozilla.org and save the setup file to your computer.
    #After the download finishes, close all Firefox windows (click Exit from the Firefox or File menu).
    #Delete the Firefox installation folder, which is located in one of these locations, by default:
    #*'''Windows:'''
    #**C:\Program Files\Mozilla Firefox
    #**C:\Program Files (x86)\Mozilla Firefox
    #*'''Mac:''' Delete Firefox from the Applications folder.
    #*'''Linux:''' If you installed Firefox with the distro-based package manager, you should use the same way to uninstall it - see [[Installing Firefox on Linux]]. If you downloaded and installed the binary package from the [http://www.mozilla.org/firefox#desktop Firefox download page], simply remove the folder ''firefox'' in your home directory.
    #Now, go ahead and reinstall Firefox:
    ##Double-click the downloaded installation file and go through the steps of the installation wizard.
    ##Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
    More information about reinstalling Firefox can be found [[Troubleshoot and diagnose Firefox problems#w_5-reinstall-firefox|here]].
    <b>WARNING:</b>Do not use a third party uninstaller as part of this process. Doing so could permanently delete your [[Profiles|Firefox profile]] data, including but not limited to, extensions, cache, cookies, bookmarks, personal settings and saved passwords. <u>These cannot be easily recovered unless they have been backed up to an external device!</u> See [[Back up and restore information in Firefox profiles]]. <!-- Starting in Firefox 31, the Firefox uninstaller no longer lets you remove user profile data.Ref: Bug 432017 and https://support.mozilla.org/kb/uninstall-firefox-from-your-computer/discuss/5279 [Fx31] Windows uninstaller will no longer offer the option to remove personal data -->
    Please report back to say if this helped you!
    Thank you.

  • 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.

  • Event.MOUSE_DOWN freezes my app

    My class extends Applet class, and I have an application which has a couple of buttons and text fields. However, the problems occur with events in
    public boolean handleEvent(Event event) method.
    I have a bug which freezes my application when the user doesn't click on any particular button or text field but instead clicks within the app window frame. After that point I have to click outside the main window in order to "unfreeze" the app.
    Any help would be highly appreciated.

    Hi,
    Could you describe some more clearly what this 'mouse-down' should do? I think we can answer your question better then.
    For now perhaps your handle-event does not call it's parent method?
    so
    public void handleEvent(Event e) {
        // You do something
        // So your code here
      super.handleEvent(e);  // This one should always be at the end!!
    }However I suggest you use the 1.1 event model instead of the 1.0. Unless you really need to do it this way.
    Martijn

  • AffineTransform freezes my program

    I wrote a 2d program that simulates a bunch of rabbits, who run around the screen reproduce etc. When the rabbits move higher up on the screen they are scaled smaller to give a sort of perspective look. I have 3 images for left animation, 3 for up, 3 for down. When the rabbits are facing right, I scale them with a negative x value which flips the image around the vertical.
    This all used to work perfectly fine until about a year ago when I got a later version of Java (can't remember which one, kind of gave up until now).
    The problem seems to occur when the rabbits face left. They can run that way for a while (time varies), but then suddenly their images start repeating themselves in a row, horizontally, and then the program freezes.
    So weird!
    Here is a exert from the loop that renders each rabbit:
    AffineTransform transform = new AffineTransform ();
    Rabbit rab = (Rabbit) i.next ();
    Image img;
    if (rab.getState () == Rabbit.DEAD){
         img = Globals.gravestone;
         rab.direction = Rabbit.LEFT;
    else
         img = rab.getImage ();
    double scale = 0.25 * (rab.getAge () < 3 ? (rab.getAge () + 1) : 4) * (0.5 + (double) rab.y / getHeight () * 0.5);
    int imgW = (int) (img.getWidth (null) * scale);
    int imgH = (int) (img.getHeight (null) * scale);
    if (rab.direction == Rabbit.RIGHT){
         transform.translate (rab.x + imgW / 2, rab.y - imgH / 2);
         transform.scale (-scale, scale);
    else{
         transform.translate (rab.x - imgW / 2, rab.y - imgH / 2);
         transform.scale (scale, scale);
    g.drawImage (img, transform, null);This is in a method render() within a JFrame, so getHeight() or getWidth() refer to that of the JFrame. The rabbits are also scaled depending on their age.
    Any help or explanations would be great. Thanks

    Here is the stack state when the command "new JFileChooser()" freezes my program:
    copyFirstPIDLEntry() : -1, sun.awt.shell.Win32ShellFolder2, Win32ShellFolder2.java
    createShellFolderFromRelativePIDL() : 57, sun.awt.shell.Win32ShellFolderManager2, Win32ShellFolderManager2.java
    getLinkLocation() : 622, sun.awt.shell.Win32ShellFolder2, Win32ShellFolder2.java
    isDirectory() : 471, sun.awt.shell.Win32ShellFolder2, Win32ShellFolder2.java
    get() : 200, sun.awt.shell.Win32ShellFolderManager2, Win32ShellFolderManager2.java
    get() : 221, sun.awt.shell.ShellFolder, ShellFolder.java
    updateUseShellFolder() : 500, com.sun.java.swing.plaf.windows.WindowsFileChooserUI, WindowsFileChooserUI.java
    installComponents() : 203, com.sun.java.swing.plaf.windows.WindowsFileChooserUI, WindowsFileChooserUI.java
    installUI() : 136, javax.swing.plaf.basic.BasicFileChooserUI, BasicFileChooserUI.java
    installUI() : 140, com.sun.java.swing.plaf.windows.WindowsFileChooserUI, WindowsFileChooserUI.java
    setUI() : 650, javax.swing.JComponent, JComponent.java
    updateUI() : 1755, javax.swing.JFileChooser, JFileChooser.java
    setup() : 366, javax.swing.JFileChooser, JFileChooser.java
    <init>() : 332, javax.swing.JFileChooser, JFileChooser.java
    <init>() : 285, javax.swing.JFileChooser, JFileChooser.java

  • OS X Lion freezes my MacBook Pro

    Hello everyone,
    I've got a 15' MacBook Pro since November 2010, it came with OS X Snow Leopard, and everything was fine with it. No bugs, no freezing, no problems... I could use it without having to restart the computer for months.
    I made the upgrade to Lion in July 2011, and since that day, my MacBook Pro freezes randomly quite often. Sometimes it's when I'm checking my emails for example I click on "answer" and the MacBook Pro freezes, there is this multicolor whirl, I can't do anything. I've to shut down the Mac by holding the power button for a while. It doesn't happen only with mail, it happens randomly like I said. For example, when I'm watching a YouTube video or watching photos in iPhoto... even when I only use the finder to find a file.
    To repair this problem, I tried everything :
    - I made a clean install of Lion (I thought, maybe some Snow Leopard parts were the problem).
    - I made a repair of the permissions, a repair of the disk, well, everything that could help the Mac to work better like PRAM reset, NTFC reset, etc
    - I completely erased the disk, and I made a clean install of Lion.
    I don't think it's an hardware problem, because everything was fine with Snow Leopard. If you know something I could do in order to have a Mac without bugs and freezing. And don't tell me to reinstall Snow Leopard, cause I really need iCloud.
    Thanks in advance

    OK everyone, I may have found the solution, with a very clean install, everything seems to work fine now.
    What I did: I downloaded Lion to create a USB installer, then I launched it, in disc utility, I erased the disc, and also the empty space (about 2 hours).
    With my hard drive all cleaned, I installed Lion using the USB key, (about 20min).
    Since, I tried eveything, I opened all my programs, I used YouTube and every websites with Flash. I tried eveything that could make it freeze. Nothing, so I think that's the solution of many freezing problems.
    And the Mac seems to be faster than before... So it's strange, cause I already did that before, except the Install from a USB key. Maybe it's that.

  • AW 6.2.9 freezes on launch

    iMac G5, Mac OS 10.5.8
    After years without problems, AW has started freezing at the "Building Font Menu..." step and I have to force quit it. I tried deleting the plist but that didn't help. Any suggestions on how to fix this or do I have to use (shudder) iWork or Office?

    Thanks for your description of the problem, it gives a good starting point. With the title of your thread, my first thought was the infamous Recent Items bug.
    Freezing at the font menu usually indicates corrupt fonts. It also could be a corrupt font cache. Restarting in safe mode or using OnyX can usually take care of the cache. If it's a corrupt font, that can be more difficult to track down.
    Or you could just have a lot of fonts. It used to be thought that more than 150 fonts caused problems, but that doesn't always hold true. I have a lot of fonts & AppleWorks does take a long time to build the font list but it does eventually do it.
    As always, try another user & see what happens.
    There is more to deleting the AppleWorks preferences than just the plist.

  • When will Apple fix Lion OS X v10.7 from freezing after my 27" Mac is put to sleep? I must admit that I am amazed that Apple would release an OS that has this problem, for that matter any serious problem.

    When will Apple come up with a fix for Lion OSX v10.7 from freezing after Lion is put to sleep?  My 27"Mac freezes after being put to sleep and a hrad boot is required to be able to use the system.  I have complained to the local Apples store numerous times. The Genious Bar re-installed the OS and it crashed the very next day and continues to crash two or three times per week.  I am amazed that Apples would relase a product, any product before it has been proven to be solid, then again, look at the release of the newest IPhone 4-S.

    Neil from Oz wrote:
    So do you have a question about how to fix your system?
    The question/problem is "My 27"Mac freezes after being put to sleep."
    Gabor, I can't help, except to report that I, too, experience very frequent unexplained crashes and freezes in Lion. However (so far) not when I put it to sleep.
    There are a lot of reports about freezes. Here's one. Maybe you should join that thread. Someone there is also reporting that "Lion has a bug that freezes the system when waking the system from sleep."
    Are you getting freezes/crashes at other times or only when sleeping the computer?
    And does it successfully go to sleep?
    Does it freeze when you wake it, or at the point where you're putting it to sleep?

  • Nokia 500 houses bugs and glitches

    Nokua 500 has became house of bugs and glitches. Some are most frustrating and reinstalling software doesn't work in any way. Seriously, auto-restart bug and freezing bug should be cured soon.

    Let me add my 1 cent on your 2.
    1. It disconnects calls. You are talking to someone for a few minutes - and BAM, disconnected. 
    2. The reception is disaster. On places I used to get 4-5 bars of 3G, now even simple, good, old GSM sucks. While you hold the phone on your hand, you can see it jump from 2 bars of 3G, then it goes to GSM 6 bars, and then 0 bars GSM, then 2 bars GSM... All in 10-20 second.
    Owner of E52 - E as in Experimental.

  • The bookmarks themselves exist. How can I put them back in the drop-down menu I have from Vista-Aero theme ?

    This happens when I start Firefox (v. 3.6.28) from desktop. I ussually start it from quick launch. I have a star shaped button, top left, that works like a drop-down menu for my bookmarks. But now there's only a small window there, and the bookmarks do not appear anymore. They are stored in the Bookmarks>>Unsorted bookmarks tab. But how the hell do I get them to the drop menu ?
    Did I mention that Restore doesn't ....... do anything ?
    Also I haven't changed any settings in the last 2 weeks.
    ''Edited by a moderator due to language. See the [http://support.mozilla.com/kb/Forum+and+chat+rules+and+guidelines Rules & Guidelines] .''

    Staying with Firefox 3.6 is both EXTREMELY Insecure (you are vulnerable to almost every hole on [https://www.mozilla.org/security/known-vulnerabilities/firefox.html https://www.mozilla.org/security/known-vulnerabilities/firefox.html] since Firefox 12), and you are using a version that is significantly slower, doesn't support modern web technology, and has known bugs (crashes, freezes, etc.). If it's just the UI you don't like, you can quickly and easily change the UI to look exactly like 3.6.
    So, until you update you are knowingly using an old version of software with dozens of known bugs.

  • S.M.A.R.T. failed on main internal drive, is my disk dying?

    Hi,
    Wanted to repair permissions before updating to 10.6.8 only to find a red message saying my main internal disk is damaged beyond repair, s.m.a.r.t checkup has failed.
    I was able to repair damages on the HD with disk utility but not the media drive.
    My iMac works fine, no slow-ups, no bugs, no freezes, nothing, only the message saying my disk is damaged.
    I have an iMac i7 2.8 GHz (late 2009) with 1To media drive with a HD with 99,86 Go running 10.6.8. (I was able to update), 4 Go 1067 mHz DDR3 Ram.
    I consider my iMac like new, still have 629 Go available disk space.
    Should I ignore this message since every thing seems in working order or I am looking for trouble?
    Thank's

    I would say to replace the HD. You can run additional tests in Apple Hardware Test to verify and also download and SMART Utility at:
    http://www.volitans-software.com/smart_utility.php
    BTW If the machine is covered by AppleCare then this will certainly be covered.
    Of course make sure the system has at least one viable backup using either Time Machine or a bootable clone using SuperDuper or Carbon Copy Cloner or preferable both TM & the clone.
    Roger

  • Why setting the download folder ton an external HDD doesn't work? the downloaded files goes to My Documents (Windows)?

    Why setting the download folder ton an external HDD doesn't work? the downloaded files goes to My Documents (Windows)?

    I did what you said and updated FF, now the download goes to the external HDD that I specified, but now FF bugs, it freezes (not responing) :s
    I reinstalled it but it doesn't fix the problem. I don't know what to do :(

Maybe you are looking for

  • How do I set up multiple users with different configurations

    I have a Mac Pro that is shared by multiple users. Some edit using Avid Media Composer 6.0, and some edit using Final Cut Pro 7. Our client monitor is connected using a Matrox MX02 Mini. When I install the latest drivers for the Matrox MX02, I can us

  • Character display problems....11g connecting to SQL server

    Hi Gurus, db: 11.2 os: redhat 5.5 there is a problem when with character display with sqlplus and even worst on TOAD, SQL Developer tool. there is a Heterogeneous connection between 11g and ms sql serever. i use freedts, unixodbc and dg4odbc to estab

  • Movies on iphone

    Is there any way to sync the movies i have in my iphoto 09 library to my iphone 3g?

  • 1920x816 circles

    Hi- I have a motion project that's 1920x816 with some circles that originate from a Photoshop file. When I import this into FCP in a sequence it looks fine. I then send it to Compressor using the custom 16:9 setting under frame size, and when I enter

  • 2ndgen shuffle cuts out all the time

    My shuffle worked great for a month. But now, while I'm running, either the sound cuts out or the unit stops playing - I haven't been able to figure out which. When this first started happening, I could get it to play again by pressing the play butto