PDF made with distiller vs drag and drop on Acrobat icon.

How is the file handled differently if I us the stand alone distiller verses just dragging and dropping, say an .eps to the Adobe Acrobat Pro program Icon. I have this question because I have found using distiller on occasion will not give me a correct font as apposed to drag and drop on Acrobat Icon which will keep the font correct. I'm using Acrobat Pro on a 2 X 2.66 Dual Core Intel Xeon Mac and OSX 10.5.8.

This is exactly how I understood this to work as well. …and yet the resulting PDF is not the same in the tests I have done.
But, I have taken the same exact .eps file and draged it into the distiller window and had certin fonts not show correctly in the resulting PDF. When I take this same exace .eps and drag it to the Acrobat icon it creates a PDF file with all fonts showing correctly. I was looking for some insite into why this was the case. 

Similar Messages

  • Drag and drop of Windows icons inside Java......possible ?

    Hi all !
    does anybody know if it's possible to do drag and drop of windows icons (like folders) into Java Frames or other containers ?
    I'd like to write an application where the user can drag Windows folders inside a Frame/Container and collect Folder information (the path to the folder)
    Is it possible to do it ?
    Thanks a lot
    Francesco

    Hi,
    It is possible.
    You can drag platform independent objects like folders, icons etc. from the native platform to your java app.
    The Java-Object you need in this case is a
    DataFlavour like
    DataFlavor.stringFlavor // for text
    DataFlavor.javaFileListFlavor // for folders
    in the tutorial jacob has linked you find more about this.
    Olek

  • Which Listener I should use if I drag and Drop an image/icon into a JPanel?

    Dar Friends:
    Happy new year.
    I try to drag and Drop an image/icon into a JPanel, and hope I can immediately detect it after DND,
    Which Listener I should use in this JPanel if I drag and Drop an image/icon into a JPanel??
    Thanks

    Thank camickr .
    I can dnd an image into a JPanel called JPanelOld already, I hope to use another JPanel or JTree to listen to any Dropped Image in JPanelOld later on so I can take some action in another JPanel or JTree.
    so what kind of Listener I should use for my purpose??
    where to add this Listeners??
    Happy New Year.

  • Error with my my drag and drop quiz

    I'm working in Presenter 7. The problem I'm having is with
    the matching quiz. Initially it looks fine then when I begin to
    drag the answers to their correct location I get this big grey box
    and where ever I drag one of the answers the grey mess gets bigger.
    How can I resolve this?

    Alright I was having a problem with the presenter version of
    drag and drop so I made my own in Flash. Problem that I'm having
    now is that it works fine out of flash and not at all in presenter.
    It's like id doesn't see my stop() actionscript at first and then
    it does. I tried importing it as flash 9 and 8 and getting the same
    problem. Is there some kind of special actionscript I need to write
    to get it to work in Presenter?

  • Safari for Mac, webpage with Java applet, drag and drop area not working.

    At my company, we have a web page that our users access to submit media files, (QuickTime, Audio, images...), for transcoding for delivery.  The web page consists of a java applet, with an area that our users drag and drop media file into.
    After updating to Safari 5.1.2, the applet will not work anymore. Instead, the browser will "open" the quicktime and play it, instead of allowing the Java Applet to do it's job.
    CAN I TURN THIS FUNCTIONALITY OFF??
    I read that Safari 5.1.2, (when it was initially released), broke something with the THEN current version of Java, and everyone was awaiting the latest update (build 1.6.0_29) to fix it. Unfortunately, this update did not fix my issue with the functionality of dragging and dropping media files into the web page.
    It seems to me, as if, there is an over-arching functionality setting (or something) that needs to be either turned off, or in some other way DE-prioritized.
    Anyone have any ideas?
    Safari 5.1.2
    MacOS 10.6.8
    MacBook Pro

    Thanks for quick reply and help. I am able to drag multiple files but this is giving problem in case of filename with spaces like "abc def.png". Can you please put some thoughts on this.
    DataFlavor uriListFlavor = new DataFlavor("text/uri-list;class=java.lang.String");
                   Reader in = (Reader)t.getTransferData(DataFlavor.plainTextFlavor);
                   BufferedReader br = new BufferedReader(in);
                   String uriStr;
                   while ((uriStr = br.readLine()) != null)
                       URL url = new URL(uriStr);
                       String category = GalleryUtils.contentsPanel.getCurrentCategoryPath();
                       GalleryUtils.generateILPFromFile(new File(url.getFile()), category);
                   }Thanks
    Kanni

  • Help with Basics! Dragging and dropping clips

    Good Morning! I've been frustrating myself for weeks just trying to get started. I've uploaded all my video clips through a firewire connection and they look fine. However, when I simply want to drag and drop a clip into the timeline it doesn't work. I have tried it on both the clip and the timeline viewer and have tried cropped and uncroppd videos clips. HELP! I thought this was the easy part. I even have a book, video and online help, but everything says simply "drag and drop clip" Any help is welcome. Thanks! Quail

    Hi Matthew:
    Maybe he could try deleting the iMovie preference files? Seems to fix some of the strangest of problems at times-do you agree?
    Quail:
    Try deleting the imovie preference file. Locate a file named com.apple.imovie.plist and get rid of it. Then empty the trash, run a permissions repair with disk utility and restart. That should do it. The files you need to delete are found in:
    /Users/YourName/Library/Preferences/com.apple.imovie.plist
    Sue

  • Issue with FCPX transition drag and drop and grouped clips...

    hello when i do a alt G to group clip, i was unable to apply a transition to the end of this grouped selection...
    drag and drop transition doesn't work...
    - i try to let finalcut pro render the grouped part... it change nothing
    - sometime drag and drop transtion does'nt work or a message ask to add the transtion to the clip... don't know why?
    closing and starting finalcut pro x make things work for a time as soon as i don't group clip again...
    need help please...

    You need to learn the concept of "Handles": these are the pieces of your clip that are before the start point and after the end point. The handles are used to create the transitions. One nice way to see how this works is by using the "Precision Editor" (to see it, select an edit point and hit Ctrl-E). In this picture, the parts surrounded by a red rectangle are the handles:
    If you select the edit point and the select is in red, that means there is no handle there (no extra frames that can be used). When there are no handles, you either can't make a transition or get this dialog:
    If you go ahead and click "Create Transition", the clip(s) will be shortened, because FCP will "pull" the right clip onto the left one to make the transition.

  • How do i download video from iphone 4 to a Mac Compatible Seagate GoFlex external hard drive, drag and drop loads an icon without any data?

    I took some video over christmas using my iphone 4 and ever since i have been trying to back up these videos for safe keeping.  When i tried to back up to my computer's c drive only the smallest file would load, the other 2 the icon would appear but no data was present in properties.  so i then tried to drag and drop to my seagate 3tb GoFlex hard drive and i would also get icons but no data.  It seems to me this would be a simple process anyone know the answer? I have windows xp and can seem to move everything else around without any problem just seems to be video as the problem?

    William G 42 wrote:
    , I just can't really do anything with the content going either way.
    Make sure the EHD is Formatted Mac OS Extended (journaled
    Format, Erase, or Reformat a drive
    In iPhoto, Select All the Photos you want to move... Then Goto... > File > Export >
    Choose the settings as seen here
    Click Export and select your External Drive
    Best to create a Folder to put them in... and away you go...
    More Help available from iPhoto Toolbar Help Menu

  • Drag and drop to desktop icon on Windows

    My Java application is bundled in a JAR (with a MAIN). On Windows (XP, Server 03+ and Windows 7) I would like to have it so the user can drag and drop files and/or folders onto the JAR's icon on the desktop and have it launch its MAIN passing in a list of java.io.File objects representing the dropped item(s).
    Is this possible? Do I need to turn my JAR into an EXE and if so can someone recommend an EXE generator tool that supports this drag-n-drop functionality?
    TIA,
    -Noah

    NBW-Java wrote:
    My Java application is bundled in a JAR (with a MAIN). On Windows (XP, Server 03+ and Windows 7) I would like to have it so the user can drag and drop files and/or folders onto the JAR's icon on the desktop and have it launch its MAIN passing in a list of java.io.File objects representing the dropped item(s).
    Is this possible? Do I need to turn my JAR into an EXE and if so can someone recommend an EXE generator tool that supports this drag-n-drop functionality?Noah,
    I've not ever seen another application that would do that without having the application already running, once it is running then you should be able to do a drag and drop.

  • Help needed with virtual bookshelf - drag and drop between components?

    Hi there,
    Im trying to create a virtual bookshelf, where book spines are individual movie clips that can be dragged and re-ordered on the shelf.  At the moment i can drag the spines to one assigned target, but not any target or 'nudge' the position of the other books along.
    Im sorry if this is a bit vague i'm not that experienced in as3, please feel free to ask any questions and i'll do my best to answer.  Im thinking that an array is necessary which holds the positions, but im not sure how to put it all together!
    Any help greatly appreciated! The code i have so far is:
    import flash.events.MouseEvent;
    import flash.display.MovieClip;
    var dragArray:Array = [red, blue, green, purple, yellow];
    var matchArray:Array = [target1, target2, target3, target4, target5];
    var currentClip:MovieClip;
    var startX:Number;
    var startY:Number;
    for(var i:int = 0; i < dragArray.length; i++) {
    dragArray[i].buttonMode = true;
    dragArray[i].addEventListener(MouseEvent.MOUSE_DOWN, item_onMouseDown);
    matchArray[i].alpha = 0.2;
    function item_onMouseDown(event:MouseEvent):void {
    currentClip = MovieClip(event.currentTarget);
    startX = currentClip.x;
    startY = currentClip.y;
    addChild(currentClip); //bring to the front
    currentClip.startDrag();
    stage.addEventListener(MouseEvent.MOUSE_UP, stage_onMouseUp);
    function stage_onMouseUp(event:MouseEvent):void {
    stage.removeEventListener(MouseEvent.MOUSE_UP, stage_onMouseUp);
    currentClip.stopDrag();
    var index:int = dragArray.indexOf(currentClip);
    var matchClip:MovieClip = MovieClip(matchArray[index]);
    if(matchClip.hitTestPoint(currentClip.x, currentClip.y, true)) {
      //a match was made! position the clip on the matching clip:
      currentClip.x = matchClip.x;
      currentClip.y = matchClip.y;
      //make it not draggable anymore:
      currentClip.removeEventListener(MouseEvent.MOUSE_DOWN, item_onMouseDown);
      currentClip.buttonMode = false;
    } else {
      //match was not made, so send the clip back where it started:
      currentClip.x = startX;
      currentClip.y = startY;

    Morning kglad, thanks for your help yesterday. I tried the code again and still have the same problems - you cant drop over another book and it nudges that book along aswell as the others to the right. Also if you drop a book back in its originally place - sometimes - it creates a gap next to it. The book still only seem happy in their original starting positions!
    Its very close, im continuing to try fiddle with it to get it working, have the whole of today to try and do this so the coffee is on!
    Ive taken some code out that I realise this morning I didnt't need - e.g the code that stops a book being dragged once you have positioned it (they need to be able to be repositioned more than once, and the code that sends a book back to its original position if you didnt reposition it over a target. If this was foolish please tell me! I have a feeling the latter was!
    so the code im trying to get working at the moment is:
    import flash.events.MouseEvent;
    import flash.display.MovieClip;
    var dragArray:Array = [red, blue, green, purple, yellow];
    var matchArray:Array = [target1, target2, target3, target4, target5];
    var currentClip:MovieClip;
    var startX:Number;
    var startY:Number;
    for(var i:int = 0; i < dragArray.length; i++) {
    // REMOVED
    //dragArray[i].buttonMode = true;
    dragArray[i].addEventListener(MouseEvent.MOUSE_DOWN, item_onMouseDown);
    matchArray[i].alpha = 0.2;
    function item_onMouseDown(event:MouseEvent):void {
    currentClip = MovieClip(event.currentTarget);
    startX = currentClip.x;
    startY = currentClip.y;
    addChild(currentClip); //bring to the front
    currentClip.startDrag();
    stage.addEventListener(MouseEvent.MOUSE_UP, stage_onMouseUp);
    function stage_onMouseUp(event:MouseEvent):void {
    stage.removeEventListener(MouseEvent.MOUSE_UP, stage_onMouseUp);
    currentClip.stopDrag();
    var index:int = dragArray.indexOf(currentClip);
    var matchClip:MovieClip = MovieClip(matchArray[index]);
    if(matchClip.hitTestPoint(currentClip.x, currentClip.y, true)) {
      //a match was made against a target:
      currentClip.x = matchClip.x;
      currentClip.y = matchClip.y;
    //REMOVED
    //make it not draggable anymore:
      //currentClip.removeEventListener(MouseEvent.MOUSE_DOWN, item_onMouseDown);
      //currentClip.buttonMode = false;
    for(var i:int=dragArray.indexOf(currentClip)+1;i<dragArray.length;i++){
    dragArray[i].x+=currentClip.width;
      // REMOVED
      //else {
      //match was not made, so send the clip back where it started:
      //currentClip.x = startX;
      //currentClip.y = startY;

  • Illustrator Default PDF, if open in Acro Pro, drag and drop other .ai files, will they also....

    Hi! I'm trying to archive (for myself and others for easy access) about 50 fairly complex .ai files in a single Illustrator Default PDF and maintain editability and preserve layer and grouping integrity for every separate file, and, i'm probably going to have to do this hundreds of times (at least!) in the future. Once i save the initial first pdf file through Illustrator (wish didn't even have to do this, but seems no way to do in Bridge), then open the resulting pdf w Acrobat Pro, can i then just select an entire folder's worth of ai files in Bridge, drag and drop them into the pages panel and still have the dragged and dropped files also preserve all their AI info and layer/ group integrity? An if not, thinking if not based on 20 similar experiments, what's a fast way to do this. Doing this manually each time: opening each file in AI then saving as AI pdf, then combining and arranging them all after the fact, would be, well, fairly effed in terms of time, carpal tunnel, arthritis etc. Experimented w Bridge PDF Output batching (terrible rasterized lo-res results, but great for its intended purpose) and just dragging and dropping into Acrobat (lose complicated layer names and info, all flattened to single layer). Any help most appreciated, and as i do not have regular access to das interwebs  (i live on a boat) would appreciate and heed gentle admonishment if i've misposted or broached any community etiquette here. I've researched this as well as i can but can't find anything efficient/ elegant not involving InDesign, and even then the details are skimpy. Thank You! Getting mentally exhausted and not a little loopy. Keep in mind had to teach myself both Illustrator, Acrobat etc with access to the very limited offline help menus (the boat), so a complex answer involving learning InDesign would be learning curve can't even imagine with everything else struggling to do. But if you're willing to babystep diagram it out for me or can find me a link that does i will not only be eternally grateful but will do my durndest to master it and pass it on....Thanks Again! lil mc szpf
    PS If it helps I'm running the diligent dogged dusty beloved workhorse CS4 Design Premium on 27" monitor 2010 Mac (OS X 10.6.8), and took advantage of rare housesitting net access to install all most recent updates of everything, i'm barely competent w AI, PS, BR and been tackling Acrobat for past couple of months now....

    im glad that somebody is atleast trying. perhaps i need to be more clear.
    i will step by step describe the issue in detail.
    1) i open an email that contains an attachment .dxf or .pdf
    2) i click on the attachment shown in the email and aprompt comes up asking if i want to open or save the attachment.
    3) i select save. (by default it saves to a downloads folder. but i have also chosen to use other folders (when i did that it wouldnt save them)
    4) i highlight the downloads arrow on the right top side of my browser and click it
    5) it pulls down a list of the files that i USED to be able to click and drag onto my destop, or anyplace i chose
    6) used to be when i clicked and held the left mouse button down on top of a file of my choosing it would highlight and as i began to drag, a ghost image would appear of the file i was dragging. showing a (/) symbol next to it showing i couldnt drop the file within the browser and a + simbol showing that i could drop the file when the file was hovering over a place where i could drop the file such as my desktop or other folder. now, when i click and hold on the file.... I DONT get anything. when i drag. nothing follows. while i am "dragging" in the area that is my browser, i get the pointy finger icon. as soon as i enter an area where i could have dropped the file as before, i get my standard cursor arrow.
    its really as if the drag and drop feature just dosent work IN FIREFOX.
    i can drag and drop files all day long everyplace else.

  • Xul drag and drop function doesn't work Firefox 17 ESR but works in Firefox 10 ESR

    I am having a problem with a xul drag and drop function designed for selenium rc and selenium IDE. It works in Firefox 10 ESR but does not work in Firefox 17 ESR.
    the code used for the draganddrop function is added below:
    Selenium.prototype.doXulDragAndDropToObject = function(locatorStartElement, locatorEndElement) {
    var startElement = this.page().findElement(locatorStartElement);
    if (startElement.wrappedJSObject) {
    startElement = startElement.wrappedJSObject;
    var endElement = this.page().findElement(locatorEndElement);
    if (endElement.wrappedJSObject) {
    endElement = endElement.wrappedJSObject;
    var dropValue;
    var startTreerow = getAncestorsByTagName(startElement, 'treerow')[0];
    var treeCells = startTreerow.children;
    for(var i=0; i<treeCells.length; i++) {
    var val = treeCells[i].getAttribute('value');
    if(val) {
    dropValue = JSON.parse(val);
    if(dropValue) {
    endElement.drop(dropValue);
    The is the error message I received when the draganddrop fails in FireFox 17 ESR:
    [error] Unexpected Exception: message -> An attempt was made to use an object that is not, or is no longer, usable, code -> 11, INDEX_SIZE_ERR -> 1, DOMSTRING_SIZE_ERR -> 2, HIERARCHY_REQUEST_ERR -> 3, WRONG_DOCUMENT_ERR -> 4, INVALID_CHARACTER_ERR -> 5, NO_DATA_ALLOWED_ERR -> 6, NO_MODIFICATION_ALLOWED_ERR -> 7, NOT_FOUND_ERR -> 8, NOT_SUPPORTED_ERR -> 9, INUSE_ATTRIBUTE_ERR -> 10, INVALID_STATE_ERR -> 11, SYNTAX_ERR -> 12, INVALID_MODIFICATION_ERR -> 13, NAMESPACE_ERR -> 14, INVALID_ACCESS_ERR -> 15, VALIDATION_ERR -> 16, TYPE_MISMATCH_ERR -> 17, SECURITY_ERR -> 18, NETWORK_ERR -> 19, ABORT_ERR -> 20, URL_MISMATCH_ERR -> 21, QUOTA_EXCEEDED_ERR -> 22, TIMEOUT_ERR -> 23, INVALID_NODE_TYPE_ERR -> 24, DATA_CLONE_ERR -> 25, result -> 2152923147, name -> InvalidStateError, filename -> chrome://selenium-ide/content/selenium-core/scripts/htmlutils.js, lineNumber -> 1183, columnNumber -> 0, location -> JS frame :: chrome://selenium-ide/content/selenium-core/scripts/htmlutils.js :: :: line 1183, inner -> null, data -> null
    firefox selenium-rc selenium-ide

    hello, your question conatins a few issues...
    *if you want to use the regular release version (firefox 18.0.2 at the moment) and not a beta version, then please download the setup file from getfirefox.com & install it on top of your current installation
    *when there is a folder named "old firefox data" on your desktop, then you've done a [[Reset Firefox – easily fix most problems|reset of firefox]] which had reset most of your preferences to the factory default & removed all extensions. if you want to revert that, go to ''firefox > help > troubleshooting information'' and click on ''profile folder/show folder''. a windows explorer window should open up. now close all open firefox windows and replace all the contents of your current profile folder with the data that is stored inside the "old firefox data" folder on your desktop.
    *the plugin check website isn't working at the moment - so the problem you're seeing here isn't on your end. hopefully this will be fixed soon on the server-side...

  • Drag and drop not working in PE 12, MacOS 10.7.5 (Lion)

    I "copied" the icon for the Photoshop Elements 12 Editor to the dock.  When I drag and drop a photo icon (example, JPG or NEF) to the Elements Editor icon in the dock, nothing happens -- Elements does not open.  The photo icon just "pops" back to the folder I was dragging it from.  Every previous version of Elements that I've used behaved like any other Mac application and opened the photo (with an NEF file, the photo opened properly in ACR).  Other Mac applications like Preview open a file just fine when it I drag and drop the file on the application icon.
    I tried the same experiment with both the Editor and Organizer icons in my Applications folder and got the same results (the application did not open the file).
    I skimmed through the PE Preferences to see if there was some kind of new preference for "drag and drop" behavior but didn't find anything.
    So, what am I missing?  How can I get PE 12 to open a file when I drag and drop a photo icon onto the Editor (or if I really have to, the Organizer) icon?

    Drag & drop works fine for me on 10.9
    You have possibly copied the wrong icon, The application is located in Support Files.
    Applications >> Adobe Photoshop Elements 12 >> Support Files
    Locate Photoshop Elements 12 Editor inside the Support Files Folder.

  • Drag and Drop in JSP

    Hi all,
    I want to add drag and drop facilities in my JSP pages such as i have two frames in a page and i want to drag a text or ms word file to the other frame. How can i do that.
    Also, i have 5 different versions of of an MS word document in database. I want to use '+' or '-' sign to show all the versions of the document. For example, when a person first visit the page it will show the latest version of the document with a '+' sign on the left of the document so if i click that it will expand like it does in windows so i can see other versions. I know it is critical but can anyone please have any idea.
    Thanks very much

    Is this a search engine for lazy people ?
    Drag and Drop with MSIE 5
    Drag and Drop Sample
    JavaScript TreeView
    andi

  • Drag and Drop Between two Panels

    Hi,
    I am working with Swings,i created two Panels A and B. I kept some GIF or Image in Panel A,i would like to drag the gif object in to Panel B.
    when i try like this,my mouse could not communicate with two panels A and B.mouse events working Individualey,i mean mouse events working in same panel.
    Plz let me know how to communicate with two different panels with mouse. Drag and Drop between Panel A and Panel B.
    Thanking you
    MyProblems

    You might check out the Drag and Drop tutorial, especially the section Data Transfer with a Custom Component.
    Here's another approach using an overlayed non&#8211;opaque JPanel as a transfer device. The image label is transfered to the (fake) glass pane and dragged. On mouse release it is added to the JPanel below. Although I didn't build in any boundry&#8211;checking it would be a useful thing. Mostly to ensure a suitable drop target and component location in it.
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.net.*;
    import javax.imageio.ImageIO;
    import javax.swing.*;
    import javax.swing.event.*;
    public class DraggingTest
        public static void main(String[] args)
            LeftPanel left = new LeftPanel();
            JPanel right = new JPanel();
            right.setBackground(new Color(200,240,220));
            right.setLayout(null);
            JPanel panel = new JPanel(new GridBagLayout());
            GridBagConstraints gbc = new GridBagConstraints();
            gbc.weightx = 1.0;
            gbc.weighty = 1.0;
            gbc.fill = gbc.BOTH;
            panel.add(left, gbc);
            panel.add(right, gbc);
            JPanel glassPanel = new JPanel();
            glassPanel.setOpaque(false);
            JPanel overlay = new JPanel();
            OverlayLayout layout = new OverlayLayout(overlay);
            overlay.setLayout(layout);
            overlay.add(glassPanel);
            overlay.add(panel);
            ImageMover mover = new ImageMover(left, right, glassPanel);
            glassPanel.addMouseListener(mover);
            glassPanel.addMouseMotionListener(mover);
            JFrame f = new JFrame();
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.getContentPane().add(overlay);
            f.setSize(400,400);
            f.setLocation(600,325);
            f.setVisible(true);
    class LeftPanel extends JPanel
        Image image;
        JLabel label;
        public LeftPanel()
            loadImage();
            setBackground(Color.white);
            setLayout(null);
            label = new JLabel(new ImageIcon(image));
            label.setName("imageLabel");
            Dimension d = label.getPreferredSize();
            label.setBounds(40, 40, d.width, d.height);
            add(label);
        private void loadImage()
            String fileName = "images/dukeWaveRed.gif";
            try
                URL url = getClass().getResource(fileName);
                image = ImageIO.read(url);
            catch(MalformedURLException mue)
                System.out.println(mue.getMessage());
            catch(IOException ioe)
                System.out.println(ioe.getMessage());
    class ImageMover extends MouseInputAdapter
        LeftPanel left;
        JPanel right, glassPanel;
        JPanel activePanel;
        Component selectedComponent;  // imageLabel
        Point offset;
        boolean dragging, selected;
        public ImageMover(LeftPanel lp, JPanel p, JPanel gp)
            left = lp;
            right = p;
            glassPanel = gp;
            offset = new Point();
            dragging = false;
            selected = false;
        public void mousePressed(MouseEvent e)
            Point p = e.getPoint();
            // which panel is the mouse over
            if(!setActivePanel(p));
                return;
            // get reference to imageLabel or return
            selectedComponent = getImageLabel();
            if(selectedComponent == null)
                return;
            Rectangle labelR = selectedComponent.getBounds();
            Rectangle panelR = activePanel.getBounds();
            if(labelR.contains(p.x - panelR.x, p.y))
                activePanel.remove(selectedComponent);
                selected = true;
                glassPanel.add(selectedComponent);
                offset.x = p.x - labelR.x - panelR.x;
                offset.y = p.y - labelR.y - panelR.y;
                dragging = true;
        public void mouseReleased(MouseEvent e)
            Point p = e.getPoint();
            if(!contains(glassPanel, selectedComponent))
                return;
            glassPanel.remove(selectedComponent);
            setActivePanel(p);
            activePanel.add(selectedComponent);
            Rectangle r = activePanel.getBounds();
            int x = p.x - offset.x - r.x;
            int y = p.y - offset.y;
            Dimension d = selectedComponent.getSize();
            selectedComponent.setBounds(x, y, d.width, d.height);
            glassPanel.repaint();
            activePanel.repaint();
            dragging = false;
        public void mouseDragged(MouseEvent e)
            if(dragging)
                Point p = e.getPoint();
                int x = p.x - offset.x;
                int y = p.y - offset.y;
                Dimension d = selectedComponent.getSize();
                selectedComponent.setBounds(x, y, d.width, d.height);
                if(!selected)
                    activePanel.repaint();
                    selected = false;
                glassPanel.repaint();
        private boolean contains(JPanel p, Component comp)
            Component[] c = p.getComponents();
            for(int j = 0; j < c.length; j++)
                if(c[j] == comp)
                    return true;
            return false;
        private boolean setActivePanel(Point p)
            activePanel = null;
            Rectangle r = left.getBounds();
            if(r.contains(p))
                activePanel = left;
            r = right.getBounds();
            if(r.contains(p))
               activePanel = right;
            if(activePanel != null)
                return true;
            return false;
        private Component getImageLabel()
            Component[] c = activePanel.getComponents();
            for(int j = 0; j < c.length; j++)
                if(c[j].getName().equals("imageLabel"))
                    return c[j];
            return null;
    }

Maybe you are looking for

  • HP Laser Jet P2055 tray 1.... paper jams up

    HP Laser Jet P2055 I cannot print from Tray 1.   The paper starts to feed but it jams at the rollers.  In the past, I just had to clean the rollers, and this fixed the issue.  Now, this is not taking care jamming issue. Would replacement part solve m

  • I formatted my iPhone 5 and now it won't activate. I've tried connecting it to iTunes, and I've tried restoring it with Itunes.

    I formatted my iPhone 5 and now it won't activate. I've tried connecting it to iTunes, and I've tried restoring it with Itunes. Im stuck on the wifi screen where you activate the phone. Please help

  • Outbound Apple Mail Gmail Messages Trapped in Outbox

    Mavens, On an iMac running Mavericks (OS X 10.9 (13A603)) and Apple Mail 7.0 (1822), outbound GMail messages remain trapped in the Outbox. NOTE: This GMail account is using Google's 2-step Verification with an Application-specific Password for Apple

  • SAP DMS - SAP ECC network traffic

    Hi all, I have the following situation: The SAP ECC servers are hosted outside my company and we are planning to install a SAP DMS server. We have 2 options: host the SAP DMS outside or install SAP DMS in our datacenter. When the SAP user attaches or

  • AEx doesn't see all of my files

    Hi, I installed an Airdisk yesterday. It's a 1TB Seagate Freeagent formatted in FAT32 with 840GB in a folder called itunes files\lossless. It's assigned as the Z: drive on both my Windows XP machines. That folder contains subfolders for each artist (