DnD onto a Container (JInternalFrame)

I suspect this question must have been answered already but after much searching I've not found it.
I have an JInternalFrame which contains many components. At the moment I've implemented drag and drop of data to a particular JTextArea within the JInternalFrame. This works nicely but now I'd like to make the entire JInternalFrame the drop target.
I've tried code such as this: setDropTarget(new DropTarget(this, new MyDropTargetListener())); but that's not it. It may be that I need to use the JInternalFrame's Glass Pane / Root Pane / something else as the DropTarget but I've not yet stumbled across the right object.
Can you help ?

Thanks for getting back to me diemson but its still not quite working for me.
Perhaps some more information would help. I have a class called Instance which extends JInternalFrame. It contains a Menu bar, toolbar and the main body is a JTabbedPane. I can currently DnD onto a JTextArea which exists on one of the tab panels using the following code.
DropTarget dropTarget = new DropTarget(m_instanceOutputText, new MyDropTargetListener());Because this text area isn't always visible (e.g. if you select a different tab) I'd like to make the entire Instance a drop target. I've tried all of the following but no joy as yet.
// Your suggested approach which makes sense to me but ain't working for me
m_instance.getRootPane().setDropTarget(new DropTarget(m_instance.getRootPane(), new MyDropTargetListener()));
DropTarget dropTarget2 = new DropTarget(getRootPane(), new MyDropTargetListener());
DropTarget dropTarget3 = new DropTarget(m_instance.getContentPane(), new MyDropTargetListener());I'm envious that you've got it working!

