Detect if JPanel is in the active frame or focused window

Hi,
I have JPanel, and I want to determine if it is in an active JInternalFrame (isSelected() == true), or if its frame or dialog has focus.
I know I can use the KeyboardFocusManager, so do I just search up the container heirarchy looking for the focus owner?

I found that it keeps looking up and up the heirarchy untl it hits the top-level container, so there are cases where you have two internal frames (one active, one deactiveated), and both return true since their parent is the active window. I found a similar way:
// This fragment stops at the active frame, and won't search its parent.
return SwingUtilities.isDescendingFrom(this, manager.getPermanentFocusOwner());Thanks for your help!

Similar Messages

  • What is the right way to change the active JInternalFrame for and MDI app?

    I am working on my own implementation of the window menu. The action that is triggered when a customer chooses a window to activate from the list in the menu is not behaving as I expected. The code I wrote (below) switches frames correctly but the caption bar never gets updated and if you restore a frame from an icon the frame is not correctly activated, there is even a restore button which if you push fixes things up and the frame then behaves normally     if (frameToActivate.isIcon ())  {
              //  Restore from icon
              desktopPane().getDesktopManager().deiconifyFrame (frameToActivate);
         desktopPane().getDesktopManager().activateFrame (frameToActivate);
         desktopPane().setSelectedFrame (frameToActivate);I did a search of the web and found a tip on JavaWorld (http://www.javaworld.com/javaworld/jw-05-2001/jw-0525-mdi.html) which led me to try doing this from a different angle - the JInternalFrame's point of view. This code works     try {
              if (frameToActivate.isIcon ())  {
                   //  Restore from icon
                   frameToActivate.setIcon (false);
              frameToActivate.moveToFront();
              frameToActivate.setSelected (true);
         } catch (PropertyVetoException error) {
              error.printStackTrace();
         }My question is why does the desktop based approach not work? If methods exist that appear to let you restore and switch between frames why are the ineffective? Am I missing something obvious that I should be doing?
    If using the JInternalFrame methods is the right way to go then I will It just seems like if the DesktopManager has methods that advertise that is supports managing the active frame then they should work. Before I ignore them I want to check with you to see if there is a right way to use them.
    Ian

    So, this is another batch of duke dollars I cannot assign - since I solved my own problem:-)
    I had an epiphany and tried setting break points to see what code was executed when you click on an inactive frame. From that I determined that DefaultDesktopManager.activateFrame, as implemented, does not activate the frame but acknowledges the activation of a frame and does a small amount of bookeeping work for the DesktopManager. So, the solution is the code I wrote to switch focus using the JInternalFrame's methods. Since I did not want to have to write those nine lines of code in the couple of places I want to programmatically switch the active frame I added a get/setActiveFrame method to my JDesktopPane derivative. In case others face this problem here is the code (warning I have not yet setup building the JavaDocs for this project so I cannot vouch for the validity of the JavaDoc, but the code does work):/**
    * Bring frameToActivate to the front (restoring from icon if neccessary) and make it the
    * selected frame.  This method does all the things required to switch the active frame for
    * an MDI application unlike: @link JDesktopPane.setSelectedFrame, which does not change the
    * focus; @link javax.swing.DefaultDesktopManager.activateFrame which does not correctly
    * handle iconified frames or switch the focus properly; and
    * @link javax.swing.JInternalFramesetSelected which also does not handle iconified frames.
    * @param frameToActivate the frame to bring to the front and become the active window
    * @throws IllegalArgumentException
    public void setActiveFrame (JInternalFrame frameToActivate) throws IllegalArgumentException  {
        if (frameToActivate == null)
            throw new IllegalArgumentException ("setActiveFrame a frame must be passed a non null valie.");
        try {
            if (frameToActivate.isIcon ())  {
                //  Restore from icon
                frameToActivate.setIcon (false);
            frameToActivate.moveToFront();
            frameToActivate.setSelected (true);
        } catch (PropertyVetoException error) {
    * This method returns the currently active frame.  This method returns the same frame
    * as <code>getSelectedFrame</code> and is provided for symetry for <code>setActiveFrame</code>. 
    * @return the currently active frame
    * @see LDesktopPane.setActiveFrame
    * @see javax.swing.JDesktopPane.getSelectedFrame
    public JInternalFrame getActiveFrame ()  {
        return getSelectedFrame ();
    }IL

  • BlackBerry Travel Active Frame bug

    The active frame shows the flight one day earlier than it actually is.
    Opening the app fully shows the date of the flight is correct.

    [email protected]
    Good input
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Got an (unlocked) iphone 4s from US and tried activating in India but it throws an error saying 'unable to activate bcos the activation server cannot be reached' ..I tried connecting to itunes through my laptop but it does not detect my iphone..pls help

    Got an (unlocked) iphone 4s from US and tried activating in India but it throws an error saying 'unable to activate bcos the activation server cannot be reached' ..I tried connecting to itunes through my laptop but it does not detect my iphone..pls help

    mithaani wrote:
    Got an (unlocked) iphone 4s from US
    As kb1951 states, unless this phone was purchased directly from Apple, it is not officially unlocked. In the US, only Apple sells officially unlocked iPhones. The message you got generally means your phone was hacked to unlock it...jailbroken...Apple's servers have detected such & are preventing your phone from activating...there's nothing wrong with the activation servers.
    You'll need a sim card from the carrier your phone is locked to in order to activate it. If you don't know what carrier, you'll have to call AppleCare in the US to determine this info. Be aware, US carriers will not authorize official unlocking unless you are a customer that used the phone on their network. Thus, there is most likely no way for you to get this phone officially unlocked.
    Good luck.

  • How can I detect if LabVIEW is the active (frontmost) Windows application?

    I need a way to figure out in LabVIEW 6.1 if LabVIEW is the "active" application in Windows. More specifically, I need to know if a user has switched to some other application besides LabVIEW. This needs to work on an EXE as well as VIs.

    I also ran into this issue. The previous post can be solved easily by the new event structures, but I need to check if a panel is the frontmost in windows as well.
    The FP.Is frontmost property returns if a panel is the frontmost Vi within Labview but not if Labview is the frontmost window in windows.
    I ran into this as I am making some stuff to use the scollwheel.
    As an example I have added two Vi's. Just load & run these, as long as Labview is active this works. But I would like to have something that switches the lights off when I select another Windows application.
    I (think I) cannot use the USER32.dll API as I reconstruct a reference to the 'owner vi' using a control reference.
    Anyone has some experience with this??
    Attachments:
    Vi-a.vi ‏7 KB
    Vi-b.vi ‏7 KB

  • When I try and print a web page in the print screen ALL the Print Frame options are greyed out. It won't let me print a page as I see it. I need to pring a page as is. How do I do it in the new 8.0??

    I go to print and try to select the radio button to print all frames, but It's not working

    The '''Print Frames''' options are greyed out unless the web page is made with Frames. I-Frames don't work the same.
    Check out this '''''frames test page''''' - http://www.draac.com/framestest.html <br />Is the '''Print Frames''' part of the print dialog box active?
    As far as printing a page as you see it, many web pages use '''print.css''' files for print-media. The print.css specifies exactly what is to be sent to the printer and it can control the formatting of the printed page.

  • How can I set a gap in a JTextField, before the active Textfield starts?

    Hi,
    how can I set a gap in a JTextField, before the active Textfield starts?
    I'll avoid, that the input text starts immediately after the border of the JTextField.
    Btw, how can I set the height of the JTextField in a BoxLayout?
    Thx.
    Hans

    Yes, that was also my thinking, but nothing happens.
    Maybe You have an idea :-)
    Thx, Hans
    Here a part of my code:
      private JPanel createEntry(String label, JTextField jtf, String initJtf, boolean editable) {
        jtf.setColumns(15);
        if (editable) {
          jtf.setEditable(true);
          jtf.setBackground(new Color(191, 191, 255));
        else {
          jtf.setEditable(false);
          jtf.setBackground(SystemColor.control);
        jtf.setText(initJtf);
        jtf.setForeground(Color.black);
        jtf.setBorder(BorderFactory.createLoweredBevelBorder());
        jtf.setMargin(new Insets(50, 20, 50, 40));   // <-  The PROBLEM
        JPanel panel = new JPanel();
        GridLayout gl = new GridLayout(1, 2);
        gl.setHgap(1);
        panel.setLayout(gl);
        panel.add(BxpCdmUtils.Utils.createLabel(label, Color.darkGray, Font.BOLD, 11));
        panel.add(jtf);
        JPanel superpanel = new JPanel();
        superpanel.setLayout(new BoxLayout(superpanel, BoxLayout.X_AXIS));
        superpanel.add(panel);
        superpanel.add(new JLabel(" "));
        return superpanel;
      }

  • Could not complete the video frames to layers command because the DynamicLink Media Server is not av

    I have this problem, I have PS CS6 and when I click on File> Import> Video Frames to Layers.. Next, the window that says "Initializing Video Import" starting to load and always get stuck and that's what appears: "Could not complete the video frames to layers command because the DynamicLink Media Server is not available". That's with aaaall the videos.
    PS: I've been trying with File> Open but that's what says "Could not complete your request because it is not the right kind of document"
    Anybody know what happens to my photoshop? Thx!

    The relevant auxiliary service/ helper app is being blocked and thus not launching,. anything from permissions issues to security tools getting in teh way. Check your Task Manager/ Activity Monitor, turn off security stuff, run as admin.
    Mylenium

  • Minumum and Maximum pointsize in the active document with font name

    hi
    How to find the font with point size in active document and how to get the minimum point size and maximum point size used in the active document with font name
    Thanks in Advance.

    Okay, that does look good (without testing it). Does it do its job?
    I think it can be made a bit more efficiently by not running over all text frames, but rather over all stories in the document -- a small change, the rest can stay the same.
    You can also try turning the gathering of used data around. It appears you are now pushing every item immediately into your array, then weed out duplicates. (For my thoughts on the latter, see below!) It might be quicker and more memory-efficient to scan your present array to see if the new item is already in there, and only push when it's not. (Bonus points for a binary tree implementation -- the fastest possible way! But a linear search on the entire array, or on a sorted array and bailing out if you go "past" the current item, may be fast enough.)
    (On Weeding out duplicates; you might want to skip this, as it won't be necessary for the above:)
    Your function UniteSame sorts out and removes duplicates by comparing every item to every other one; then it sorts the array. An alternative can be to
    1. Sort the array
    2. Create a new empty one
    3. Push an item of the original onto the new one.
    4. Skip items of the original list while they are the same as the bottom one of the new list.
    5. Until you run out of items.

  • Configuration frame pop out of the main frame - how to do (architecture) ?

    Hi,
    I have a main frame that upon it I have a config button I did.
    This button pop open another frame in which the user config some variables which I need to use in the main frame actions.
    What is the right way to do it? -
    1. in the main frame constructor to create a config frame and save it as a data member in the main frame with setVisibility false, and when the user press the 'config' button I'll change the visibility to true
    (and then if I want to take data from the config frame I'll take it from there)
    2. To save only the config data in data members (this is a small window - 3 or 4 variables) and every time the 'config' button is pressed I'll build a config frame and in its' constructor I'll send the variables I saved in the main frame
    and they will be shown in there (and ofcourse when the config frame will be closed I'll save the new variables in the data members and dispose the config frame)
    Thanks,
    Michael

    I have a little problem.
    I build my own class that extends JDialog (with check boxes, text areas etc.)
    Then I Created a JOptionPane with OK_CANCEL buttons set it as my dialog content pane.
    Now I see the the pane buttons at the top and all my components at the buttom, and its now good.
    So Instead of JDialog i extends my class to JPanel and then called
    'JOptionPane.showOptionDialog' , and set my panel as the message.
    Now it looks good but i have another problem -
    I want to do a validity check before the dialog is being closed.
    Before I did with 'addPropertyChangeListener' method on my JOptionPane, but now I dont have an OptionPane because the 'showOptionDialog' is static.
    So for conclusion -
    How can I build a dialog thats:
    1. Look like I want (text areas, check boxes, lables ...)
    2. Has OK\Cancel button
    3. Lets me do validity check after the ok was pressed (and if I want - wont close the dialog)
    4. Return me values from the dialog (the text in the text area, the selection of the check box etc.)

  • Movie after playing doesn't stop at the last frame.

    Movie after playing doesn't stop at the last frame but goes back to frame one. Movie stops normaly when played on iMac but makes trouble when placed in the iBooks Author. That's not eve problem of looping (repeat none). Help, this makes me mad.

    laura4life
    You have fragments (leftovers) beyond the end of the Timeline content that you intended.
    I am going from an Elements Windows workspace, so please translate into Mac accordingly.
    Expand your Timeline content to the maximum with the Zoom Out Zoom In slider above the Timeline.
    Press the End key of the computer keyboard. That should take the Timeline Indicator to the fragments which must be deleted.
    Explore all the tracks in that area.
    Repeat the End key press until the Timeline Indicator stops at the end of the intended Timeline and not some 3 hours afterward.
    What you find at "end of track" could be fragments or files that you moved out of the way of the active project and forgot were there.
    The fragments typically present as thin vertical black lines scattered about the tracks.
    Please let us know the outcome.
    Thank you.
    ATR

  • What is the max frame rate in depthFrame

    In v1.8, I remembered the frame rate can be up to 30fps in depthFrme. what is the max frame rate in depthFrame in the v2.0? And how can i set it? thx!

    Depth (and IR, body, face and HDface) frame rates are 30fps.
    Color is 30fps unless low light mode is detected then it automatically switches to 15fps.
    If you're using the multistream source it will stream at the lowest framerate from the chosen framesources.
    When you're using separate sources they all stream at their own fps rate.
    Frame rates can not be set by the user.
    Brekel

  • How to detect that we are on the current page while we r reading epub3?

    Hi Everyone,
    Im newer of using epub3. I'm trying to product an audio epub3 and i set display option "open-to-spread = true", when i slide first page, an audio will be played auto but for ibooks, when we slide first page, the second page already load before i open it. My question is that are there any way to detect that we are on current page?
    Sorry for my enlish language
    Thank in advance

    Hi Chen,
    I am not sure if you want to go to the stage when the storage-enabled node = 0 as this would force the data loss. My suggestion would be to check if the storage-enabled node in the Grid counts less than 5 or so.
    Re the ways, you can always start the reporter by using the system property -Dtangosol.coherence.management.report.autostart=true and you can always set the frequency to run the report. This report will keep all the JMX related data since the reporting is started. You can also run a background process that reads the Mbean and checks for the storage-enabled nodes. There are ways to do it using the shell script by polling the active PIDs on Storage enabled nodes.
    Hope this helps!
    Cheers,
    NJ

  • Is there a script to create a button to set an activated frame to document size + bleed?

    Please see my question above. Thanks in advance!

    Here is a script that creates a script that creates a button that sets an activated frame to document size + bleed.
    Why do you need a script to create a button that sets an activated frame to document size + bleed? You might as well have a script that sets an activated frame to document size + bleed, because you already need to double-click the script that sets an activated frame to document size + bleed and so there is no need to show another button that you can click to set an activated frame to document size + bleed in that.
    theScript = 'var w = new Window("dialog", "Reframe");\n'+
    'w.b = w.add("button", undefined, "Click me!");\n'+
    'w.b.onClick = function(){ w.close(3); };\n'+
    'if (w.show() == 3)\n'+
    '{\n'+
    'dp = app.activeDocument.documentPreferences;\n'+
    'app.selection[0].geometricBounds = [\n'+
    'app.layoutWindows[0].activePage.bounds[0]-dp.documentBleedTopOffset,\n'+
    'app.layoutWindows[0].activePage.bounds[1]-dp.documentBleedBottomOffset,\n'+
    'app.layoutWindows[0].activePage.bounds[2]+dp.documentBleedInsideOrLeftOffset,\n'+
    'app.layoutWindows[0].activePage.bounds[3]+dp.documentBleedOutsideOrRightOffset];\n'+
    writeFile = new File (app.activeScript.parent+'/new script.jsx');
    writeFile = writeFile.saveDlg( 'Save script', File.fs == "Windows" ? "Script:*.jsx,All files:*.*" : function(file) { return file instanceof Folder || (!(file.hidden) && file.name.match(/\.jsx$/i)); } );
    if (writeFile != null && writeFile.open("w"))
      writeFile.encoding = "utf8";
      writeFile.write (theScript);
      writeFile.close();

  • What meaNing is the error: "detected in native code outside the VM"

    Hi,
    I am trying to run dbca to create database(10.2.0.1 for Linux x86) in RHEL5 beta2, after I click the OK button on the parameter confirmon window, will display the Java exception:
    detected in native code outside the VM
    How resolve the problem?
    Thanks!

    Hi, Avi:
    The the "install forum" has reply me, but error is same. entire error message and stack trace as following, I no install JDK or JRE now, because I think the db10g already has a jre and some lib.
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : 11 occurred at PC=0x4A802D35
    Function=XFreeFontSet+0x15
    Library=/usr/lib/libX11.so.6
    Current Java thread:
    at sun.awt.motif.X11InputMethod.disposeXIC(Native Method)
    at sun.awt.motif.X11InputMethod.disposeImpl(X11InputMethod.java:662)
    - locked <0xa88b9d58> (a sun.awt.motif.X11InputMethod)
    at sun.awt.motif.X11InputMethod.dispose(X11InputMethod.java:689)
    at sun.awt.im.InputContext.dispose(InputContext.java:617)
    at java.awt.Window$1DisposeAction.run(Window.java:560)
    - locked <0xa88a2978> (a java.lang.Object)
    at java.awt.Window.dispose(Window.java:570)
    at java.awt.Dialog.disposeImpl(Dialog.java:638)
    at java.awt.Dialog.dispose(Dialog.java:634)
    at oracle.ewt.lwAWT.BufferedDialog.dispose(Unknown Source)
    at oracle.sysman.assistants.dbca.ui.SummaryDialog.actionPerformed(SummaryDialog.java:440)
    at oracle.ewt.button.PushButton.processActionEvent(Unknown Source)
    at oracle.ewt.button.PushButton.processEventImpl(Unknown Source)
    at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
    at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
    at oracle.ewt.button.PushButton.activate(Unknown Source)
    at oracle.ewt.lwAWT.AbstractButton.processMouseReleased(Unknown Source)
    at oracle.ewt.lwAWT.AbstractButton.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Component.java:4897)
    at java.awt.Container.processEvent(Container.java:1569)
    at oracle.ewt.lwAWT.LWComponent.processEventImpl(Unknown Source)
    at oracle.ewt.button.PushButton.processEventImpl(Unknown Source)
    at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
    at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Component.java:3615)
    at java.awt.Container.dispatchEventImpl(Container.java:1627)
    at java.awt.Component.dispatchEvent(Component.java:3477)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
    at java.awt.Container.dispatchEventImpl(Container.java:1613)
    at java.awt.Window.dispatchEventImpl(Window.java:1606)
    at java.awt.Component.dispatchEvent(Component.java:3477)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)
    at java.awt.Dialog$1.run(Dialog.java:540)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    Dynamic libraries:
    08048000-08056000 r-xp 00000000 08:06 883639 /usr/local/oracle/db10g/jdk/jre/bin/java
    08056000-08059000 rwxp 0000d000 08:06 883639 /usr/local/oracle/db10g/jdk/jre/bin/java
    4a61d000-4a636000 r-xp 00000000 08:01 493139 /lib/ld-2.5.so
    4a636000-4a637000 r-xp 00018000 08:01 493139 /lib/ld-2.5.so
    4a637000-4a638000 rwxp 00019000 08:01 493139 /lib/ld-2.5.so
    4a63a000-4a63c000 r-xp 00000000 08:06 9815341 /usr/lib/libXau.so.6.0.0
    4a63c000-4a63d000 rwxp 00001000 08:06 9815341 /usr/lib/libXau.so.6.0.0
    4a63f000-4a777000 r-xp 00000000 08:01 493140 /lib/libc-2.5.so
    4a777000-4a779000 r-xp 00137000 08:01 493140 /lib/libc-2.5.so
    4a779000-4a77a000 rwxp 00139000 08:01 493140 /lib/libc-2.5.so
    4a77f000-4a7a4000 r-xp 00000000 08:01 493147 /lib/libm-2.5.so
    4a7a4000-4a7a5000 r-xp 00024000 08:01 493147 /lib/libm-2.5.so
    4a7a5000-4a7a6000 rwxp 00025000 08:01 493147 /lib/libm-2.5.so
    4a7a8000-4a7aa000 r-xp 00000000 08:01 493141 /lib/libdl-2.5.so
    4a7aa000-4a7ab000 r-xp 00001000 08:01 493141 /lib/libdl-2.5.so
    4a7ab000-4a7ac000 rwxp 00002000 08:01 493141 /lib/libdl-2.5.so
    4a7ae000-4a7c1000 r-xp 00000000 08:01 493142 /lib/libpthread-2.5.so
    4a7c1000-4a7c2000 r-xp 00012000 08:01 493142 /lib/libpthread-2.5.so
    4a7c2000-4a7c3000 rwxp 00013000 08:01 493142 /lib/libpthread-2.5.so
    4a7dc000-4a7e1000 r-xp 00000000 08:06 9815342 /usr/lib/libXdmcp.so.6.0.0
    4a7e1000-4a7e2000 rwxp 00004000 08:06 9815342 /usr/lib/libXdmcp.so.6.0.0
    4a7e4000-4a8e2000 r-xp 00000000 08:06 9815343 /usr/lib/libX11.so.6.2.0
    4a8e2000-4a8e6000 rwxp 000fe000 08:06 9815343 /usr/lib/libX11.so.6.2.0
    4a8e8000-4a8f7000 r-xp 00000000 08:06 9815348 /usr/lib/libXext.so.6.4.0
    4a8f7000-4a8f8000 rwxp 0000e000 08:06 9815348 /usr/lib/libXext.so.6.4.0
    4a91d000-4a928000 r-xp 00000000 08:01 493149 /lib/libgcc_s-4.1.1-20061011.so.1
    4a928000-4a929000 rwxp 0000a000 08:01 493149 /lib/libgcc_s-4.1.1-20061011.so.1
    4aaf4000-4aafc000 r-xp 00000000 08:06 9815344 /usr/lib/libXrender.so.1.3.0
    4aafc000-4aafd000 rwxp 00007000 08:06 9815344 /usr/lib/libXrender.so.1.3.0
    4aaff000-4ab03000 r-xp 00000000 08:06 9815352 /usr/lib/libXfixes.so.3.1.0
    4ab03000-4ab04000 rwxp 00003000 08:06 9815352 /usr/lib/libXfixes.so.3.1.0
    4ab2f000-4ab38000 r-xp 00000000 08:06 9815353 /usr/lib/libXcursor.so.1.0.2
    4ab38000-4ab39000 rwxp 00008000 08:06 9815353 /usr/lib/libXcursor.so.1.0.2
    4ab3b000-4ab52000 r-xp 00000000 08:06 9815357 /usr/lib/libICE.so.6.3.0
    4ab52000-4ab53000 rwxp 00016000 08:06 9815357 /usr/lib/libICE.so.6.3.0
    4ab57000-4ab5f000 r-xp 00000000 08:06 9813468 /usr/lib/libSM.so.6.0.0
    4ab5f000-4ab60000 rwxp 00007000 08:06 9813468 /usr/lib/libSM.so.6.0.0
    4ac2c000-4ac3e000 r-xp 00000000 08:01 493154 /lib/libnsl-2.5.so
    4ac3e000-4ac3f000 r-xp 00012000 08:01 493154 /lib/libnsl-2.5.so
    4ac3f000-4ac40000 rwxp 00013000 08:01 493154 /lib/libnsl-2.5.so
    4ad29000-4ad7d000 r-xp 00000000 08:06 9815284 /usr/lib/libXt.so.6.0.0
    4ad7d000-4ad81000 rwxp 00054000 08:06 9815284 /usr/lib/libXt.so.6.0.0
    4bf57000-4bf5c000 r-xp 00000000 08:06 9813824 /usr/lib/libXtst.so.6.1.0
    4bf5c000-4bf5d000 rwxp 00004000 08:06 9813824 /usr/lib/libXtst.so.6.1.0
    a161b000-a1621000 r-xp 00000000 08:06 883543 /usr/local/oracle/db10g/jdk/jre/lib/i386/libnio.so
    a1621000-a1622000 rwxp 00005000 08:06 883543 /usr/local/oracle/db10g/jdk/jre/lib/i386/libnio.so
    a1622000-a1658000 rwxs 00000000 00:08 786446 /SYSV00000000 (deleted)
    a175a000-a1814000 r-xp 00000000 08:06 883527 /usr/local/oracle/db10g/jdk/jre/lib/i386/libfontmanager.so
    a1814000-a182f000 rwxp 000b9000 08:06 883527 /usr/local/oracle/db10g/jdk/jre/lib/i386/libfontmanager.so
    a1830000-a1837000 r-xp 00000000 08:06 9813462 /usr/lib/libXp.so.6.2.0
    a1837000-a1838000 rwxp 00006000 08:06 9813462 /usr/lib/libXp.so.6.2.0
    a183e000-a1845000 r-xp 00000000 08:06 599545 /usr/local/oracle/db10g/oui/lib/linux/liboraInstaller.so
    a1845000-a1846000 rwxp 00006000 08:06 599545 /usr/local/oracle/db10g/oui/lib/linux/liboraInstaller.so
    a1846000-a184d000 r-xs 00000000 08:06 9876851 /usr/lib/gconv/gconv-modules.cache
    a184d000-a18a0000 r-xp 00000000 08:06 883540 /usr/local/oracle/db10g/jdk/jre/lib/i386/libmlib_image.so
    a18a0000-a18a1000 rwxp 00052000 08:06 883540 /usr/local/oracle/db10g/jdk/jre/lib/i386/libmlib_image.so
    a18a1000-a1b72000 r-xp 00000000 08:06 883523 /usr/local/oracle/db10g/jdk/jre/lib/i386/libawt.so
    a1b72000-a1b88000 rwxp 002d0000 08:06 883523 /usr/local/oracle/db10g/jdk/jre/lib/i386/libawt.so
    a1d6e000-a1d7e000 r-xp 00000000 08:06 883542 /usr/local/oracle/db10g/jdk/jre/lib/i386/libnet.so
    a1d7e000-a1d7f000 rwxp 0000f000 08:06 883542 /usr/local/oracle/db10g/jdk/jre/lib/i386/libnet.so
    a1d7f000-a1d8c000 r-xp 00000000 08:06 596076 /usr/local/oracle/db10g/lib/libldapjclnt10.so
    a1d8c000-a1d8e000 rwxp 0000c000 08:06 596076 /usr/local/oracle/db10g/lib/libldapjclnt10.so
    a1d8e000-a1f6a000 r-xp 00000000 08:06 599456 /usr/local/oracle/db10g/lib/libnnz10.so
    a1f6a000-a1f90000 rwxp 001dc000 08:06 599456 /usr/local/oracle/db10g/lib/libnnz10.so
    a1f92000-a2cc3000 r-xp 00000000 08:06 598954 /usr/local/oracle/db10g/lib/libclntsh.so.10.1
    a2cc3000-a2d24000 rwxp 00d31000 08:06 598954 /usr/local/oracle/db10g/lib/libclntsh.so.10.1
    a2d38000-a2d4d000 r-xp 00000000 08:06 599256 /usr/local/oracle/db10g/lib/libnjni10.so
    a2d4d000-a2d51000 rwxp 00014000 08:06 599256 /usr/local/oracle/db10g/lib/libnjni10.so
    a2d51000-a2ef4000 r-xp 00000000 08:06 598619 /usr/local/oracle/db10g/lib/libimf.so
    a2ef4000-a2ef6000 rwxp 001a2000 08:06 598619 /usr/local/oracle/db10g/lib/libimf.so
    a2ef6000-a2f35000 r-xs 00000000 08:06 589501 /usr/local/oracle/db10g/inventory/prereqs/oui/OraPrereqChecks.jar
    a2f35000-a2f6d000 r-xs 00000000 08:06 599532 /usr/local/oracle/db10g/oui/jlib/OraPrereq.jar
    a2f6d000-a2f79000 r-xs 00000000 08:06 598522 /usr/local/oracle/db10g/oc4j/j2ee/home/db_oc4j_deploy.jar
    a2f79000-a2fac000 r-xs 00000000 08:06 598335 /usr/local/oracle/db10g/oc4j/j2ee/home/lib/crimson.jar
    a2fac000-a338e000 r-xs 00000000 08:06 598514 /usr/local/oracle/db10g/oc4j/sqlj/lib/translator.jar
    a338e000-a3403000 r-xs 00000000 08:06 598513 /usr/local/oracle/db10g/oc4j/sqlj/lib/runtime12ee.jar
    a3403000-a340f000 r-xs 00000000 08:06 598503 /usr/local/oracle/db10g/oc4j/jlib/jssl-1_1.jar
    a340f000-a3448000 r-xs 00000000 08:06 598356 /usr/local/oracle/db10g/oc4j/j2ee/home/lib/http_client.jar
    a3448000-a34c6000 r-xs 00000000 08:06 598498 /usr/local/oracle/db10g/oc4j/javacache/lib/cache.jar
    a34c6000-a352e000 r-xs 00000000 08:06 598357 /usr/local/oracle/db10g/oc4j/j2ee/home/lib/jem.jar
    a352e000-a35e3000 r-xs 00000000 08:06 598510 /usr/local/oracle/db10g/oc4j/rdbms/jlib/aqapi.jar
    a35e3000-a3607000 r-xs 00000000 08:06 598517 /usr/local/oracle/db10g/oc4j/webservices/lib/wsdl.jar
    a3607000-a362f000 r-xs 00000000 08:06 598516 /usr/local/oracle/db10g/oc4j/webservices/lib/wsserver.jar
    a362f000-a37c0000 r-xs 00000000 08:06 598501 /usr/local/oracle/db10g/oc4j/jdbc/lib/nls_charset12.jar
    a37c0000-a3947000 r-xs 00000000 08:06 598500 /usr/local/oracle/db10g/oc4j/jdbc/lib/classes12dms.jar
    a3947000-a39e3000 r-xs 00000000 08:06 598317 /usr/local/oracle/db10g/oc4j/j2ee/home/jazncore.jar
    a39e3000-a3a26000 r-xs 00000000 08:06 598318 /usr/local/oracle/db10g/oc4j/j2ee/home/jazn.jar
    a3a26000-a3a40000 r-xs 00000000 08:06 598337 /usr/local/oracle/db10g/oc4j/j2ee/home/lib/jaas.jar
    a3a40000-a3a47000 r-xs 00000000 08:06 598338 /usr/local/oracle/db10g/oc4j/j2ee/home/lib/jaxp.jar
    a3a47000-a3af0000 r-xs 00000000 08:06 598505 /usr/local/oracle/db10g/oc4j/lib/xmlparserv2.jar
    a3af0000-a3b35000 r-xs 00000000 08:06 598349 /usr/local/oracle/db10g/oc4j/j2ee/home/lib/mail.jar
    a3b35000-a3b41000 r-xs 00000000 08:06 598331 /usr/local/oracle/db10g/oc4j/j2ee/home/lib/activation.jar
    a3b41000-a3b44000 r-xs 00000000 08:06 598339 /usr/local/oracle/db10g/oc4j/j2ee/home/lib/jcert.jar
    a3b44000-a3b46000 r-xs 00000000 08:06 598346 /usr/local/oracle/db10g/oc4j/j2ee/home/lib/jnet.jar
    a3b46000-a3bc4000 r-xs 00000000 08:06 598347 /usr/local/oracle/db10g/oc4j/j2ee/home/lib/jsse.jar
    a3bc4000-a3bd3000 r-xs 00000000 08:06 598334 /usr/local/oracle/db10g/oc4j/j2ee/home/lib/cos.jar
    a3bd3000-a3c51000 r-xs 00000000 08:06 598332 /usr/local/oracle/db10g/oc4j/j2ee/home/lib/bcel.jar
    a3c51000-a3c56000 r-xs 00000000 08:06 598333 /usr/local/oracle/db10g/oc4j/j2ee/home/lib/connector.jar
    a3c56000-a3cc4000 r-xs 00000000 08:06 598504 /usr/local/oracle/db10g/oc4j/lib/dms.jar
    a3cc4000-a3ccc000 r-xs 00000000 08:06 598352 /usr/local/oracle/db10g/oc4j/j2ee/home/lib/javax88.jar
    a3ccc000-a3cd0000 r-xs 00000000 08:06 598351 /usr/local/oracle/db10g/oc4j/j2ee/home/lib/javax77.jar
    a3cd0000-a3d27000 r-xs 00000000 08:06 598343 /usr/local/oracle/db10g/oc4j/j2ee/home/lib/jmxri.jar
    a3d27000-a3d2a000 r-xs 00000000 08:06 598348 /usr/local/oracle/db10g/oc4j/j2ee/home/lib/jta.jar
    a3d2a000-a3d31000 r-xs 00000000 08:06 598341 /usr/local/oracle/db10g/oc4j/j2ee/home/lib/jms.jar
    a3d31000-a3d3b000 r-xs 00000000 08:06 598324 /usr/local/oracle/db10g/oc4j/j2ee/home/iiop_gen_bin.jar
    a3d3b000-a3e76000 r-xs 00000000 08:06 598325 /usr/local/oracle/db10g/oc4j/j2ee/home/iiop.jar
    a3e76000-a3e78000 r-xs 00000000 08:06 598340 /usr/local/oracle/db10g/oc4j/j2ee/home/lib/jdbc.jar
    a3e78000-a3e91000 r-xs 00000000 08:06 598345 /usr/local/oracle/db10g/oc4j/j2ee/home/lib/jndi.jar
    a3e91000-a3f35000 r-xs 00000000 08:06 598353 /usr/local/oracle/db10g/oc4j/j2ee/home/lib/ojsp.jar
    a3f35000-a3f43000 r-xs 00000000 08:06 598350 /usr/local/oracle/db10g/oc4j/j2ee/home/lib/servlet.jar
    a3f43000-a3f47000 r-xs 00000000 08:06 598336 /usr/local/oracle/db10g/oc4j/j2ee/home/lib/ejb.jar
    a3f47000-a44c9000 r-xs 00000000 08:06 598330 /usr/local/oracle/db10g/oc4j/j2ee/home/oc4j.jar
    a44c9000-a4866000 r-xs 00000000 08:06 599555 /usr/local/oracle/db10g/oui/jlib/OraInstaller.jar
    a4866000-a5423000 r-xs 00000000 08:06 598681 /usr/local/oracle/db10g/sysman/jlib/emCORE.jar
    a5423000-a5440000 r-xs 00000000 08:06 593960 /usr/local/oracle/db10g/jlib/ldap.jar
    a5440000-a5586000 r-xs 00000000 08:06 593848 /usr/local/oracle/db10g/jlib/emConfigInstall.jar
    a5586000-a55d9000 r-xs 00000000 08:06 593849 /usr/local/oracle/db10g/jlib/emca.jar
    a55d9000-a5dc3000 r-xs 00000000 08:06 595944 /usr/local/oracle/db10g/jlib/oemlt-10_1_0.jar
    a5dc3000-a5dd5000 r-xs 00000000 08:06 594200 /usr/local/oracle/db10g/jlib/srvmasm.jar
    a5dd5000-a5de3000 r-xs 00000000 08:06 594201 /usr/local/oracle/db10g/jlib/srvmhas.jar
    a5de3000-a5eaa000 r-xs 00000000 08:06 594199 /usr/local/oracle/db10g/jlib/srvm.jar
    a5eaa000-a6032000 r-xs 00000000 08:06 596110 /usr/local/oracle/db10g/jdbc/lib/classes12.zip
    a6032000-a607f000 r-xs 00000000 08:06 598998 /usr/local/oracle/db10g/jlib/opm.jar
    a607f000-a6127000 r-xs 00000000 08:06 594289 /usr/local/oracle/db10g/owm/jlib/owm-3_0.jar
    a6127000-a616c000 r-xs 00000000 08:06 593941 /usr/local/oracle/db10g/ldap/oidadmin/dasnls.jar
    a616c000-a6178000 r-xs 00000000 08:06 594297 /usr/local/oracle/db10g/jlib/jssl-1_1.jar
    a6178000-a6210000 r-xs 00000000 08:06 595952 /usr/local/oracle/db10g/jlib/ldapjclnt10.jar
    a6210000-a6264000 r-xs 00000000 08:06 599252 /usr/local/oracle/db10g/jlib/ojpse.jar
    a6264000-a627f000 r-xs 00000000 08:06 594291 /usr/local/oracle/db10g/jlib/oraclepki103.jar
    a627f000-a6285000 r-xs 00000000 08:06 599248 /usr/local/oracle/db10g/jlib/ojmisc.jar
    a6285000-a62ce000 r-xs 00000000 08:06 599299 /usr/local/oracle/db10g/jlib/netcfg.jar
    a62ce000-a62e2000 r-xs 00000000 08:06 595312 /usr/local/oracle/db10g/jlib/orai18n-tools.jar
    a62e2000-a6449000 r-xs 00000000 08:06 595305 /usr/local/oracle/db10g/jlib/orai18n-lcsd.jar
    a6449000-a645f000 r-xs 00000000 08:06 595311 /usr/local/oracle/db10g/jlib/orai18n-servlet.jar
    a645f000-a646b000 r-xs 00000000 08:06 595310 /usr/local/oracle/db10g/jlib/orai18n-net.jar
    a646b000-a65bf000 r-xs 00000000 08:06 595309 /usr/local/oracle/db10g/jlib/orai18n-translation.jar
    a65bf000-a66bf000 r-xs 00000000 08:06 595304 /usr/local/oracle/db10g/jlib/orai18n-collation.jar
    a66bf000-a671f000 r-xs 00000000 08:06 595307 /usr/local/oracle/db10g/jlib/orai18n-utility.jar
    a671f000-a6732000 r-xs 00000000 08:06 595306 /usr/local/oracle/db10g/jlib/orai18n-mapping.jar
    a6732000-a68c3000 r-xs 00000000 08:06 595308 /usr/local/oracle/db10g/jlib/orai18n.jar
    a68c3000-a69eb000 r-xs 00000000 08:06 598705 /usr/local/oracle/db10g/lib/xmlparserv2.jar
    a69eb000-a69f9000 r-xs 00000000 08:06 596123 /usr/local/oracle/db10g/jlib/kodiak.jar
    a69f9000-a6a80000 r-xs 00000000 08:06 593853 /usr/local/oracle/db10g/jlib/oracle_ice5.jar
    a6a80000-a6c27000 r-xs 00000000 08:06 599096 /usr/local/oracle/db10g/jlib/jewt4.jar
    a6c27000-a6c8c000 r-xs 00000000 08:06 598688 /usr/local/oracle/db10g/jlib/help4.jar
    a6c8c000-a6c9a000 r-xs 00000000 08:06 599458 /usr/local/oracle/db10g/jlib/share.jar
    a6c9a000-a6ca8000 r-xs 00000000 08:06 593852 /usr/local/oracle/db10g/jlib/ewtcompat-3_3_15.jar
    a6ca8000-a6f2d000 r-xs 00000000 08:06 599099 /usr/local/oracle/db10g/jlib/ewt3.jar
    a6f2d000-a7028000 r-xs 00000000 08:06 593843 /usr/local/oracle/db10g/assistants/jlib/assistantsCommon.jar
    a7028000-a71b5000 r-xs 00000000 08:06 592248 /usr/local/oracle/db10g/assistants/dbca/jlib/dbca.jar
    a71b5000-a7271000 r-xs 00000000 08:06 600243 /usr/local/oracle/db10g/jdk/jre/lib/ext/localedata.jar
    a7271000-a7274000 r-xs 00000000 08:06 600241 /usr/local/oracle/db10g/jdk/jre/lib/ext/dnsns.jar
    a7274000-a7281000 r-xs 00000000 08:06 600242 /usr/local/oracle/db10g/jdk/jre/lib/ext/ldapsec.jar
    a7281000-a7284000 r-xs 00000000 08:06 600152 /usr/local/oracle/db10g/jdk/jre/lib/ext/smtp.jar
    a7284000-a72c9000 r-xs 00000000 08:06 600150 /usr/local/oracle/db10g/jdk/jre/lib/ext/mail.jar
    a72c9000-a72e5000 r-xs 00000000 08:06 600244 /usr/local/oracle/db10g/jdk/jre/lib/ext/sunjce_provider.jar
    a72e5000-a730b000 r-xs 00000000 08:06 600151 /usr/local/oracle/db10g/jdk/jre/lib/ext/mailapi.jar
    a750f000-a770f000 r-xp 00000000 08:06 9813461 /usr/lib/locale/locale-archive
    b3951000-b395f000 r-xs 00000000 08:06 600153 /usr/local/oracle/db10g/jdk/jre/lib/ext/activation.jar
    b5a07000-b5fa7000 r-xs 00000000 08:06 600193 /usr/local/oracle/db10g/jdk/jre/lib/charsets.jar
    b5fa7000-b5fb8000 r-xs 00000000 08:06 600231 /usr/local/oracle/db10g/jdk/jre/lib/jce.jar
    b5fb8000-b6095000 r-xs 00000000 08:06 600232 /usr/local/oracle/db10g/jdk/jre/lib/jsse.jar
    b6095000-b60ab000 r-xs 00000000 08:06 600240 /usr/local/oracle/db10g/jdk/jre/lib/sunrsasign.jar
    b60f5000-b7aa0000 r-xs 00000000 08:06 600239 /usr/local/oracle/db10g/jdk/jre/lib/rt.jar
    b7aa0000-b7ab4000 r-xp 00000000 08:06 883546 /usr/local/oracle/db10g/jdk/jre/lib/i386/libzip.so
    b7ab4000-b7ab7000 rwxp 00013000 08:06 883546 /usr/local/oracle/db10g/jdk/jre/lib/i386/libzip.so
    b7ab7000-b7ad7000 r-xp 00000000 08:06 883531 /usr/local/oracle/db10g/jdk/jre/lib/i386/libjava.so
    b7ad7000-b7ad9000 rwxp 0001f000 08:06 883531 /usr/local/oracle/db10g/jdk/jre/lib/i386/libjava.so
    b7ad9000-b7ae2000 r-xp 00000000 08:01 491561 /lib/libnss_files-2.5.so
    b7ae2000-b7ae3000 r-xp 00008000 08:01 491561 /lib/libnss_files-2.5.so
    b7ae3000-b7ae4000 rwxp 00009000 08:01 491561 /lib/libnss_files-2.5.so
    b7ae7000-b7af7000 r-xp 00000000 08:06 883545 /usr/local/oracle/db10g/jdk/jre/lib/i386/libverify.so
    b7af7000-b7af9000 rwxp 0000f000 08:06 883545 /usr/local/oracle/db10g/jdk/jre/lib/i386/libverify.so
    b7af9000-b7eff000 r-xp 00000000 08:06 883554 /usr/local/oracle/db10g/jdk/jre/lib/i386/client/libjvm.so
    b7eff000-b7f1a000 rwxp 00405000 08:06 883554 /usr/local/oracle/db10g/jdk/jre/lib/i386/client/libjvm.so
    b7f31000-b7f33000 r-xp 00000000 08:06 593842 /usr/local/oracle/db10g/lib/libOsUtils.so
    b7f33000-b7f34000 rwxp 00001000 08:06 593842 /usr/local/oracle/db10g/lib/libOsUtils.so
    b7f34000-b7f37000 r-xs 00000000 08:06 600149 /usr/local/oracle/db10g/jdk/jre/lib/ext/jta.jar
    b7f37000-b7f3b000 rwxs 00000000 08:01 458852 /tmp/hsperfdata_ora/2961
    b7f3b000-b7f43000 r-xp 00000000 08:06 883556 /usr/local/oracle/db10g/jdk/jre/lib/i386/native_threads/libhpi.so
    b7f43000-b7f44000 rwxp 00007000 08:06 883556 /usr/local/oracle/db10g/jdk/jre/lib/i386/native_threads/libhpi.so
    b7f45000-b7f46000 r-xp b7f45000 00:00 0 [vdso]
    bfbf0000-bfc06000 rwxp bfbf0000 00:00 0 [stack]
    Heap at VM Abort:
    Heap
    def new generation total 832K, used 640K [0xa7950000, 0xa7a30000, 0xa8320000)
    eden space 768K, 75% used [0xa7950000, 0xa79e02c0, 0xa7a10000)
    from space 64K, 99% used [0xa7a10000, 0xa7a1fff8, 0xa7a20000)
    to space 64K, 0% used [0xa7a20000, 0xa7a20000, 0xa7a30000)
    tenured generation total 10388K, used 7952K [0xa8320000, 0xa8d45000, 0xaf950000)
    the space 10388K, 76% used [0xa8320000, 0xa8ae4240, 0xa8ae4400, 0xa8d45000)
    compacting perm gen total 18176K, used 18137K [0xaf950000, 0xb0b10000, 0xb3950000)
    the space 18176K, 99% used [0xaf950000, 0xb0b066a0, 0xb0b06800, 0xb0b10000)
    Local Time = Fri Apr 6 09:24:01 2007
    Elapsed Time = 326
    # The exception above was detected in native code outside the VM
    # Java VM: Java HotSpot(TM) Client VM (1.4.2_08-b03 mixed mode)
    # An error report file has been saved as hs_err_pid2961.log.
    # Please refer to the file for further information.
    bin/dbca: line 158: 2961 Aborted $JRE_DIR/bin/java -Dsun.java2d.font.DisableAlgorithmicStyles=true -DORACLE_HOME=$OH -DDISPLAY=$DISPLAY -DJDBC_PROTOCOL=thin -mx128m -classpath $CLASSPATH oracle.sysman.assistants.dbca.Dbca $ARGUMENTS
    Thanks!

Maybe you are looking for