I want to disable textfield  in JFileChooser  ? how can that be done

i can give error msg , if user enters wrong info in textfiled. But i want to completely disable this textfield so that user cannot enter anything in that text field . Plz giv suggestions for it

Did you ever figure out a way to do this? I'm trying to do the same thing: I want the user to navigate the filesystem through the JList, but NOT be able to directly edit the contents of the textfield.
I think you may be able to search through the JFileChooser for the actual textfield, then set it to non-editable. I've looked at the contents of the JFiledChooser as a Component, but haven't found the textfield. Ideas?
[email protected]

Similar Messages

Maybe you are looking for

  • Programming Web Item. Problem with URL creating

    Hi, I am trying to programm a own Web Item. I derived from the class CL_RSR_WWW_ITEM_VIEW. Everything is worken fine. I just have a problem with the creation of links. In the WAD there is the very nice way of using SAP BW URLs like: <SAP_BW_URL cmd="

  • HT201210 Error

    I only have a usb cable with an arrow pointing to an itunes logo, the ipod won't do anything and I can't get it to register to itunes. I've been trying for 2 hours.. what's going on?

  • Help with HALO & menu

    How do I get this menu to show up in the Page Name section of the Halo Left Nav template? menu files: menuscript.css menustyle.css

  • JProgress bar automatic updation as web page uploads

    hi, I am new java programmer. I am supposed to make a Java browser with some functions similar to Internet Explorer. As I started Swing just a week back, I am really bad at it. Though i finished all the other parts, just one thing to add a final touc

  • Can't run java apps with System.out.println on any builder.

    Hello, I'm currently using Vista RC2, which is the immediate problem. Classes with System.out.println won't launch the console window. As I'm a student and practicing on these steps, I do have quite a problem on my hands. I click on run, build succes