Similar Messages

  • How to find out the containing jinternalframe?

    anyone know the solution to this problem?:
    1. i have a jinternalframe
    2. in the jinternalframe i have a jlist
    3. each list cell is rendered with a jlabel
    4. i have an action emanating from one of the list cells
    5. in the action handler, i need to get a reference to the containing internalframe
    of the component that is the source of the event (the jlabel rendered inside
    the jlist).
    in java 5, oddly, SwingUtilities.getAncestorOfClass() (that is, walking up the
    component hierarchy) works.
    in java 6, it doesn't.
    the problem is that jlists and other such model components are leaf components.
    they represent a discontinuity in the component containment hierarchy. the poor
    list cell renderers are and must remain dumb.
    anyhow, back to my question: is there any way to find out the containing
    jinternal frame?
    thanks, eitan

    is there any way to find out the containing jinternal frame?Not sure about the Renderer part, but here's a simple demo that puts a JList in a JScrollPane, which is then put on a JPanel, which is then put on the contentPane of a JFrame. Once the frame has been realized (this is key), there's a recursive method that will find whatever you're looking for.import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class MyFrame extends JFrame
      Component mysteryParent;
      public MyFrame()
        super("Find Parent");
        setName("The Amazing Frame");
        setDefaultCloseOperation(EXIT_ON_CLOSE);
        JList list = new JList();
        JScrollPane scroll = new JScrollPane(list);
        scroll.setName("The Silly Scroll");
        JPanel panel = new JPanel(new BorderLayout());
        panel.setName("The Plain Panel");
        panel.add(scroll, BorderLayout.CENTER);
        Container c = getContentPane();
        c.setLayout(new BorderLayout());
        c.add(panel, BorderLayout.CENTER);
        pack();
        // first, let's try to find the containing frame
        mysteryParent = getParentOf(list, JFrame.class);
        if (mysteryParent != null)
          System.out.println("The frame that contains the list is: " + mysteryParent.getName());
        // then, let's try to find the containing panel
        mysteryParent = getParentOf(list, JPanel.class);
        if (mysteryParent != null)
          System.out.println("The panel that contains the list is: " + mysteryParent.getName());
        // finally, let's try to find the containing scroll pane
        mysteryParent = getParentOf(list, JScrollPane.class);
        if (mysteryParent != null)
          System.out.println("The scrollPane that contains the list is: " + mysteryParent.getName());
      // recursive method:
      public Component getParentOf(Component child, Class parentClass)
        Component parent = null;
        if (child != null)
          parent = child.getParent();
        if (parent == null)
          return null;
        else if (parentClass.isInstance(parent))
          return parent;
        return getParentOf(parent, parentClass);
      public static void main( String[] args )
        MyFrame frame = new MyFrame();
        frame.setVisible(true);
    }I just swagged this just now, so maybe it could be improved.
    I'm guessing that SwingUtilities.getAncestorOfClass() already does this, but I've never used it so I'm not sure.

  • How do I install a home made video onto iPad - have tried converting to mp4 but no sound comes through

    How do I install a home made DVD holiday video onto iPad containing both pictures and video.  Have tried converting to mp4 but sound and music doesn't come through?

    Marie-
    What did you use to convert to MP4?
    I've never tried to convert a DVD, but have had success with various other video formats using HandBrake from <Download HandBrake now.>.
    Fred

  • 1.4 dnd question

    I am looking to be able to drag from a JList onto a container (i.e. JPanel) and have it create a JLabel. I would also like to be able to drag onto existing JLabels in the container and have it create borders around the JLabels. I guess I'm looking to implement context sensitive dragging...
    Can someone point me towards a reference that will help me understand how to implemement this?
    thanks.

    Thank you for your try.
    Your code doesn't solve my problem.
    Assume that the drag source is the WindowsExplorer. The user picks a file and drag it over a Java component. If it isn't possible to get the DragSourceContext, there is no way to read from the dragged file while dragging. So the component cannot analize the contents of the file and is not able to verify that the user is able to drop it.
    Think about a XML structure display.
    The user drags an XML file form WindowsExplorer to the display. Now the display must check the filename, the file extension or the file contents to check that it is able to read the XML file.
    I think it is to late when the display sends a message after drop to the user that the file isn't a XML file.
    Best regards
    Andy

  • Is this a bug in Swing?

    If anyone could provide help on this ASAP it would be greatly appreciated. I was hoping to use my Swing application in an experiment on Tuesday morning, but I seem to have run into a bug in Swing. I'm hoping I have made a mistake or there is some workaround. Here is a minimal program that demonstrates the apparent bug:
    [http://gist.github.com/113083|http://gist.github.com/113083]
    The bug is this:
    I have a Swing container (in the demo program the contentPane) and I have a list of Swing components (some JLabels in the demo).
    At first the container is showing the first component in my list of components. When I press the JButton "next" the first component is removed from the container, the second component is added to the container, and the container is refreshed (calling validate() and then doLayout() is enough).
    When I press next again the third component is put onto the container. So far so good.
    Now press next again and it cycles back to the first component, which is put onto the container. But the GUI does not refresh, it continues to show the previous component.
    From now on whenever you press Next it will not refresh.
    Resizing or minimising then maximising the window will cause it to refresh to the component that it should be showing.
    The pattern seems to be this: if a component that has previously been shown in a container (but is no longer in it) is placed back into that same container then refreshing the GUI fails.
    Edited by: tchomby on May 17, 2009 11:33 AM

    I wasn't assuming this was a bug in Swing, I was asking whether it was. I had used validate, doLayout etc. to dynamically change a Swing GUI before, and so thought that was how it was done. After constructing a minimal demo it appeared to me that there was something wrong. Yes I am a swing newbie.
    There are so many refresh methods, validate, revalidate, doLayout, repaint, pack, it's pretty confusing. I think that because the new component I was putting in place had exactly the same shape and size as the one it was replacing, then perhaps any calls to the various methods that redo the layout if necessary would have no effect. repaint() does sound like it would have been the right thing. That might explain why calling pack after removing the component, when the container is empty, and then calling it again after adding the component seemed to work.
    Anyway, CardLayout works in my demo, I will use it. Thanks :)
    Edited by: tchomby on May 17, 2009 12:03 PM

  • Goods receipt for shipment

    Hi All,
    We have a scenario wherein our client when they buy intra/inter company have a special way of sending and receiving goods.
    What they do is that when one plant is sending materials to other by 'ocean' a container is loaded with materials from multiple POs. When the container is ready a shipment number is generated and stuck onto the container. Then the receiving plant posts a GR against the shipment number thus saving a lot of time on posting GRs for several different POs. As soon as the shipment number is entered while posting GR it lists down all the materials in the container which is then only physically verified for quantity. One container may contain material from more than 10 different POs with multiple lines.
    In future when they have implemented SAP these will be multiple STOs. Does anyone know of any standard SAP solution for this scenario?
    Regards,
    V S

    My client have almost same scenario. I  think this should help you.
    This scenario require two step stock transfer.
    DO GI from plant for material present in PO's refering Shipment number. So only one article doc will be generated for one container which have ,material from different PO's.
    Now at time of GR, use article doc instead of PO and again refer same shipment number in article slip feild.
    In case of doubt please provide more details about your exact requirement.

  • How to use this function module DP_CREATE_URL

    hi,
    I am using the following function module DP_CREATE_URL
    now there i have to pass a parameter called as data,
    wat to pass to DATA and how to create it
    im am displayin an image from desktop onto a container in the screen using the class cl_gui_picture
    for tat i need to use the above function module to generate the URL

    Hi Amit,
    I'm not sure if I understand your problem. Is your image stored on a frontend? In that case use GUI_UPLOAD first to get the image in an internal table.
    Regards,
    John.

  • Session problem with localdirector

              I have 3 sun's running WL4.5.1/sp8 clustering under 3
              Stronghold3/mod_wl_ssl.so proxy. Then I have 2 localdirectors sit in front
              of the proxies. When running my application, I can get a session and
              authenticate, then move around my jhtml's. But when I try to access certain
              servlets, I will get "Session Expired" for some reason. The funny thing is,
              when I switched to DNS. The whole thing works. Any help is appreciated.
              Patrick
              

    Patrick,
              Several things happen to make all this work.
              1) Cookies or rewritten URLs are stored in the
              browser to maintain 1/2 the state. Every
              time your browser connects to a WL server it
              sends the session cookie but only to the
              server that gave it the cookie. Even
              browsers don't trust everyone with free
              cookies.
              check to verify that your WL servers are
              set to use domain cookies. That way a
              cookie sent from one machine will be allowed
              to be sent to another machine in the domain.
              Unless you are trying to use multiple domains,
              then you have to add another layer of complexity
              onto this mess and I'm not sure how it would
              interoperate.
              2) The proxy plugins maintain a hash table that links
              the session token (cookie) with a specific EJB.
              The proxy tries to send your connection back to
              the first container that you connected with. If
              it is busy or dead then the transaction is rolled
              back and sent onto another container.
              Stateful beans are made persistent by serializing
              the context and writing it out to disk or a DB.
              Sounds like your cookie is being sent to a WL server that
              has no record of your existence. Are you trying to use
              multiple domains and is the config set to send domain
              cookies?
                                  Kevin
              patrick li wrote:
              >
              > I have 3 sun's running WL4.5.1/sp8 clustering under 3
              > Stronghold3/mod_wl_ssl.so proxy. Then I have 2 localdirectors sit in front
              > of the proxies. When running my application, I can get a session and
              > authenticate, then move around my jhtml's. But when I try to access certain
              > servlets, I will get "Session Expired" for some reason. The funny thing is,
              > when I switched to DNS. The whole thing works. Any help is appreciated.
              >
              > Patrick
              

  • Re-Direct Issue

    When using Form based authentication on Weblogic 6.0 sp2 we get two
    interesting issues,
    (i) Sometimes after login has been successful the redirect fails. You
    are authenticated onto the contain as you can then go to the secured
    page. The page it seems to end up on is
    (ii) When directed to the login page I think Weblogic is getting
    confused about cookie support on the browser as it puts the sessionid
    on the browser.
    We are testing using IE5.5 and we have tried to use Weblogics web
    server and IIS with the ISAPI plugin both with the same result,
    David

    When using Form based authentication on Weblogic 6.0 sp2 we get two
    interesting issues,
    (i) Sometimes after login has been successful the redirect fails. You
    are authenticated onto the contain as you can then go to the secured
    page. The page it seems to end up on is
    (ii) When directed to the login page I think Weblogic is getting
    confused about cookie support on the browser as it puts the sessionid
    on the browser.
    We are testing using IE5.5 and we have tried to use Weblogics web
    server and IIS with the ISAPI plugin both with the same result,
    David

  • Adding an Image to a VisualSpriteElement

    How can I add an Image to a VisualSpriteElement. I am looking to place a number of images onto a container. We have a completed FlexBuilder 3 application and we are trying to port it to the 4.5 preview. In 3, we had a main image and did a number of AddChild's to add smaller interactive icons. What is the best way to do this in FlashBuilder 4 using the Spark Framework.

    Flex is a framework with its own "base classes".  Sprite is a low-level
    Flash class.  You can't add Sprite's to Flex display objects other than
    UIComponent and SpriteVisualElement, and even then, certain rules apply.  In
    general, use UIComponent or SpriteVisualElement in Flex apps.

  • Panel sizing issues! IT'S TOO BIG FOR IT'S BOOTS!!!!!

    Hi there,
    I have a Panel which I make the client of a ScrollPane. The ScrollPane is added onto a container. This is all fine. My challenge is that I have about eighteen components (labels - containing pictures, text areas, etc) on the one panel. The panel is set to BoxLayout (up and down style) which results in all the components being stacked one on top of the next. When the program runs the scrollPane is fine, and it has bars both horizontally and vertically. Ideally however I only want to have vertical scrollbars and no horizontal scrollbars because I want my content to be the width of the onscreen window. If I force the scrollPane's horizontal bar off then I can only see some of the content on the Panel because the Panel still takes up heaps of room. I have learned from this that it is not possible to control the size of the component that is the client of the scrollPane by playing with the scroll bars.
    I figured the only logical way to get around my challenge is to control the size of the panel before it is made the client of the scrollPane. I set the size of the Panel explicitly with setSize(value1, value2) however the Panel still takes up a huge screen area.
    Basically trying to explicitly set the Panel failed, the code compiled but there was no desirable outcomes. I really want to work out how to force the Panel to be a given size and then use only one scroll bar on the scrollPane. I figure that this is an issue related to BoxLayout, but I may be well of track with that hypothesis. My code is provided below if anybody can offer any clues they will be greatly appreciated.
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class HelpGUI extends JFrame implements ActionListener
      HelpGUI()
        Toolkit tk = Toolkit.getDefaultToolkit();
        Dimension sSize = tk.getScreenSize();
        /* Fonts created here. */
        Font mainhead = new Font("Tahoma",Font.BOLD,22);
        Font subhead = new Font("Arial Black",Font.PLAIN,16);
        /* Images and there associated accomodations (labels) */
        ImageIcon pic1 = new ImageIcon("Images/launch1a.jpg");
        ImageIcon pic2 = new ImageIcon("Images/launch1b.jpg");
        ImageIcon pic3 = new ImageIcon("Images/launch1c.jpg");
        ImageIcon pic5 = new ImageIcon("Images/launch1e.jpg");
        ImageIcon pic6 = new ImageIcon("Images/launch1f.jpg");
        ImageIcon pic7 = new ImageIcon("Images/launch1g.jpg");
        ImageIcon pic8 = new ImageIcon("Images/launch1h.jpg");
        ImageIcon pic9 = new ImageIcon("Images/launch1i.jpg");
        ImageIcon pic10 = new ImageIcon("Images/launch1j.jpg");
        ImageIcon pic11 = new ImageIcon("Images/launch1k.jpg");
        ImageIcon pic12 = new ImageIcon("Images/launch1l.jpg");
        ImageIcon pic13 = new ImageIcon("Images/launch1m.jpg");
        JLabel icon1 = new JLabel("",pic1,JLabel.LEFT);
        JLabel icon2 = new JLabel("",pic2,JLabel.LEFT);
        JLabel icon3 = new JLabel("",pic3,JLabel.LEFT);
        JLabel icon5 = new JLabel("",pic5,JLabel.LEFT);
        JLabel icon6 = new JLabel("",pic6,JLabel.LEFT);
        JLabel icon7 = new JLabel("",pic7,JLabel.LEFT);
        JLabel icon8 = new JLabel("",pic8,JLabel.LEFT);
        JLabel icon9 = new JLabel("",pic9,JLabel.LEFT);
        JLabel icon10 = new JLabel("",pic10,JLabel.LEFT);
        JLabel icon11 = new JLabel("",pic11,JLabel.LEFT);
        JLabel icon12 = new JLabel("",pic12,JLabel.LEFT);
        //Labels containing strings.
        JLabel heading = new JLabel("INSTRUCTIONS",JLabel.LEFT);
        heading.setFont(mainhead);
        JLabel addhead = new JLabel("Adding a shortcut to the toolbar.");
        addhead.setFont(subhead);
        JLabel delhead = new JLabel("Deleting a shortcut from the toolbar.");
        addhead.setFont(subhead);
        /* Text blocks describing program operation, used in conjunction with the
        labels and images instantiated above. */
        JTextArea intro = new JTextArea(
          "This toolbar contains two established shortcut buttons. It also contains "+
          "three empty shortcut buttons. The toolbar can be customised to your exact "+
          "requirements. Please follow the instructions below if you are uncertain of "+
          "how to enter a shortcut. Alternatively you can delete shortcuts from this "+
          "toolbar by following instructions provided further down this page.");
        intro.setLineWrap(true);
        intro.setWrapStyleWord(true);
        intro.setEditable(false);
        //intro.setBackground(this.getBackground());
        JTextArea inst1 = new JTextArea(
          "1). On the File menu click New.");
        inst1.setLineWrap(true);
        inst1.setWrapStyleWord(true);
        inst1.setEditable(false);
        //intro.setBackground(this.getBackground());
        JTextArea inst2 = new JTextArea(
          "2). In the Please Enter Shortcut Details window enter a Shortcut Name "+
          "for the new shortcut.");
        inst2.setLineWrap(true);
        inst2.setWrapStyleWord(true);
        inst2.setEditable(false);
        //inst2.setBackground(this.getBackground());
        JTextArea inst3 = new JTextArea(
          "3). Click on the Open button. This presents the file browser."+
          "4). Select a relevant subdirectory and click the Open button.");
        inst3.setLineWrap(true);
        inst3.setWrapStyleWord(true);
        inst3.setEditable(false);
        //inst3.setBackground(this.getBackground());
        JTextArea inst5 = new JTextArea(
          "5). Repeat step 4 if necessary.");
        inst5.setLineWrap(true);
        inst5.setWrapStyleWord(true);
        inst5.setEditable(false);
        //inst5.setBackground(this.getBackground());
        JTextArea inst6 = new JTextArea(
          "6). Repeat step 4 if necessary.");
        inst6.setLineWrap(true);
        inst6.setWrapStyleWord(true);
        inst6.setEditable(false);
        //inst6.setBackground(this.getBackground());
        JTextArea inst7 = new JTextArea(
          "7). Select the required executable file and press the Open button.");
        inst7.setLineWrap(true);
        inst7.setWrapStyleWord(true);
        inst7.setEditable(false);
        //inst7.setBackground(this.getBackground());
        JTextArea inst8 = new JTextArea(
          "8). Press the Ok button.");
        inst8.setLineWrap(true);
        inst8.setWrapStyleWord(true);
        inst8.setEditable(false);
        //inst8.setBackground(this.getBackground());
        JButton exitbtn = new JButton("Exit");
        JPanel panel = new JPanel();
        panel.setLayout(new BoxLayout(panel,BoxLayout.Y_AXIS));
        //panel.setSize(sSize.width*14/17,sSize.height*9/10);
        panel.setBackground(Color.CYAN);
        panel.add(heading);          //"INSTRUCTIONS" heading.
        panel.add(icon1);            //First picture of toolbar.
        panel.add(intro);            //First text block.
        panel.add(addhead);          //"Adding a shortcut ..." heading.
        panel.add(inst1);            //First instruction 1).
        panel.add(icon2);            //Picture for 1).
        panel.add(inst2);            //Second instruction 2).
        panel.add(icon5);            //Picture of 2).
        panel.add(inst3);            //3). and 4).
        panel.add(icon6);            //Picture for 3 and 4.
        panel.add(inst5);            //5).
        panel.add(icon7);            //Picture for instruction 5).
        panel.add(inst6);            //6).
        panel.add(icon8);            //Picture for instruction 6).
        panel.add(inst7);            //7).
        panel.add(icon9);            //Pic 7).
        panel.add(inst8);            //8).
        panel.add(icon10);           //Pic 8).
        Container c = getContentPane();
        JScrollPane scrollPane = new JScrollPane(panel);
        scrollPane.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
        //scrollPane.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
        c.add(scrollPane);
        setLocation(sSize.width*18/100,sSize.height*1/20);
        setSize(sSize.width*14/17,sSize.height*9/10);
        setTitle("Java QuickLaunch Toolbar");
        setVisible(true);
      public void actionPerformed(ActionEvent e)
    }Thanks heaps

    Interestingly enough, the preferredLayoutSize method of the layout manager attached to the JScrollPane never gets called when the scroll pane is resized horizontally, only vertically. I found this out by subclassing BoxLayout so that it printed a string when certain methods were called. I did that after noticing that I can resize your help window vertically with no problem, but horizontally is a different story -- when I increase the horizontal size, the JPanel grows to fit, but when I decrease the horizontal size, the JPanel stays the same size. Returning smaller Dimensions in preferredLayoutSize of my overrided BoxLayout class didn't help.
    I investigated further and subclassed JPanel to print a message when setSize or setBounds was called. When I vertically resized the help window, JPanel.setBounds was called to resize the JPanel. I was expecting that. However, when I horizontally resized the help window, the JPanel size wasn't updated... at least not in the way I expected it to be. When I increased the horizontal size past the maximum horizontal size so far, the JPanel's horizontal size was increased to match. However, when I decreased the horizontal size, the JPanels horizontal size was not decreased to match.
    So, here's what I found:
    1) JScrollPane vertical size increased: Scrolled component vertical size increases to match.
    2) JScrollPane vertical size decreased: Scrolled component vertical size decreases to match.
    3) JScrollPane horizontal size increased: Scrolled component horizontal size increases to match.
    4) JScrollPane horizontal size decreased: Scrolled component horizontal does not change.
    So the scrolled component horizontal size gets increased, but never decreased. This is odd... perhaps it is a JScrollPane bug? I'll see if I can't figure out a way around it. Overriding the scroll pane's setBounds and setSize methods didn't work, perhaps I'll target the JViewport next.
    Sorry I couldn't help right away, though. Lemme know if you figure it out.

  • Text overlays

    I have a text overlay which is one line long. when I swap the
    cast member with another text that wraps to a second line, the text
    on two lines is squished to the same height as the orignal text.
    It looks like it is trying to fit the wrapped text into the
    same area as the orignal text. Any solution for this? Or am I
    loading the new text wrong? I use this code to replace the overlay
    text with a new text.

    You may want to create your texture from a "container" image
    object that is a power of 2, rather than creating it from a cast
    member with random dimensions. Look at imaging lingo...
    Measure the width and height of your text member after
    putting the new text into it. Then create an image who's dimensions
    are the next power of 2 larger than your text dimensions (ex. a 98
    x 14 text member would need a 128 x 16 image). Then copypixels()
    the text member's image onto the container image, and create your
    texture from the container image using #fromImageObject.
    You can set the alpha of the image too, so the background of
    your text is transparent.

  • Its urgent .. we r waiting for exceperts help------

    I have a JScrollPane that contains a JDesktopPane. The ScrollPane is added to the right of SplitPane.The
    JDesktopPane contains JInternalFrames.
    I want to make my Desktop scrollable so that we can view the jinternal frames by scrolling.
    This is my sample code:
    JDesktopPane() desktopPane = new JDesktopPane();
    JScrollPane scrollPane = new JScrollPane();
    scrollPane.getViewportView.add(desktopPane);
    JSplitPane jSplitPane = new JSplitPane ();
    jSplitPane.setContinuousLayout ( true );
    jSplitPane.add ( desScrollPane, JSplitPane.RIGHT );
    but its now wroking well....i can see the scrollbars but they r not enabled i suppose....it'll be great if u can help me out...
    i am send'n u a screen shot too of the above ..as u can see scroll bars are not being enabled even though u increace the internal frame ...as far as the searches we made it says it should AUTOMATICALLY enable the scrollpane in the JDesktop.but it does'nt here ...what is the problem .

    I came across your note.
    If what you want is to have scroll bars active in the window when an internal frame is outside it's bounds. Then you may want to take a look at some code from java world.
    MDIDesktopPane.
    http://www.javaworld.com/javaworld/jw-05-2001/jw-0525-mdi.html
    The code creates a subclass of the JDesktop pane and checks for internal frames outside the boundaries. Then activates scrollbars as needs.
    Well, if that is what you want it should be at the link above.
    If problem solved already solved then great.
    Or do a google search for MDIDesktopPane. There is also some other code out there doing similiar functionality.
    Regards,
    Carl

  • Java.awt.EventDispatchThread.pumpOneEventForHierarchy

    I am getting this event while debugging in different situations and it is hanging up my application. I don't really know what does it means or why it is happening within my application but, the most important question is: How can i control this event in order to avoid my application hangs up.
    Thanks,
    �lvaro

    I am getting this event while debugging in different
    situations and it is hanging up my application.THis is the basic event pump for Swing. You move a mouse, Swing dispatches the appropriate event onto the containment hierarchy.
    Generally, all you care about is what's happening at the end of the stack trace, once the event gets into your component.

  • UEFI/GTP

    I have inherited a new server that someone else installed Windows Server 2008R2 onto, it contains 3x3TB disks in RAID 5 and was installed using MBR, there is a 3.5TB partition that I am unable to use because the server was not installed using UEFI BIOS and
    GTP disk.
    1. I assume I have to reinstall the OS on this server using UEFI BIOS and selecting GTP disk to utilize all the space, is this correct?
    2. Is it possible to do an image backup of the existing install, reinstall the OS, change to UEFI BIOS/GTP disk and then restore the image backup? Would this work?
    3. Are there any other options available to me other then reinstalling, or using alternative methods to restore the existing install?
    The server is a Dell Power Edge T320 with a dell hardware raid controller, the disks are 3TB SATA.
    Thanks
    AM

    Hi,
    You can reinstall Windows Server 2008 R2 by using the Windows product DVD. The Windows product DVD can boot in either BIOS mode or UEFI mode. When Windows boots and installs in UEFI mode, it configures the primary drive with the GUID Partition Table (GPT)
    file structure.
    Installing Windows on UEFI-based Computers
    http://technet.microsoft.com/en-us/library/hh290675(v=ws.10).aspx
    Yes, you could convert disks to UEFI, then use your backup tool to restore your original Windows installation.
    How to convert Windows 7 on MBR/BIOS to GPT/UEFI
    http://www.mpspartners.com/2013/10/how-to-convert-windows-7-on-mbrbios-to-gptuefi/
    Please Note: Since the website is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Converting Windows BIOS installation to UEFI
    http://social.technet.microsoft.com/wiki/contents/articles/14286.converting-windows-bios-installation-to-uefi.aspx
    Regards,
    Mandy
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

Maybe you are looking for

  • Contact bug with non English last name

    I put the chinese name as last name, so that they will show up on the contact next to the English first name ie. George [chinese], this worked no problem, but when I send sms to more than one such contact it will fail with "xxx is not on the contact.

  • Final cut hd serial code

    I've just moved my macbook over to the imac and upgraded the os t mountain loin. Final cut HD is asking for my serial code but I have lost the box in the process of spring cleaning. I can still access Final cut Hd on the macbook but the imac is askin

  • How I install printer sharp al-2050cs??

    I would like to know how I install a Sharp AL-2050cs printer in my apple computer.

  • IWeb??  Publish not working.

    I created a website using photos from my iPhoto.  I used the iWeb in iPhoto.   I completed the page and then "published" it.   But it is not working.   It says HTML not available.   Am I leaving out a step?   Thank you.   I have an iMac G5.   Can you

  • LR 2.7 bug: Tone Curve is ignored in Develop module during loading

    I have found a problem that occurs after upgrading from 2.6 to 2.7. It probably wasn't existent before, but now I am not sure. What happens is this: After making a Tone Curve changes to a series of photograps, I stayed in the Develop module and looke