JFileChooser remove "Files of type" textfield

Does anyone know what is the easiest way to hide the "Files of Type" textfield of JFileChooser?

I found a (not very nice) way to do it:
JFileChooser fileChooser = new JFileChooser();
customizeFileChooser(fileChooser);
public static void customizeFileChooser(Container cont){       
     //gets rid of label
     cont.getComponent(5).getAccessibleContext()
     .getAccessibleChild(1).getAccessibleContext()
     .getAccessibleChild(2).getAccessibleContext()
     .getAccessibleComponent().setVisible(false);
     //gets rid of text field
     cont.getComponent(5).getAccessibleContext()
     .getAccessibleChild(3).getAccessibleContext()
     .getAccessibleChild(2).getAccessibleContext()
     .getAccessibleComponent().setVisible(false);
}

Similar Messages

  • AppV 5 Remove File Type Association

    Hello,
    Could somebody tell me how I can remove File Type associations in AppV 5?
    I have imported and published an application, but I can't delete the file type associations.
    Thanks!

    You mean from the package itself? Open for Upgrade, go to Shortcuts and FTA's and delete whatever FTA's you want.
    Through the App-V Full Infra, in the console you can export the configuration under Advanced...make a copy of it and delete the FTA's from the XML file...then import and override the configuration but heads up...ensure you have another backup copy...messing
    with the XML can lead to a bad time...
    PLEASE MARK ANY ANSWERS TO HELP OTHERS Blog:
    rorymon.com Twitter: @Rorymon

  • Make "File name" and "Files of type" fields read-only in JFileChooser

    I try to make the "File name" and "Files of type" fields read-only in JFileChooser dialog. Anybody
    knows how to do? Thanks.

    You mean so the user can't choose the name of the file to open or save? Not much point in even using a JFileChooser, then, is there? Or did I misunderstand the question?

  • Removing file extension using REGEX

                    // User didn't add the XLS extension; add it automatically
                    if (file.getName ().lastIndexOf (".") > 0)
                        fileName = file.getName ().toLowerCase ().replaceAll (".*$", ".xls");
                        System.out.println ("*** ALREADY HAS AN EXTENSION ***");
                        System.out.println ("Renamed to " + fileName);
                    ...What I'm trying to do is remove a file extension from a string and add my own. For example, in my application, I'm checking to see if there is a period in the file.getName() string. If there is, I want to replace anything from the period on with nothing, but I don't think my regular expression is right.
    If I type in "file.txt", I get:
    *** ALREADY HAS AN EXTENSION ***
    Renamed to .xls.xls
    Basically, my regular expression is incorrect, but I don't see what I'm missing.

        private void saveFile ()
            useFileFilter (".xls", "Excel Files (*.xls)");
            String fileName;
            int returnVal = fc.showSaveDialog (this);
            if (returnVal == JFileChooser.APPROVE_OPTION)
                File file = fc.getSelectedFile ();
                if (file.getName ().endsWith (CustomFilter.getExtension()))
                    // User kept the XLS extension
                    fileName = file.getName ();
                    System.out.println ("Saving " + fileName);
                else
                    // User added their own extension; change it
                    if (file.getName ().lastIndexOf (".") != -1)
                        fileName = file.getName ().replaceAll ("\\..+", "") + CustomFilter.getExtension();
                        System.out.println ("*** ALREADY HAS AN EXTENSION ***");
                        System.out.println ("Renamed to " + fileName);
                    // User didn't add an extension; add it
                    else
                        fileName = file.getName () + CustomFilter.getExtension();
                        System.out.println ("*** Saving " + fileName);
            else
                System.out.println ("User cancelled the dialog.");
        }I found that your regex works best in this case.fileName = file.getName ().replaceAll ("\\..+", "") + CustomFilter.getExtension();If I try to save a file as tEsT.tar.gz, my output is:
    *** ALREADY HAS AN EXTENSION ***
    Renamed to tEsT.xls.
    If I used the other user's example:fileName = file.getName ().replaceAll ("\\.[^.]*$", "") + CustomFilter.getExtension();it wouldn't be correct. If I entered a filename such as tEsT.tar.gz, my output would be:
    *** ALREADY HAS AN EXTENSION ***
    Renamed to tEsT.tar.xls

  • Itunes 10.6.1.7 problem: when I change the file "media type" from 'Music' to 'Podcast' the file disapears from ITUNES. I do this via (1) right click, (2) select 'Get Info', (3) select 'options' tab, and (4) change media type. What is the problem?

    Itunes 10.6.1.7 problem: when I change the file "media type" from 'Music' to 'Podcast' the file disapears from ITUNES. I do this via (1) right click, (2) select 'Get Info', (3) select 'options' tab, and (4) change media type. What is the problem?

    Hi Memalyn
    Essentially, the bare issue is that you have a 500GB hard drive with only 10GB free. That is not sufficient to run the system properly. The two options you have are to move/remove files to another location, or to install a larger hard drive (eg 2TB). Drive space has nothing to do with SMC firmware, and usually large media files are to blame.
    My first recommendation is this: download and run the free OmniDiskSweeper. This will identify the exact size of all your folders - you can drill down into the subfolders and figure out where your largest culprits are. For example, you might find that your Pictures folder contains both an iPhoto Library and copies that you've brought in from a camera but are outside the iPhoto Library structure. Or perhaps you have a lot of purchased video content in iTunes.
    If you find files that you KNOW you do not need, you can delete them. Don't delete them just because you have a backup, since if the backup fails, you will lose all your copies.
    Don't worry about "cleaners" for now - they don't save much space and can actually cause problems. Deal with the large file situation first and see how you get on.
    Let us know what you find out, and if you manage to get your space back.
    Matt

  • How to remove file attachments using the SDK

    I am looking for ways to programmatically remove file attachments from work items.  If I recall correctly, the system only keeps the file for as long as the relationship exists, so that, in theory, the file is deleted from the database a soon as the
    relationship is removed.
    I found this
    Using the SDK to Create and Edit Objects and Relationships Using Type Projections
    Is this the only way or are the other, simpler ways for deleting relationships and/or file attachments?
    Is this something I could do with the Orchestrator Remove Relationship activity?
    A little background on this question: I have multiple different teams with varying data retention requirements for Service Requests.  My longest requirement is 3 years (audit) while most teams only require 90 days.  I was looking to add in some
    jobs for some more aggressive file attachment grooming to keep the database smaller.
    Thanks.

    The relationship is defined as a membership/containment relationship. So, yes, if you delete the relationship, the file attachment (and the associated blob) are deleted as well.
    Based on the background you described, I'm assuming you identify a bunch of work orders whose files you want to delete if they're older than X. So, for instance "Work Items with Y team; delete file attachments older than 90 days", "Work Items
    with Q team; delete file attachments older than 3 years". Is that right?
    If so, you don't necessarily need to delete relationships specifically...you can simply delete the file attachment objects which will delete the relationship, the file attachment object, and the associated blob (the file itself in the database).
    Using the SDK, you will not need type projections for this. You'll only need the work item object(s) (an incident or service request or whatever), the GetRelatedObjects<>() method, and an IncrementalDiscoveryData object.
    So, after you get all of the appropriate work items, you can use the following snippet to delete their file attachments if the attachments meet your age requirements
    //Connect to the management group
    String strMySCSMServer = "<my mgmt server>";
    emg = new EnterpriseManagementGroup(strMySCSMServer);
    IncrementalDiscoveryData idd = new IncrementalDiscoveryData();
    ManagementPackRelationship relWorkItemHasFileAttachment = emg.EntityTypes.GetRelationshipClass(new Guid("AA8C26DC-3A12-5F88-D9C7-753E5A8A55B4")); //System.WorkItemHasFileAttachment
    //Get the work item's related file attachments using it's Id
    Guid myWorkItemGuid = new Guid("<some work item guid>");
    IList<EnterpriseManagementObject> lstFileAttachments = emg.EntityObjects.GetRelatedObjects<EnterpriseManagementObject>(myWorkItemGuid, relWorkItemHasFileAttachment, TraversalDepth.OneLevel, ObjectQueryOptions.Default);
    //Loop through each file attachment
    foreach (EnterpriseManagementObject emoFile in lstFileAttachments)
    //Determine its age
    DateTime AddedDate = (DateTime)emoFile[null, "AddedDate"].Value;
    TimeSpan FileAttachmentAge = AddedDate.Subtract(DateTime.Now);
    //Prep the file attachment for deletion if it's old enough, in this example, older than 90 days
    if (FileAttachmentAge.Days > 90)
    idd.Remove(emoFile);
    //Submit the deletions to the database.
    idd.Commit(emg);

  • [1.2.0.29.98] connection with files of type plsqlnode

    Hi,
    open a file of type plsqlnode. choose connection with the selector in the right top corner doesn't work. nothing happens. its possible to let a connection "appear" but it won't open or anything else. its just written there.
    press compile, there appears a dialog a "select connection" dialog. sqldev will compile with that connection ...
    however, i couldn't find a way to choose another connection. even after i disconnected the choosen one, sqldev never asked me to choose any but just reconnected to the originally choosen one.
    Regards, Anita

    You're right. I've noticed it before but thought it was a hick-up.
    When selecting a connection, you notice the drop down doesn't accept; you'll have to double click to get it to close. Nevertheless, as said before, that doesn't help to really connect to the chosen connection.
    Then I tried closing the open file through the "x" on the tab, but sqldev just hung!
    I noticed 2 times this same exception in the console:
    Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: java.lang.S
    tring cannot be cast to javax.swing.JLabel
    at oracle.dbtools.raptor.plsql.PLSQLEditorToolbar$1.itemStateChanged(PLS
    QLEditorToolbar.java:107)
    at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1207)
    at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1255)
    at javax.swing.JComboBox.contentsChanged(JComboBox.java:1311)
    at javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.j
    ava:100)
    at javax.swing.DefaultComboBoxModel.setSelectedItem(DefaultComboBoxModel
    .java:88)
    at javax.swing.JComboBox.setSelectedItem(JComboBox.java:559)
    at javax.swing.JComboBox.setSelectedIndex(JComboBox.java:605)
    at javax.swing.plaf.basic.BasicComboPopup$Handler.mouseReleased(BasicCom
    boPopup.java:814)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:2
    73)
    at java.awt.Component.processMouseEvent(Component.java:6038)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
    at javax.swing.plaf.basic.BasicComboPopup$1.processMouseEvent(BasicCombo
    Popup.java:480)
    at java.awt.Component.processEvent(Component.java:5803)
    at java.awt.Container.processEvent(Container.java:2058)
    at java.awt.Component.dispatchEventImpl(Component.java:4410)
    at java.awt.Container.dispatchEventImpl(Container.java:2116)
    at java.awt.Component.dispatchEvent(Component.java:4240)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
    at java.awt.Container.dispatchEventImpl(Container.java:2102)
    at java.awt.Window.dispatchEventImpl(Window.java:2429)
    at java.awt.Component.dispatchEvent(Component.java:4240)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
    ad.java:273)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
    java:183)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
    ad.java:173)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    java.lang.ClassCastException: java.lang.String cannot be cast to javax.swing.JLa
    bel
    at oracle.dbtools.raptor.plsql.PLSQLEditorToolbar$1.itemStateChanged(PLS
    QLEditorToolbar.java:107)
    at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1207)
    at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1255)
    at javax.swing.JComboBox.contentsChanged(JComboBox.java:1311)
    at javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.j
    ava:100)
    at javax.swing.DefaultComboBoxModel.setSelectedItem(DefaultComboBoxModel
    .java:88)
    at oracle.dbtools.raptor.controls.DBConnectionComboBox.setCurrentConnect
    ion(DBConnectionComboBox.java:61)
    at oracle.dbtools.raptor.plsql.PLSQLEditorToolbar$2.update(PLSQLEditorTo
    olbar.java:122)
    at oracle.ide.model.IdeSubject.notifyObservers(IdeSubject.java:94)
    at oracle.ide.model.Node.notifyObservers(Node.java:495)
    at oracle.dbtools.raptor.plsql.PLSQLController.handleEvent(PLSQLControll
    er.java:234)
    at oracle.ide.controller.IdeAction.performAction(IdeAction.java:551)
    at oracle.ide.controller.IdeAction$2.run(IdeAction.java:804)
    at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:82
    3)
    at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:521)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:19
    95)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.jav
    a:2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
    .java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL
    istener.java:236)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:2
    72)
    at java.awt.Component.processMouseEvent(Component.java:6038)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
    at java.awt.Component.processEvent(Component.java:5803)
    at java.awt.Container.processEvent(Container.java:2058)
    at java.awt.Component.dispatchEventImpl(Component.java:4410)
    at java.awt.Container.dispatchEventImpl(Container.java:2116)
    at java.awt.Component.dispatchEvent(Component.java:4240)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
    at java.awt.Container.dispatchEventImpl(Container.java:2102)
    at java.awt.Window.dispatchEventImpl(Window.java:2429)
    at java.awt.Component.dispatchEvent(Component.java:4240)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
    ad.java:273)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
    java:183)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
    ad.java:173)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    Another Swing related issue!
    Is this related to these swing provoked unrecoverable lock-ups?
    Java Deadlock
    [b]BUG: Unrecoverable lock-up[/b] - Hang on enableDbmsOutput
    Here's the thread dump after sqldev hung:
    "Timer-10" prio=6 tid=0x37920000 nid=0x5dc in Object.wait() [0x3ad3f000..0x3ad3f
    a94]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:485)
    at java.util.TimerThread.mainLoop(Timer.java:483)
    - locked <0x13cc5a00> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "Timer-9" prio=6 tid=0x35f2f400 nid=0x1f4 in Object.wait() [0x3ab3f000..0x3ab3fb
    94]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:485)
    at java.util.TimerThread.mainLoop(Timer.java:483)
    - locked <0x13cc5a88> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "Timer-8" prio=6 tid=0x37d63400 nid=0x6d4 in Object.wait() [0x3a93f000..0x3a93fc
    94]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:485)
    at java.util.TimerThread.mainLoop(Timer.java:483)
    - locked <0x13ae3678> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "Timer-7" prio=6 tid=0x36a56000 nid=0x27c in Object.wait() [0x3a73f000..0x3a73fd
    94]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:485)
    at java.util.TimerThread.mainLoop(Timer.java:483)
    - locked <0x13ae3700> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "WaitCursorTimer" daemon prio=6 tid=0x35f24800 nid=0x6bc in Object.wait() [0x3a2
    3f000..0x3a23fd14]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:485)
    at java.util.TimerThread.mainLoop(Timer.java:483)
    - locked <0x13a7dd30> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "Timer-5" prio=6 tid=0x37c66400 nid=0x6d0 in Object.wait() [0x3a13f000..0x3a13fb
    14]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:485)
    at java.util.TimerThread.mainLoop(Timer.java:483)
    - locked <0x138915e0> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "Timer-4" prio=6 tid=0x37c64c00 nid=0x4a8 in Object.wait() [0x39f3f000..0x39f3fc
    14]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:485)
    at java.util.TimerThread.mainLoop(Timer.java:483)
    - locked <0x13891668> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "Thread-8" prio=6 tid=0x37971800 nid=0x684 runnable [0x00000000..0x0189fb74]
    java.lang.Thread.State: RUNNABLE
    "WeakDataReference polling" prio=2 tid=0x3683c400 nid=0x658 in Object.wait() [0x
    39e3f000..0x39e3fa94]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
    - locked <0x13326998> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
    at oracle.ide.util.WeakDataReference$Cleaner.run(WeakDataReference.java:
    88)
    at java.lang.Thread.run(Thread.java:619)
    "Timer-3" prio=6 tid=0x37e01400 nid=0x648 in Object.wait() [0x39b3f000..0x39b3fc
    14]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x13294e40> (a java.util.TaskQueue)
    at java.lang.Object.wait(Object.java:485)
    at java.util.TimerThread.mainLoop(Timer.java:483)
    - locked <0x13294e40> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "Timer-2" prio=6 tid=0x37dce800 nid=0x694 in Object.wait() [0x3993f000..0x3993fd
    14]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x13295460> (a java.util.TaskQueue)
    at java.lang.Object.wait(Object.java:485)
    at java.util.TimerThread.mainLoop(Timer.java:483)
    - locked <0x13295460> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "Log Page Updater" prio=4 tid=0x3792e400 nid=0x314 waiting on condition [0x3873f
    000..0x3873fa94]
    java.lang.Thread.State: TIMED_WAITING (sleeping)
    at java.lang.Thread.sleep(Native Method)
    at oracle.dbtools.migration.workbench.core.ui.MigrationTreeTableLogPage$
    5.run(MigrationTreeTableLogPage.java:622)
    "IconOverlayTracker Timer" prio=6 tid=0x36c90400 nid=0x4cc in Object.wait() [0x3
    863f000..0x3863fb14]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:485)
    at java.util.TimerThread.mainLoop(Timer.java:483)
    - locked <0x12c56738> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "Timer-0" prio=6 tid=0x379bdc00 nid=0x71c in Object.wait() [0x3823f000..0x3823fd
    14]
    java.lang.Thread.State: TIMED_WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.util.TimerThread.mainLoop(Timer.java:509)
    - locked <0x12bf40c0> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "TimerQueue" daemon prio=6 tid=0x35f39800 nid=0x724 in Object.wait() [0x3738f000
    ..0x3738fb14]
    java.lang.Thread.State: TIMED_WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at javax.swing.TimerQueue.run(TimerQueue.java:236)
    - locked <0x12887f10> (a javax.swing.TimerQueue)
    at java.lang.Thread.run(Thread.java:619)
    "AWT-Windows" daemon prio=6 tid=0x36b75c00 nid=0x718 runnable [0x3707f000..0x370
    7fc94]
    java.lang.Thread.State: RUNNABLE
    at sun.awt.windows.WToolkit.eventLoop(Native Method)
    at sun.awt.windows.WToolkit.run(WToolkit.java:290)
    at java.lang.Thread.run(Thread.java:619)
    "AWT-Shutdown" prio=6 tid=0x36b75000 nid=0x714 in Object.wait() [0x36f7f000..0x3
    6f7fd14]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:485)
    at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259)
    - locked <0x1285ab20> (a java.lang.Object)
    at java.lang.Thread.run(Thread.java:619)
    "Java2D Disposer" daemon prio=6 tid=0x36b5ac00 nid=0x710 in Object.wait() [0x36e
    7f000..0x36e7fd94]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
    - locked <0x1285abb8> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
    at sun.java2d.Disposer.run(Disposer.java:125)
    at java.lang.Thread.run(Thread.java:619)
    "Low Memory Detector" daemon prio=6 tid=0x35effc00 nid=0x6e0 runnable [0x0000000
    0..0x00000000]
    java.lang.Thread.State: RUNNABLE
    "CompilerThread0" daemon prio=6 tid=0x35efb000 nid=0x630 waiting on condition [0
    x00000000..0x3656f798]
    java.lang.Thread.State: RUNNABLE
    "Attach Listener" daemon prio=6 tid=0x35ef9c00 nid=0x614 runnable [0x00000000..0
    x00000000]
    java.lang.Thread.State: RUNNABLE
    "Signal Dispatcher" daemon prio=6 tid=0x35ef9000 nid=0x6a8 waiting on condition
    [0x00000000..0x00000000]
    java.lang.Thread.State: RUNNABLE
    "Finalizer" daemon prio=8 tid=0x35ee6400 nid=0x688 in Object.wait() [0x3626f000.
    .0x3626fd14]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
    - locked <0x1279ac38> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
    at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
    "Reference Handler" daemon prio=6 tid=0x35ee5400 nid=0x64c in Object.wait() [0x3
    616f000..0x3616fc94]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:485)
    at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
    - locked <0x1279acc8> (a java.lang.ref.Reference$Lock)
    "main" prio=6 tid=0x01938400 nid=0x52c waiting on condition [0x00000000..0x0012f
    b44]
    java.lang.Thread.State: RUNNABLE
    "VM Thread" prio=6 tid=0x35ee2000 nid=0x128 runnable
    "VM Periodic Task Thread" prio=6 tid=0x35f1a800 nid=0x2d4 waiting on condition
    JNI global references: 1531
    Heap
    def new generation total 2304K, used 1369K [0x10020000, 0x102a0000, 0x1278000
    0)
    eden space 2048K, 65% used [0x10020000, 0x10170c58, 0x10220000)
    from space 256K, 8% used [0x10220000, 0x102258e8, 0x10260000)
    to space 256K, 0% used [0x10260000, 0x10260000, 0x102a0000)
    tenured generation total 29936K, used 22271K [0x12780000, 0x144bc000, 0x30020
    000)
    the space 29936K, 74% used [0x12780000, 0x13d3feb8, 0x13d40000, 0x144bc000)
    compacting perm gen total 36608K, used 36504K [0x30020000, 0x323e0000, 0x34020
    000)
    the space 36608K, 99% used [0x30020000, 0x323c63a0, 0x323c6400, 0x323e0000)
    No shared spaces configured.
    Please guys, bug & fix these issues!
    Thanks,
    K.

  • Data Log File Refnum Type Def Bug??

    Hello,
    I just found some quirky behaviour (LV 7.1.1):
    1. In the attached LLB, open "RefnumVI.vi"
    2. Select the Data Log File Refnum control and open it for editing (Edit - Customize Control ... from the menu)
    3. Close "RefnumVI.vi" but leave "Refnum.ctl" open
    4. Select the enum inside the refnum container, and open it
    5. Select File - Save As ... and save the enum as "RefnumEnum2.ctl"
    6. Close the enum
    7. Save "Refnum.ctl", and close it
    8. Reopen "RefnumVI.vi" and display its hierarchy (Browse - Show VI Hierarchy from the menu)
    Notice that "RefnumVI.vi" still has a link to "RefnumEnum.ctl", even though we saved this as "RefnumEnum2.ctl" earlier.
    If you go back to the VI, right click on the refnum, and replace it with itself (i.e. select "Refnum.ctl"), the link disappears.
    This behaviour does not happen if I use a Cluster instead of a Data Log File Refnum.  I imagine the difference is that the calling VI needs to know about the structure of the data log file in ways it doesn't need to know about the structure of a cluster, but this still is very counter-intuitive behaviour.  Is this really expected?  Or is it a bug?  Is there any other way to remove the link?
    Cheers,
    Jaegen
    Attachments:
    RefnumEnumBug.llb ‏22 KB

    Nathan,
    Thanks for your response - I have 8.2 and am in the process of evaluating how/when to upgrade.
    Does this mean that the compiler/linker is behaving differently depending on where you open a type def from?  The reason I'm asking is that I've seen similar behavior when editing a hierarchy of type defs; depending on how I open the low-level type def I'm actually editing, changes will or won't get propagated to other instances properly.
    Regarding this actual problem, the issue I had is that the data log file refnum type def exists on many VIs, and thus the incorrect link now exists on many VIs, and I don't see any way of correcting the problem without manually replacing the type def with itself in every location (given there's no "Replace All" feature in LV 7.1.1 ).  However, the hierarchy I'm dealing with was only created for testing, so I don't actually need to fix it .  I'll just know to avoid causing this problem in the first place in the future.
    Jaegen

  • Error message pops up:  url files of type "file:" are not supported.  How can I get rid of this?

    Error message pops up:  url files of type "file:" are not supported.  How can I get rid of this?

    Open the Time Machine pane in System Preferences. If it shows that Time Machine is ON, click the padlock icon in the lower left corner, if necessary, to unlock it. Scroll to the bottom of the list of backup drives and click Add or Remove Backup Disk. Remove all the disks, then add them back. Quit System Preferences. Test.

  • Prelude software update caused Norton anti virus to remove file

    Hi,
    My version of prelude was updated today by the automatic software update system.
    During installation, my Norton 360 anti virus system identified the following file as a threat and removed it:
    Any one got any advice?
    thanks
    Chris Anderson
    Full Path: c:\program files (x86)\adobe\adobe prelude cs6\mc_enc_dv.dll
    Threat: Suspicious.Cloud.7.F
    On computers as of Not Available
    Last Used 28/05/2012 at 22:39:37
    Startup Item No
    Launched No
    Unknown
    Number of users in the Norton Community that have used this file: Unknown
    Unknown
    This file release is currently not known.
    High
    This file risk is high.
    Threat Details
    Threat type: Heuristic Virus. Detection of a threat based on malware heuristics.
    File Actions
    File: c:\program files (x86)\adobe\adobe prelude cs6\mc_enc_dv.dll
    Removed
    File Thumbprint - SHA:
    c100739136c152fe596a851635a0644c88daa231396bc29acb5b883f7029212c
    File Thumbprint - MD5:
    abf68500798f002d97a8e282ff3e7b2b

    HI Preran,
    Thanks for your reply, I have read the thread but I am confused!
    Is the anti virus situation effecting this prelude problem also???
    Prelude wont run because it is missing a file mc_enc_dv.dll
    If i reinstall to gfet this back, norton will only dump it again.
    Why is this happening on the latest adobe software update?
    I havent changed anything on my PC, installed softaere or codecs or anything, all I did was
    allow adobe to update
    I also have the probelm with Premiere loading taking 3 mins or so - is this related to the same issue?
    Help!
    Chris Anderson

  • Shell to remove files of two days ago or later

    Hello experts and gurus,
    can someone tell me where can I find a documentation or web page that shows an easy and simple way to remove old files by date (for example, remove files older than 2 days: for example, if today is monday, I need to remove files from saturday or later). I researched but didn't find it. I am not shell script expert, but I'm studying linux.
    Many thanks,

    There was actually no need to limit the search results to regular files and then remove directories and their contents recursively. The find command has a few action commands built-in, which does not need to pass results to an external program for processing. Please see the following:
    Terminal - Example
    # su - dude
    $ touch testFile1 testfile2 TESTfile3
    $ find ./ -type f -iname 'testfile*' -ls -delete
    261742    0 -rw-rw-r--   1 dude     dude            0 Nov 28 08:41 ./testfile2
    261747    0 -rw-rw-r--   1 dude     dude            0 Nov 28 08:41 ./TESTfile3
    261689    0 -rw-rw-r--   1 dude     dude            0 Nov 28 08:41 ./testFile1
    $ find ./ -type f -name "testfile*" -ls -delete
    $
    Also note the effect of single and double quoting the find name argument and command line globbing, which many Linux/Unix system administrators with a MS Windows background may not be aware off. The shell resolves wildcards and variables rather than passing the argument to the find command unless it is single quoted:
    Terminal - Example
    $ touch 'test$File1' 'test$file2' 'TEST$file3'
    $ mkdir test
    $ find ./ -type f -iname 'test$file*' -ls
    261689    0 -rw-rw-r--   1 dude     dude            0 Nov 28 08:53 ./test$File1
    261747    0 -rw-rw-r--   1 dude     dude            0 Nov 28 08:53 ./TEST$file3
    261742    0 -rw-rw-r--   1 dude     dude            0 Nov 28 08:53 ./test$file2
    $ find ./ -type f -iname test$file* -ls
    find: paths must precede expression: test$File1
    $ strace find ./ -type f -iname test$file* -ls
    execve("/bin/find", ["find", "./", "-type", "f", "-iname", "test", "test$File1", "test$file2", "-ls"]
    $ strace find ./ -type f -iname 'test$file*' -ls
    execve("/bin/find", ["find", "./", "-type", "f", "-iname", "test$file*", "-ls"]
    $ strace find ./ -type f -iname "test$file*" -ls
    execve("/bin/find", ["find", "./", "-type", "f", "-iname", "test*", "-ls"]

  • Probs. with transformation - Jdev removing "file:"

    Hi,
    Somehow Jdev removes "file:"in the spec part (see below)of all our transformation - and refuses to open the transformation in design mode.
    +&lt;mapSources&gt;+
    +&lt;source type="WSDL"&gt;+
    +&lt;schema location="{color:#ff0000}*file:*{color}/r:/repository/contracts/D4_CM_MAIN_1.wsdl"/&gt;+
    +&lt;rootElement name="runRequest" namespace="http://www.readsoft.com/D4/CM/D4_MAIN/1"/&gt;+
    +&lt;/source&gt;+
    +&lt;/mapSources&gt;+
    +&lt;mapTargets&gt;+
    +&lt;target type="WSDL"&gt;+
    +&lt;schema location="{color:#ff0000}*file:*{color}/r:/repository/contracts/D4_CM_RECEIVING_1.wsdl"/&gt;+
    +&lt;rootElement name="runRequest" namespace="http://www.readsoft.com/D4/CM/D4_RECEIVING/1"/&gt;+
    +&lt;/target&gt;+
    +&lt;/mapTargets&gt;+
    Could anyone explain this?
    Rgds, Henrik

    This doesn't look like best practice. When you say HTML root directory, it sounds like you have a HTML server to mange this wsdl files why don't you use the url.
    Otherwise you need to ensure that the directory path and drive matches the production server.
    I'm not familiar with this functionality but you could try file:/// but I would stick to importing or using the URL
    cheers
    James

  • Simple bash script in SL to remove files

    1. SL on MBP
    2. launch Terminal
    3. pico remove-files
    4. in my script are two simple rm /path to file type statements
    5. save file in user/bin directory
    6. type name of command
    7. get "command not found" error
    no wonder 99.9999% of the world doesnt program - why doesnt this simple setup work right ?

    Chris Chamberlain1 wrote:
    just guessing, if it type ./remove-files this script works.
    That's the traditional way to invoke a program or command file if its location is not in your path. If that file is in /usr/bin and /usr/bin is in your path, I'm not sure why your situation doesn't work. On my Mac the directory bin in /usr is owned by root:wheel. If yours is the same, how did you manage to create your script there without permission manipulations? What exactly did you mean when you first mentioned "save file in user/bin directory"? Did you really mean /usr/bin or something else? If you meant some other location, you might want to add that location to your path with this command:
    PATH=yourotherdirectory:$PATH

  • HT201177 How Do I Remove Files From My Start-Up Disk?

    Can someone tell me how to remove files from my start up disk?

    Your startup volume is full. First, reboot. That will temporarily free up some space. According to Apple documentation, you need at least 9 GB free for normal operation. You also need enough space left over to allow for growth of your data.
    Use a tool such as OmniDiskSweeper to explore your volume and find out what's taking up the space.
    Proceed further only if the problem hasn't been solved.
    ODS can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To really see everything, you have to run it as root.
    First, back up all data if you haven't already done so. No matter what happens, you should be able to restore your system to the state it was in at the time of that backup.
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ If you’re running Mac OS X 10.7 or later, open LaunchPad. Click Utilities, then Terminal in the page that opens.
    After installing ODS in the Applications folder, drag or copy — do not type — the following line into the Terminal window, then press return:
    sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper
    You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up.
    I don't recommend that you make a habit of this. Don't delete anything while running ODS as root. When you're done with it, quit it and also quit Terminal.

  • Removing files from the iTunes list of Pages documents

    I frequently transfer document files to my iPad for Pages from iTunes, and the file list is becoming large and cumbersome. Is there any way to delete documents from the Pages file share list in iTunes? Scrolling to bring a new document into Pages is becoming ridiculous. I'd love to remove files I'm no longer interested in sharing from that list.

    HI,
    Try here.
    iPad: About File Sharing
    Carolyn

Maybe you are looking for

  • Creating BADI for datasource enhancement in CRM system

    Hi, I am working on SAP BI/BW. This is the first time I am working in CRM system with CRM datasources. Facing some problem for datasource enhancement as never done it before in the CRM system. Is there anyone who can help in in creating BADI for data

  • Have I Been Compromised? iYogi Scam!

    Hi I did a very stupid thing. In multitasking many issues I needed to talk to Belkin support. I googled them and without paying attention I clicked on the topmost (paid ad) link. Not paying attention I got typical bangalore? tech support. All I wante

  • XI SOAP adapter vs webservice testing tools

    Actually I have creted simple xslt mapping and managed to come up with exactly in the format of endpoint request format of the webservice. here is the payload( I have created the SOAP Envelop, Header and body in the payload) <?xml version="1.0" encod

  • AMD board choices

    Looking to get my first AMD chip this weekend and can use some help picking a MSI board to run the chip. Anyways i narrowed my choice to the AMD Athlon II X4 620 Propus 2.6GHz processor. I found some micro boards that should work and i want the optio

  • External Function with a Pointer to a Callback Function Inside a DLL

    Hi. I'm loading a DLL and trying to call a function with the following prototype: Func1(HANDLE, hHandle, LPVOID (*pCallback)(UINT, UINT LPVOID), CHAR* sPath) Now, I have no problem with the variable types, because CVI 9.0.1 recognizes all of them and