How to expose a hidden directory

I don't know if this is the forum to post, but this is my question:)
I want to be able to expose a hidden directory in the JFilechooser . How do I do it?
OS used is linux. I have this .dct directory which is in my home directory
/home/seema/.dct
JFileChooser fileChooser = new JFileChooser("~/.dct")
All the files in /home/seema are displayed. I want it to display only the files in .dct directorythanx

First of all, I would like to thank everyone who has patiently answered to all my postings. Most of the times I do thank the people who help me through the problems , and I really appreciate it. I have learnt a lot as well.
As an example, This is yesterday's posting
http://forum.java.sun.com/thread.jspa?threadID=684733
where I did definately thank.
To point that I don't thank people , I haven't posted anything in like 4-5 months . Even if you look at my previous postings(beyond 6 months) I have been defn appreciating the help , unless I forgot .
And for today's posting, I was not at my desk all day to check the forums.
But thanks once again, I didn't mean to offend anyone here.

Similar Messages

  • How to change default compile directory tmp_ejb?

    Dear all,
    Someone knows how to change the default directory "tmp_ejb...." in WebLogic Server
    7.0?
    This is the default directory where WebLogic Server 7.0 generates and compiles
    the EJB's declared in config.xml.
    I try to specify the attribute TmpPath="ANOTHER_TMP_LOCATION_DIRECTORY_FOR_EJB"
    in the EJBContainer node but still doesn't work.
    The same thing happens when I test this attribute on EJBComponent declaration.
    Someone knows if there is an enviroment variable that specify this tmp_ejb location
    path?
    It's false that the tmp_ejb is located where the config.xml file is placed.
    I have 3 weblogic servers and they haven't the same behaviour.
    Someone can help me??????
    Thanks.

    I ran into the same problem and was wondering if you got an aswer the question you posted in BEA's news group: "How to change default compile directory tmp_ejb?
    Thanks

  • How to expose a page out of PS authenication

    How to expose a page out of PS authenication,
    Say i've a register page for a event page, i want to email blast that. how do i make that page available to user without a OPRID?, just like any other webpage?
    Thanks,
    Kaushik

    You could create a user with only the grant to read that page.
    Then configure the automatic login with this user of a specific web profile (and webserver) or if it is available for the current one used.
    Nicolas.

  • Messenger Express: How do I add the Directory Server to the address book search tool?

    In Messenger Express (ME) how do I add the Directory Server (DS) to the address book
    search tool?
    <P>
    Edit the globals.pl file. Look for a line similar to: <BR>
    @dirservers = ('MyCompany::phonebook.foo.com::o=FooCorp.,c=US','Four11 Directory::ldap.four11.com::');
    <P>
    Add an entry to the list. The list is comma delimited and each entry is a
    string. The string contains three fields, delimited by a double colon (::). The
    first field is the name you want to appear in the User Interface (UI). The second is
    the hostname of the DS and the third is the Distinguished Name (DN) to use when searching.
    <P>
    Please note, Messenger Express is part of the Messaging Server. For more
    information on Messenger Express, please see the release notes at
    http://home.netscape.com/eng/server/MExpress/relnotes.htm

    You can't add a new contact to specific group and there is no app for this. 3rd party apps don't have access to private iPhone APIs with security concerns being a primary reason, which such a function would require.

  • How can I check for directory creation?

    Hi,
    I want to check whether I can create a directory at a particular location.
    Let's say at c:\windows, can create a directory called c:\windows\mydir. But I won't be knowing the parent location (i.e., c:\windows here) at compile time.
    And I would also like to check for creating a directory like c:\windows\mydir1\mydir2 (mydir1 may not even exist).
    What I was doing was, I created the file object for my new directory (i.e., mydir here) and used the canWrite() method on the parent directory. But this method worked only when the parent directory existed. But how can check for a directory path like c:\windows\mydir1\mydir2 where I have to create both mydir1 for mydir2.
    Is there any other methods that I can use to perform this kind of a check.
    Thank you

    I finally figured out a workaround, but i don't know whether this is a good way of checking. :)
    import java.io.File;
    public class TryMKDIRs {
         public static void main(String[] args) {
              File file = new File("c:\\mydir1\\mydir2\\mydir3");
              boolean canICreateDir = false;
              if(false == (canICreateDir = file.canWrite())) {
                   System.out.println(file.getAbsoluteFile() + " cannot be created.");
                   File fileparent = file.getParentFile();
                   while(fileparent != null && (canICreateDir = fileparent.canWrite()) == false) {
                        System.out.println(fileparent.getAbsoluteFile() + " cannot be created.");
                        fileparent = fileparent.getParentFile();
              if(canICreateDir) {
                   file.mkdirs();
                   System.out.println("Directory can be created. . .");
    }

  • How to expose sort attributes in a web service created on a AM 11g TP4

    I'm using Jdeveloper 11g TP4 to create a web service on the application module.
    When I run the web service, it is working fine. Can someone tell me how to expose the sort attributes for the user to choose?
    How do I expose the sort Order for the user to select?
    These are the steps I followed:
    1) Created a new application.
    2) Created a view object in the Model project.
    Created one bind variable.
    Created new view Criteria and used the bind variable.
    3) Created a new jspx page.
    From the Data control dragged and dropped the Named Criteria on to the page and used "ADF Query Panel with Table..."
    4) Ran the Jspx page. It works fine.
    Double Click Application Module.
    Click on tab Service Interface.
    Hit New, this will open the Wizard to Create a new Service Interface.
    Followed instructions and selected all the applicable methods to expose as web service.
    At the end of the process, wsdl, xsd, java files are created.
    I'm able to run this web service.
    The field to query the data is exposed in the Web Service.
    Is there a way to expose the sorting attributes to be selected by the user? i.e. I want to expose the fields to the user.
    Thanks,
    Jagadish.

    Why bother with TP 4? JDev 11g is already production.
    --olaf                                                                                                                                                                                                   

  • How do you change the directory location from the hieachy window.

    Our DAQ system consists of 285 vi's. During development changes, some vi's were created and passed to the DAQ via a LAN connection. Pulling up the vi's at the DAQ has changed the desired path such that some come from the LAN virtual drive, while others are resident on the DAQ PC. All have been copied to the PC's hard drive. Viewing the LabView hiearchy, how do I change the directory for a few individual vi's to point at only the PC harddrive? I saw this done once, but forgot how and cannot easy find it in the help files.

    When this happens to me I temporarily disconnect the network drive or rename the network folder to force LabVIEW to do a search. If they're all in the same folder as the main VI, they'll be found automatically.

  • How to change the output directory of .xml files

    Hi,
    There are lots of .xml files generated under
    $ORACLE_AS_HOME/j2ee/home/applications/xmlpserver/xmlpserver/xml.
    (ex:/usb/bipub3/oracle/oc4j_bi/j2ee/home/applications/xmlpserver/xmlpserver/xml).
    I found these files are generated in the following operation;
    1.Log in BI Publisher.
    2.Select the Schedules tab.
    I think they are kind of temp files so we will be able to delete them.
    But I'd like to know how to change the output directory.
    Can we change the above directory to other path?
    Regards.

    Why? As that may invalidate support since you configure/alter the deployment.
    The location is specified in oc4j_bi\j2ee\home\applications\xmlpserver\xmlpserver.war, so you could go into the war file and alter it.

  • How to create a new directory?

    Hi!
    I want to export each Layer to a png file in a directory named like the file.
    That directory is not exisiting.
    var document = app.activeDocument;
    folder = document.fullName+"-png";
    var file = new File(folder+"/"+layer.name+".png");
    document.exportFile(file,ExportType.PNG24,options);
    leads into an error that "documentname-png/" is not found.
    How do I create the directory 'document.fullName+"-png"'

    Thanks, that was exactly what I searched for.
    (I use a folder to go around the 31 character file length warning:
    http://www.electrictoolbox.com/change-adobe-photoshop-filename-compatibility-options/
    "Some names of the files being saved will be truncate to 31 characters for compatibility with Macintosh browsers.")

  • How to make a DCIM directory?

    How to create a DCIM directory on an SD Card?

    Plug the SD card into a computer, make a folder and name it DCIM
    Or you can put it into a digital camera and take a photo, that should also format it

  • How do you add a directory to a manifest.mf file, andf in what order.

    How do you add a directory to a manifest.mf file in a JAR file, andf in what order.
    I know how to set a classs files and file class's & Main Class's not a problem, but how about a directory/folder.
    The Directory/folder contains class's. My prog can run the class's from a Jlist, as long as I set the classpath directly by control panel user varaibles manully or by a Bat file running in the back ground.
    any crazy ideas I'll excecpt and give a bloody good try.
    I tried.
    Class-Path: C:/bb/
    Class-Path:C/bb
    Class-Payh:bb
    Class-Path:bb/
    Class-Path: \bb\
    Class-Path:bb\ Not to sure if I've tried this, ttto many beers cans drunk at this stage.
    Friday night is beer night.
    WHAT am I doing wrong, or doing that can't be done with a JManifestMF file.
    Maybe Wrapper, and not the type that turn decks, and look at very low cameras while singing.

    If I open Font Book, and choose named font, I can see a list of symbols, e.g.
    If I open Character Viewer, and switch to Pictographs, I can see something like this
    so I assume that named font includes chars in the category Pictographs, which you can use at ease, I hope.
    If you need them frequently, you may create your custom keyboard layout, if you wish this, come back with what you wish.
    Screenshots are in Lion, but the procedure is the same, I hope.

  • How do i create a directory in powershell

    How do i create a directory in power shell

    Hi JRC,
    have youi got some experenance using powershell? please read the documentation md is an alias for the new-item command. whereas mkdir is implemented as a function (powershell v2) so you are able to use the new-item command in order to create a new folder.
    because both command md and mkdir calls new-item.
    If you don´t specifiy a parametername then it´s up to the cmdlet definition as what parameter this value is interpreted.
    get-help new-item lists all available cmlet executables.
    regards Thomas Paetzold visit my blog on: http://sus42.wordpress.com
    'Folder" is NOT an argument for the ItemType.  ItemType only takes "file" and "Directory"
    Hi,
    use this command
    new-item -Name <foldername> -ItemType folder
    regards Thomas Paetzold visit my blog on: http://sus42.wordpress.com
    This is what we get:
    17:47 PS>new-item -Name e:\tests\testfolder -ItemType folder
    New-Item : The type is not a known type for the file system. Only "file" and "directory" can be specified.
    At line:1 char:9
    + new-item <<<<  -Name e:\tests\testfolder -ItemType folder
        + CategoryInfo          : InvalidArgument: (:) [New-Item], PSArgumentException
        + FullyQualifiedErrorId : Argument,Microsoft.PowerShell.Commands.NewItemCommand
    ¯\_(ツ)_/¯

  • How do I set Home Directory in media browser?

    I've tried everything.
    How can I chose what directory wiill be my "Home Directory" in the media browser portion of my CS5 Prem Pro?  I want to change it from the directory that it goes to when you click on Home Directory.
    Assistance will be appreciated.

    On a Mac fonts are set at Appearance in Preferences (Options)

  • How do I get the directory name that a class is located in?

    How do I get the directory name that a class is located in? I have a class located under /com/dhcmc and I want to be able to retrieve the "/com/dhcmc" that the class is residing under so that I can then use this directoy name to build a relative path name for the other directories supporting the application such as the images directory etc i.e.
    |---com
    |   \---dhcmc       (my class resides here)
    |       +---images  (supporting app dirs under the class dir)
    |       +---config  (supporting app dirs under the class dir)

    You can try the methods.
    Class.getClassLoader()
    Class.getResourceAsStream()
    Class.getResource()
    You probably wont get the complete directory path, but you might
    be able to load the files relative to your classes directory.

  • How to add a user directory in oracle e-business?

    Dear all,
    How can I add user directory (for interface purpose) in utl_file_dir?
    Please advice.
    Thanks.

    Just the same way you create a directory in a standalone database.
    How to Copy , Rename , Delete a File And Create a Directory in PL/SQL in Oracle 8i and higher [ID 282190.1]
    Using CREATE DIRECTORY Instead of UTL_FILE_DIR init.ora Parameter [ID 196939.1]
    Top Articles On Using UTL_FILE Package to Perform File I/O (UNIX) [ID 44307.1]
    CREATE DIRECTORY
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/statements_5007.htm#SQLRF01207
    Thanks,
    Hussein

Maybe you are looking for