Paint Drag Preview

Hi there,
Here's a challenging little problem I need to solve. Below is a test project whose sole purpose is to demonstrate, what I call, a "paintDragPreview". What I mean by this is show the drawn outline of a component as it is being dragged to another position on a JPanel. For purposes of simplicity and education, I'm not actually going to relocate the component in this test project. The component can stay where it is. I'm just going to use the normal FlowLayoutManager to place the component on a JPanel. In a larger project I am actually using an XYLayoutManager which allows me to place a component anywhere on the JPanel after I finish dragging it to another location.
For this test project, in order to draw an outline of a component, I needed layers of JPanels. One that has its layout manager set to OverlayLayout(...), another named WhiteBoard (where I place the component), and another on top of the WhiteBoard named glassPane. It is on the glassPane that I draw an outline of the component as it is being dragged across the WhiteBoard. So far, so good.
Here's the problem I face at this juncture and you can copy/paste, compile and run the code below to confirm the behaviour of this test project so far. As you place your mouse cursor over the LabelComponent the cursor changes to the crosshairs cursor indicating that the component can be moved. As you press the left mouse button the current coordinates of the LabelComponent is registered. As you begin to drag the component the glassPane draws a rectangle representing the component and repaints for every pixel that you drag the mouse. What is supposed to happen next is on the mouseReleased(..) the component becomes relocated in the new position. However, as I said before, I'm not taking this test project that far.
I just want to show that as the rectangle is drawn on the glassPane we loose sight of the LabelComponent. It disappears! We can't see anything below the glassPane! This is because we set the glassPane.setVisible(...) method to true while dragging and back to false upon mouseReleased(...). This is necessary in order to see what's being drawn on the glassPane. However, this is not the behaviour I want.
DESIRED BEHAVIOUR: I want to both see the component below the glassPane and also see the rectangle as it is being repainted as we drag the mouse across the WhiteBoard. I've played with the setOpaque(...) method for the glassPane but that doesn't seem to help much.
As a reference, I consulted the example for Glass Pane at the following URL: http://java.sun.com/docs/books/tutorial/uiswing/components/rootpane.html
When you run that example project you can still see the components below the Glass Pane the whole time while the red dot is being painted on the Glass Pane. I fail to see a difference between that example project and mine. Perhaps someone can help on this one?
Thanks,
Alan
//place in a seperate file
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.awt.geom.*;
import javax.swing.event.*;
import javax.swing.border.*;
public class LabelComponent extends JLabel
  private JPanel parent;
  private boolean selected = true; 
  public LabelComponent()
    super();
  public LabelComponent(String text, JPanel parent)
    super(text);
    this.parent = parent;
    // Enable the events that you want to process.
    enableEvents(AWTEvent.MOUSE_MOTION_EVENT_MASK);
    enableEvents(AWTEvent.MOUSE_EVENT_MASK);
    //create a border for this object
    setBorder(new LineBorder(Color.blue, 2));
  public LabelComponent(JPanel parent)
    this.parent = parent;
    // Enable the events that you want to process.
    enableEvents(AWTEvent.MOUSE_MOTION_EVENT_MASK);
    enableEvents(AWTEvent.MOUSE_EVENT_MASK);
    //create a border for this object
    setBorder(new LineBorder(Color.blue, 2));
  public JPanel getParent()
    return parent;
  private void changeBorderColor(Color color)
    setBorder(new LineBorder(color, 2));
  public void processMouseEvent(MouseEvent evt)
    //In order so that coordinates appear properly on JCanvas ruler
    //as if TextComponent was any other Shape object, we're going
    //to adjust the values for X & Y of the MouseEvent before
    //passing it on.
    Rectangle rect = getBounds();
    Double xOffset = new Double(rect.getX());
    Double yOffset = new Double(rect.getY());
    evt.translatePoint(xOffset.intValue(), yOffset.intValue());
    if(selected)
      parent.dispatchEvent(evt);      
    else
      super.processMouseEvent(evt);
  public void processMouseMotionEvent(MouseEvent evt)
    //In order so that coordinates appear properly on JCanvas ruler
    //as if TextComponent was any other Shape object, we're going
    //to adjust the values for X & Y of the MouseEvent before
    //passing it on.
    Rectangle rect = getBounds();
    Double xOffset = new Double(rect.getX());
    Double yOffset = new Double(rect.getY());
    evt.translatePoint(xOffset.intValue(), yOffset.intValue());
    if(selected)
      parent.dispatchEvent(evt);      
    else
      super.processMouseEvent(evt);
  public Cursor getCursor() {
        if(selected)
           return new Cursor(Cursor.MOVE_CURSOR);
         else
            return new Cursor(Cursor.TEXT_CURSOR);
  public void setSelected(boolean value)
    System.out.println("TextComponent.setSelected() == " + value);
    if(value)
      changeBorderColor(Color.blue);
    else
      changeBorderColor(Color.black);
    selected = value;   
  public boolean isSelected()
    return selected;
* place in a seperate file
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.event.*;
import javax.swing.border.*;
public class OverlayTest extends JFrame
  JPanel whiteboard = new JPanel();
  MyGlassPane glass = new MyGlassPane(whiteboard);
  public static void main(String[] args)
    OverlayTest ot = new OverlayTest();
    ot.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    ot.init();
  public void init()
    setSize(300, 300);
    Container contentPane = getContentPane();
    contentPane.setLayout(new OverlayLayout(contentPane));
    whiteboard.setLayout(new FlowLayout());
    glass.setLayout(null);   
    LabelComponent label = new LabelComponent("MyComponent", whiteboard);
    whiteboard.add(label);
    whiteboard.addMouseListener(new MouseAdapter()
            public void mousePressed(MouseEvent e)
              glass.mousePressed(e);
            public void mouseReleased(MouseEvent e)
              glass.mouseReleased(e);
    whiteboard.addMouseMotionListener(new MouseMotionAdapter()
            public void mouseDragged(MouseEvent e)
              //System.out.println("whiteboard.mouseDragged");
              glass.mouseDragged(e);
            public void mouseMoved(MouseEvent e)
              //System.out.println("whiteboard.mouseMoved");
              glass.mouseMoved(e);
    contentPane.add(whiteboard);
    contentPane.add(glass);
    setVisible(true);
  class MyGlassPane extends JPanel implements MouseListener, MouseMotionListener
    boolean shouldDrawRect = false;
    Rectangle rect = null;   
    int XOffset = 0;
    int YOffset = 0;
    CBListener listener = null;
    public MyGlassPane(Container whiteboard)
        listener = new CBListener(this, whiteboard);
        addMouseListener(listener);
        addMouseMotionListener(listener);
    public void setDrawRect(boolean value)
      shouldDrawRect = value;
    public boolean areBoundsSet()
      if(rect != null)
         return true;
      return false;
    public void translate(double x, double y)
        this.XOffset += x;
        this.YOffset += y;
        //System.out.println("XOffset: " + XOffset + " YOffset: " + YOffset);
    public void mouseDragged(MouseEvent e)
       if(listener != null)
         //System.out.println("MyGlassPane.mouseDragged");
         listener.mouseDragged(e);
    public void mouseMoved(MouseEvent e)
       if(listener != null)
         //System.out.println("MyGlassPane.mouseMoved");
         listener.mouseMoved(e);
    public void mouseClicked(MouseEvent e) {
     public void mouseEntered(MouseEvent e) {
     public void mouseExited(MouseEvent e) {
     public void mousePressed(MouseEvent e)
       Object o = e.getSource();
       if(o instanceof JLabel)
         JLabel label = (JLabel)o;
         rect = label.getBounds();
         System.out.println("rect.getX(): " + rect.getX() + " rect.getY(): " + rect.getY() + " rect.getWidth(): " + rect.getWidth() + " rect.getHeight(): " + rect.getHeight());
     public void mouseReleased(MouseEvent e)
        if(listener != null)
          System.out.println("MyGlassPane.mouseReleased");
          listener.mouseReleased(e);
          shouldDrawRect = false;
          repaint();
          setVisible(false);
    protected void paintComponent(Graphics g)
        super.paintComponent(g);
        if(shouldDrawRect && rect != null)
           //We're dealing with a component
           g.setColor(Color.BLACK);
           double xValue = 0.0;
           double yValue = 0.0;
           //Solve for xValue first
           if(XOffset > 0.0)
             xValue = rect.getX() + XOffset;
           else
             xValue = rect.getX() - (XOffset * -1);
           //Solve for yValue next
           if(YOffset > 0.0 )
             yValue = rect.getY() + YOffset;
           else
             yValue = rect.getY() - (YOffset * -1);
           int x = new Double(xValue).intValue();
           int y = new Double(yValue).intValue();
           int width = new Double(rect.getWidth()).intValue();
           int height = new Double(rect.getHeight()).intValue();
           //System.out.println("xValue: " + xValue + " yValue: " + yValue + " XOffset: " + XOffset + " YOffset: " + YOffset);
           g.drawRect(x, y, width, height);
     * Listen for all events that our check box is likely to be
     * interested in.  Redispatch them to the check box.
   class CBListener extends MouseInputAdapter
     MyGlassPane glassPane;
     Container WhiteBoard;
     private Point theLastDraggingPosition;
    public CBListener(MyGlassPane glassPane, Container whiteboard)
       this.glassPane = glassPane;
       this.WhiteBoard = whiteboard;
     public void mouseMoved(MouseEvent e) {
       //System.out.println("CBListener.mouseMoved");
       redispatchMouseEvent(e, false);
     public void mouseDragged(MouseEvent e) {
       //System.out.println("CBListener.mouseDragged");
       redispatchMouseEvent(e, true);
     public void mouseClicked(MouseEvent e) {
       redispatchMouseEvent(e, false);
     public void mouseEntered(MouseEvent e) {
     public void mouseExited(MouseEvent e) {
     public void mousePressed(MouseEvent e) {
       redispatchMouseEvent(e, false);
     public void mouseReleased(MouseEvent e) {
       redispatchMouseEvent(e, false);
     //A basic implementation of redispatching events.
     private void redispatchMouseEvent(MouseEvent e, boolean repaint)
        Point glassPanePoint = e.getPoint();
        if(glassPane.areBoundsSet())
          int deltaX = 0;
          int deltaY = 0;
          if(theLastDraggingPosition != null)
            deltaX = glassPanePoint.x - theLastDraggingPosition.x;
            deltaY = glassPanePoint.y - theLastDraggingPosition.y;
          glassPane.translate(deltaX,deltaY);
          theLastDraggingPosition = glassPanePoint;
        //Update the glass pane if requested.
        if (repaint)
          glassPane.setVisible(true);
          glassPane.setDrawRect(true);
          glassPane.repaint();           
}Edited by: ashiers on Oct 8, 2007 10:05 AM

OK. For those who may be interested, the subject of the Glass Pane has been of great interest on this forum. Therefore, I've re-written this sample project so that others can see what I've done to demonstrate how one performs a "Paint Drag Preview" for a WhiteBoard by using a JPanel as a Glass Pane to draw a rectangular representation of an object being dragged to a new location. Keep in mind this example doesn't actually relocate the component. You will have to implement that logic on your own. I would recommend using an XYLayout Manager for the WhiteBoard. Hope this is helpful for someone else as it has been instructional for me.
Alan
//place in a seperate file
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.awt.geom.*;
import javax.swing.event.*;
import javax.swing.border.*;
public class LabelComponent extends JLabel
  private JPanel parent;
  private boolean selected = true; 
  public LabelComponent()
    super();
  public LabelComponent(String text, JPanel parent)
    super(text);
    this.parent = parent;
    // Enable the events that you want to process.
    enableEvents(AWTEvent.MOUSE_MOTION_EVENT_MASK);
    enableEvents(AWTEvent.MOUSE_EVENT_MASK);
    //create a border for this object
    setBorder(new LineBorder(Color.blue, 2));
  public LabelComponent(JPanel parent)
    this.parent = parent;
    // Enable the events that you want to process.
    enableEvents(AWTEvent.MOUSE_MOTION_EVENT_MASK);
    enableEvents(AWTEvent.MOUSE_EVENT_MASK);
    //create a border for this object
    setBorder(new LineBorder(Color.blue, 2));
  public JPanel getParent()
    return parent;
  private void changeBorderColor(Color color)
    setBorder(new LineBorder(color, 2));
  public void processMouseEvent(MouseEvent evt)
    //In order so that coordinates appear properly on JCanvas ruler
    //as if TextComponent was any other Shape object, we're going
    //to adjust the values for X & Y of the MouseEvent before
    //passing it on.
    Rectangle rect = getBounds();
    Double xOffset = new Double(rect.getX());
    Double yOffset = new Double(rect.getY());
    evt.translatePoint(xOffset.intValue(), yOffset.intValue());
    if(selected)
      parent.dispatchEvent(evt);      
    else
      super.processMouseEvent(evt);
  public void processMouseMotionEvent(MouseEvent evt)
    //In order so that coordinates appear properly on JCanvas ruler
    //as if TextComponent was any other Shape object, we're going
    //to adjust the values for X & Y of the MouseEvent before
    //passing it on.
    Rectangle rect = getBounds();
    Double xOffset = new Double(rect.getX());
    Double yOffset = new Double(rect.getY());
    evt.translatePoint(xOffset.intValue(), yOffset.intValue());
    if(selected)
      parent.dispatchEvent(evt);      
    else
      super.processMouseEvent(evt);
  public Cursor getCursor() {
        if(selected)
           return new Cursor(Cursor.MOVE_CURSOR);
         else
            return new Cursor(Cursor.TEXT_CURSOR);
  public void setSelected(boolean value)
    System.out.println("TextComponent.setSelected() == " + value);
    if(value)
      changeBorderColor(Color.blue);
    else
      changeBorderColor(Color.black);
    selected = value;   
  public boolean isSelected()
    return selected;
//place in a seperate file
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.event.*;
import javax.swing.border.*;
public class OverlayTest extends JFrame
  JPanel whiteboard = new JPanel();
  MyGlassPane glass = new MyGlassPane(whiteboard);
  public static void main(String[] args)
    OverlayTest ot = new OverlayTest();
    ot.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    ot.init();
  public void init()
    setSize(400, 400);
    Container contentPane = getContentPane();
    contentPane.setLayout(new BorderLayout());
    whiteboard.setLayout(new FlowLayout());
    whiteboard.setBackground(Color.yellow);
    JPanel buttonPanel1 = new JPanel();
    JPanel buttonPanel2 = new JPanel();
    buttonPanel1.add(new JButton("Foo"));
    buttonPanel1.add(new JButton("Bar"));
    buttonPanel2.add(new JButton("Foo"));
    buttonPanel2.add(new JButton("Bar"));
    glass.setLayout(null);   
    LabelComponent label = new LabelComponent("MyComponent", whiteboard);
    whiteboard.add(label);
    whiteboard.addMouseListener(new MouseAdapter()
            public void mousePressed(MouseEvent e)
              glass.mousePressed(e);
            public void mouseReleased(MouseEvent e)
              glass.mouseReleased(e);
    whiteboard.addMouseMotionListener(new MouseMotionAdapter()
            public void mouseDragged(MouseEvent e)
              //System.out.println("whiteboard.mouseDragged");
              glass.mouseDragged(e);
            public void mouseMoved(MouseEvent e)
              //System.out.println("whiteboard.mouseMoved");
              glass.mouseMoved(e);
    contentPane.add(whiteboard, BorderLayout.CENTER);
    contentPane.add(buttonPanel1, BorderLayout.WEST);
    contentPane.add(buttonPanel2, BorderLayout.NORTH);
    setGlassPane(glass);
    setVisible(true);
  class MyGlassPane extends JComponent implements MouseListener, MouseMotionListener
    boolean shouldDrawRect = false;
    Rectangle rect = null;   
    int XOffset = 0;
    int YOffset = 0;
    CBListener listener = null;
    Container whiteboard = null;
    public MyGlassPane(Container whiteboard)
        this.whiteboard = whiteboard;
        listener = new CBListener(this, whiteboard);
        addMouseListener(listener);
        addMouseMotionListener(listener);
        setOpaque(false);
    public void setDrawRect(boolean value)
      shouldDrawRect = value;
    public boolean areBoundsSet()
      if(rect != null)
         return true;
      return false;
    public void translate(double x, double y)
        this.XOffset += x;
        this.YOffset += y;
        //System.out.println("XOffset: " + XOffset + " YOffset: " + YOffset);
    public void mouseDragged(MouseEvent e)
       if(listener != null)
         //System.out.println("MyGlassPane.mouseDragged");
         listener.mouseDragged(e);
    public void mouseMoved(MouseEvent e)
       if(listener != null)
         //System.out.println("MyGlassPane.mouseMoved");
         listener.mouseMoved(e);
    public void mouseClicked(MouseEvent e) {
     public void mouseEntered(MouseEvent e) {
     public void mouseExited(MouseEvent e) {
     public void mousePressed(MouseEvent e)
       Object o = e.getSource();
       if(o instanceof JLabel)
         JLabel label = (JLabel)o;
         rect = label.getBounds();
         System.out.println("rect.getX(): " + rect.getX() + " rect.getY(): " + rect.getY() + " rect.getWidth(): " + rect.getWidth() + " rect.getHeight(): " + rect.getHeight());
     public void mouseReleased(MouseEvent e)
        if(listener != null)
          System.out.println("MyGlassPane.mouseReleased");
          listener.mouseReleased(e);
          shouldDrawRect = false;
          repaint();
          setVisible(false);
    protected void paintComponent(Graphics g)
        super.paintComponent(g);
        if(shouldDrawRect && rect != null)
           //Get the bounds of the whiteboard so that the rectangle
           //is drawn over the same space and not somewhere else in the JFrame.
           Rectangle rectangle = whiteboard.getBounds();
           double wbX = rectangle.getX();
           double wbY = rectangle.getY();
           //System.out.println("wbX: " + wbX + " wbY: " + wbY);
           //We're dealing with a component
           g.setColor(Color.BLACK);
           double xValue = 0.0;
           double yValue = 0.0;
           //Solve for xValue first
           if(XOffset > 0.0)
             xValue = rect.getX() + XOffset;
           else
             xValue = rect.getX() - (XOffset * -1);
           //Solve for yValue next
           if(YOffset > 0.0 )
             yValue = rect.getY() + YOffset;
           else
             yValue = rect.getY() - (YOffset * -1);
           //Now adjust the xValue and yValue to provide
           //proper coordinates over the whiteboard.
           xValue = wbX + xValue;
           yValue = wbY + yValue;
           int x = new Double(xValue).intValue();
           int y = new Double(yValue).intValue();
           int width = new Double(rect.getWidth()).intValue();
           int height = new Double(rect.getHeight()).intValue();
           System.out.println("xValue: " + xValue + " yValue: " + yValue + " XOffset: " + XOffset + " YOffset: " + YOffset);
           //Prevent the rectangle from being drawn outside the bounds
           //of the whiteboard.
           if(xValue > wbX && yValue > wbY)
              g.drawRect(x, y, width, height);
     * Listen for all events that our check box is likely to be
     * interested in.  Redispatch them to the check box.
   class CBListener extends MouseInputAdapter
     MyGlassPane glassPane;
     Container WhiteBoard;
     private Point theLastDraggingPosition;
    public CBListener(MyGlassPane glassPane, Container whiteboard)
       this.glassPane = glassPane;
       this.WhiteBoard = whiteboard;
     public void mouseMoved(MouseEvent e) {
       //System.out.println("CBListener.mouseMoved");
       redispatchMouseEvent(e, false);
     public void mouseDragged(MouseEvent e) {
       //System.out.println("CBListener.mouseDragged");
       redispatchMouseEvent(e, true);
     public void mouseClicked(MouseEvent e) {
       redispatchMouseEvent(e, false);
     public void mouseEntered(MouseEvent e) {
     public void mouseExited(MouseEvent e) {
     public void mousePressed(MouseEvent e) {
       redispatchMouseEvent(e, false);
     public void mouseReleased(MouseEvent e) {
       redispatchMouseEvent(e, false);
     //A basic implementation of redispatching events.
     private void redispatchMouseEvent(MouseEvent e, boolean repaint)
        Point glassPanePoint = e.getPoint();
        if(glassPane.areBoundsSet())
          int deltaX = 0;
          int deltaY = 0;
          if(theLastDraggingPosition != null)
            deltaX = glassPanePoint.x - theLastDraggingPosition.x;
            deltaY = glassPanePoint.y - theLastDraggingPosition.y;
          glassPane.translate(deltaX,deltaY);
          theLastDraggingPosition = glassPanePoint;
        //Update the glass pane if requested.
        if (repaint)
          glassPane.setVisible(true);
          glassPane.setDrawRect(true);
          glassPane.repaint();           
}Edited by: ashiers on Oct 10, 2007 7:06 AM

Similar Messages

  • Dragging preview copies master

    For years I've been organizing my library in Aperture, and dragging thumbnails to the desktop for quick PDFs and 1-off emails.
    This worked with RAW images, PDS files, adjusted or un-adjusted images. I would always drag out a preview .jpg version of the image.
    I've started a new Library, and now, when I drag a PSD file that I've imported, it copies the full PSD file to the desktop!
    If I make any adjustment to the file, even adjusting exposure and then re-settting it to 0, then the preview will be transferred, but for straight files, it copies the Master to the desktop.
    I've tried updating previews, deleting and re-generating previews to no avail. All preferences are identical, and when I switch back to my older library, the previews drag correctly. It's just the new library, created with the newest version of Aperture, that seems to work incorrectly.
    I say "incorrectly" because Apple documentation states that the preview should be copied, not the original.
    UPON FURTHER EXPERIMENTATION.. I realize that the original Master PDF is being used as the share between iPhoto, Mail, etc. When I drag from the Media Browser in Mail, I get the full PDF, not a Preview.
    Any help would be appreciated.
    Mac Pro
    Mountain Lion
    Aperture
    All up to date

    That are interesting observations.
    You may want to have a look at this thread. There are major, still undocumented changes to the way that previews are now handled:
    Major change to previews in 3.5?
    We are still exploring the new behaviour.
    Regards
    Léonie

  • Preview often crashes

    Hi,
    I have this issue: preview often crashes. Please, help me. What can I do?
    This is the console summary. Thanks!
    Process:         Preview [259]
    Path:            /Applications/Preview.app/Contents/MacOS/Preview
    Identifier:      com.apple.Preview
    Version:         5.0.3 (504.1)
    Build Info:      Preview-5040100~2
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [98]
    Date/Time:       2011-07-11 18:23:28.256 +0200
    OS Version:      Mac OS X 10.6.8 (10K540)
    Report Version:  6
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000010
    Crashed Thread:  0  Dispatch queue: com.apple.main-thread
    Application Specific Information:
    objc_msgSend() selector name: window
    Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
    0   libobjc.A.dylib                         0x00007fff86706f0c objc_msgSend + 40
    1   com.apple.imageKit                      0x00007fff82254cdf -[IKCameraDeviceViewHandler updateItemDisplay:] + 242
    2   com.apple.Foundation                    0x00007fff838fc54f __NSThreadPerformPerform + 219
    3   com.apple.CoreFoundation                0x00007fff84a72401 __CFRunLoopDoSources0 + 1361
    4   com.apple.CoreFoundation                0x00007fff84a705f9 __CFRunLoopRun + 873
    5   com.apple.CoreFoundation                0x00007fff84a6fdbf CFRunLoopRunSpecific + 575
    6   com.apple.HIToolbox                     0x00007fff85ba87ee RunCurrentEventLoopInMode + 333
    7   com.apple.HIToolbox                     0x00007fff85ba85f3 ReceiveNextEventCommon + 310
    8   com.apple.HIToolbox                     0x00007fff85ba84ac BlockUntilNextEventMatchingListInMode + 59
    9   com.apple.AppKit                        0x00007fff88b8aeb2 _DPSNextEvent + 708
    10  com.apple.AppKit                        0x00007fff88b8a801 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
    11  com.apple.AppKit                        0x00007fff88b5068f -[NSApplication run] + 395
    12  com.apple.AppKit                        0x00007fff88b493b0 NSApplicationMain + 364
    13  com.apple.Preview                       0x0000000100001454 start + 52
    Thread 1:  Dispatch queue: com.apple.libdispatch-manager
    0   libSystem.B.dylib                       0x00007fff8742bc0a kevent + 10
    1   libSystem.B.dylib                       0x00007fff8742dadd _dispatch_mgr_invoke + 154
    2   libSystem.B.dylib                       0x00007fff8742d7b4 _dispatch_queue_invoke + 185
    3   libSystem.B.dylib                       0x00007fff8742d2de _dispatch_worker_thread2 + 252
    4   libSystem.B.dylib                       0x00007fff8742cc08 _pthread_wqthread + 353
    5   libSystem.B.dylib                       0x00007fff8742caa5 start_wqthread + 13
    Thread 2:
    0   libSystem.B.dylib                       0x00007fff8742ca2a __workq_kernreturn + 10
    1   libSystem.B.dylib                       0x00007fff8742ce3c _pthread_wqthread + 917
    2   libSystem.B.dylib                       0x00007fff8742caa5 start_wqthread + 13
    Thread 3:
    0   libSystem.B.dylib                       0x00007fff8742ca2a __workq_kernreturn + 10
    1   libSystem.B.dylib                       0x00007fff8742ce3c _pthread_wqthread + 917
    2   libSystem.B.dylib                       0x00007fff8742caa5 start_wqthread + 13
    Thread 4:
    0   libSystem.B.dylib                       0x00007fff8742ca98 start_wqthread + 0
    Thread 0 crashed with X86 Thread State (64-bit):
      rax: 0x0000000000000030  rbx: 0x00000001018dec90  rcx: 0x0000000000000006  rdx: 0x00000001018e49b0
      rdi: 0x0000000115c428b0  rsi: 0x00007fff892810c0  rbp: 0x00007fff5fbfe8d0  rsp: 0x00007fff5fbfe8a8
       r8: 0x0000000000000006   r9: 0x0000000000000000  r10: 0x00007fff838dae52  r11: 0x0000000000000000
      r12: 0x0000000100369cd0  r13: 0x0000000000000000  r14: 0x00000001012eac00  r15: 0x0000000101800110
      rip: 0x00007fff86706f0c  rfl: 0x0000000000010202  cr2: 0x0000000000000010
    Binary Images:
           0x100000000 -        0x100169ff7  com.apple.Preview 5.0.3 (504.1) <18721FE6-B8BA-6541-DEF6-9D366917376F> /Applications/Preview.app/Contents/MacOS/Preview
           0x115b65000 -        0x115b8bfff  GLRendererFloat ??? (???) <490221DD-53D9-178E-3F31-3A4974D34DCD> /System/Library/Frameworks/OpenGL.framework/Resources/GLRendererFloat.bundle/GL RendererFloat
           0x115d00000 -        0x115e93fe7  GLEngine ??? (???) <53A8A7E8-4846-D236-F3D9-DA3F2AF686D8> /System/Library/Frameworks/OpenGL.framework/Resources/GLEngine.bundle/GLEngine
           0x115ec4000 -        0x1162e7fef  libclh.dylib 3.1.1 C  (3.1.1) <432F5475-F934-92A0-FB49-78F03DA82176> /System/Library/Extensions/GeForceGLDriver.bundle/Contents/MacOS/libclh.dylib
           0x200000000 -        0x200787fe7  com.apple.GeForceGLDriver 1.6.36 (6.3.6) <4F23289A-D45A-0630-8D7F-4C35A4D2AA00> /System/Library/Extensions/GeForceGLDriver.bundle/Contents/MacOS/GeForceGLDrive r
        0x7fff5fc00000 -     0x7fff5fc3bdef  dyld 132.1 (???) <B536F2F1-9DF1-3B6C-1C2C-9075EA219A06> /usr/lib/dyld
        0x7fff80003000 -     0x7fff80036ff7  libTrueTypeScaler.dylib ??? (???) <69D4A213-45D2-196D-7FF8-B52A31DFD329> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/Resources/libTrueTypeScaler.dylib
        0x7fff80037000 -     0x7fff80046fff  com.apple.NetFS 3.2.2 (3.2.2) <7CCBD70E-BF31-A7A7-DB98-230687773145> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
        0x7fff801d6000 -     0x7fff80240fe7  libvMisc.dylib 268.0.1 (compatibility 1.0.0) <7BD7F19B-ACD4-186C-B42D-4DEBA6795628> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvMisc.dylib
        0x7fff80249000 -     0x7fff8025afff  com.apple.DSObjCWrappers.Framework 10.6 (134) <CF1D9C05-8D77-0FFE-38E8-63D8A23E92E1> /System/Library/PrivateFrameworks/DSObjCWrappers.framework/Versions/A/DSObjCWra ppers
        0x7fff8025b000 -     0x7fff80283fff  com.apple.DictionaryServices 1.1.2 (1.1.2) <E9269069-93FA-2B71-F9BA-FDDD23C4A65E> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Diction aryServices.framework/Versions/A/DictionaryServices
        0x7fff80438000 -     0x7fff8047bfef  libtidy.A.dylib ??? (???) <2F4273D3-418B-668C-F488-7E659D3A8C23> /usr/lib/libtidy.A.dylib
        0x7fff8047c000 -     0x7fff8051cfff  com.apple.LaunchServices 362.3 (362.3) <B90B7C31-FEF8-3C26-BFB3-D8A48BD2C0DA> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchS ervices.framework/Versions/A/LaunchServices
        0x7fff8051d000 -     0x7fff80522ff7  com.apple.CommonPanels 1.2.4 (91) <8B088D78-E508-6622-E477-E34C22CF2F67> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels. framework/Versions/A/CommonPanels
        0x7fff80523000 -     0x7fff8052dfff  com.apple.DisplayServicesFW 2.3.3 (289) <97F62F36-964A-3E17-2A26-A0EEF63F4BDE> /System/Library/PrivateFrameworks/DisplayServices.framework/Versions/A/DisplayS ervices
        0x7fff8068f000 -     0x7fff80799ff7  com.apple.MeshKitIO 1.1 (49.2) <D7227401-9DC9-C2CB-C83B-C2B10C61D4E4> /System/Library/PrivateFrameworks/MeshKit.framework/Versions/A/Frameworks/MeshK itIO.framework/Versions/A/MeshKitIO
        0x7fff8079a000 -     0x7fff8079aff7  com.apple.CoreServices 44 (44) <DC7400FB-851E-7B8A-5BF6-6F50094302FB> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
        0x7fff8079b000 -     0x7fff80bdefef  libLAPACK.dylib 219.0.0 (compatibility 1.0.0) <57D38705-6F21-2A82-F3F6-03CFFF214775> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libLAPACK.dylib
        0x7fff80c65000 -     0x7fff80c67fff  com.apple.print.framework.Print 6.1 (237.1) <CA8564FB-B366-7413-B12E-9892DA3C6157> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framewo rk/Versions/A/Print
        0x7fff80cf7000 -     0x7fff80d0dfe7  com.apple.MultitouchSupport.framework 207.11 (207.11) <8233CE71-6F8D-8B3C-A0E1-E123F6406163> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/Multit ouchSupport
        0x7fff80d1c000 -     0x7fff80d1cff7  com.apple.Carbon 150 (152) <19B37B7B-1594-AD0A-7F14-FA2F85AD7241> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
        0x7fff80d1d000 -     0x7fff80dadfff  com.apple.SearchKit 1.3.0 (1.3.0) <45BA1053-9196-3C2F-2421-AFF5E09627CC> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
        0x7fff80dae000 -     0x7fff80ec8fef  libGLProgrammability.dylib ??? (???) <8A4B86E3-0FA7-8684-2EF2-C5F8079428DB> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgramma bility.dylib
        0x7fff80ec9000 -     0x7fff81266fe7  com.apple.QuartzCore 1.6.3 (227.37) <16DFF6CD-EA58-CE62-A1D7-5F6CE3D066DD> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
        0x7fff81283000 -     0x7fff81289fff  libCGXCoreImage.A.dylib 545.0.0 (compatibility 64.0.0) <D2F8C7E3-CBA1-2E66-1376-04AA839DABBB> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCGXCoreImage.A.dylib
        0x7fff8128a000 -     0x7fff8134bfef  com.apple.ColorSync 4.6.6 (4.6.6) <BB2C5813-C61D-3CBA-A8F7-0E59E46EBEE8> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ColorSync.framework/Versions/A/ColorSync
        0x7fff8134c000 -     0x7fff8134efff  libRadiance.dylib ??? (???) <76C1B129-6F25-E43C-1498-B1B88B37163B> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRadiance.dylib
        0x7fff8134f000 -     0x7fff81434fef  com.apple.DesktopServices 1.5.11 (1.5.11) <39FAA3D2-6863-B5AB-AED9-92D878EA2438> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Desk topServicesPriv
        0x7fff81435000 -     0x7fff81472ff7  libssl.0.9.8.dylib 0.9.8 (compatibility 0.9.8) <F743389F-F25A-A77D-4FCA-D6B01AF2EE6D> /usr/lib/libssl.0.9.8.dylib
        0x7fff814c3000 -     0x7fff8150aff7  com.apple.coreui 2 (114) <31118426-355F-206A-65AB-CCA2D2D3EBD7> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
        0x7fff8150b000 -     0x7fff8153cfff  libGLImage.dylib ??? (???) <7F102A07-E4FB-9F52-B2F6-4E2D2383CA13> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dyl ib
        0x7fff8153d000 -     0x7fff81564ff7  libJPEG.dylib ??? (???) <B9AA5816-8CCB-AFCB-61FD-3820C6E8219D> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJPEG.dylib
        0x7fff81565000 -     0x7fff81566ff7  com.apple.TrustEvaluationAgent 1.1 (1) <A91CE5B9-3C63-5F8C-5052-95CCAB866F72> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/Tru stEvaluationAgent
        0x7fff81567000 -     0x7fff815b0fef  libGLU.dylib ??? (???) <1C050088-4AB2-2BC2-62E6-C969F925A945> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
        0x7fff815b1000 -     0x7fff81600ff7  com.apple.DirectoryService.PasswordServerFramework 6.1 (6.1) <01B370FB-D524-F660-3826-E85B7F0D85CD> /System/Library/PrivateFrameworks/PasswordServer.framework/Versions/A/PasswordS erver
        0x7fff8168f000 -     0x7fff81694fff  libGIF.dylib ??? (???) <95443F88-7D4C-1DEE-A323-A70F7A1B4B0F> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libGIF.dylib
        0x7fff8174d000 -     0x7fff817a2ff7  com.apple.framework.familycontrols 2.0.2 (2020) <F09541B6-5E28-1C01-C1AE-F6A2508670C7> /System/Library/PrivateFrameworks/FamilyControls.framework/Versions/A/FamilyCon trols
        0x7fff81801000 -     0x7fff818b6fe7  com.apple.ink.framework 1.3.3 (107) <A68339AA-909D-E46C-35C0-72808EE3D043> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework /Versions/A/Ink
        0x7fff818b7000 -     0x7fff818f2fff  com.apple.AE 496.5 (496.5) <208DF391-4DE6-81ED-C697-14A2930D1BC6> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.fram ework/Versions/A/AE
        0x7fff818f3000 -     0x7fff81975fff  com.apple.QuickLookUIFramework 2.3 (327.6) <9093682A-0E2D-7D27-5F22-C96FD00AE970> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuickLookUI.f ramework/Versions/A/QuickLookUI
        0x7fff81976000 -     0x7fff8197bfff  libGFXShared.dylib ??? (???) <1D0D3531-9561-632C-D620-1A8652BEF5BC> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.d ylib
        0x7fff8197c000 -     0x7fff8198aff7  libkxld.dylib ??? (???) <8145A534-95CC-9F3C-B78B-AC9898F38C6F> /usr/lib/system/libkxld.dylib
        0x7fff8199f000 -     0x7fff819caff7  libxslt.1.dylib 3.24.0 (compatibility 3.0.0) <8AB4CA9E-435A-33DA-7041-904BA7FA11D5> /usr/lib/libxslt.1.dylib
        0x7fff819cd000 -     0x7fff819e1fff  libGL.dylib ??? (???) <2ECE3B0F-39E1-3938-BF27-7205C6D0358B> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
        0x7fff819e2000 -     0x7fff81abffff  com.apple.vImage 4.1 (4.1) <C3F44AA9-6F71-0684-2686-D3BBC903F020> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.fr amework/Versions/A/vImage
        0x7fff81ac0000 -     0x7fff81b01fef  com.apple.QD 3.36 (???) <5DC41E81-32C9-65B2-5528-B33E934D5BB4> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ QD.framework/Versions/A/QD
        0x7fff81b02000 -     0x7fff81b0dff7  com.apple.speech.recognition.framework 3.11.1 (3.11.1) <C359B93B-CC9B-FC0B-959E-FB10674103A7> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecogni tion.framework/Versions/A/SpeechRecognition
        0x7fff81b0e000 -     0x7fff81c7efff  com.apple.QTKit 7.7 (1783) <DE8DB97C-C058-B40C-492B-D652A30CF571> /System/Library/Frameworks/QTKit.framework/Versions/A/QTKit
        0x7fff81c7f000 -     0x7fff81d38fff  libsqlite3.dylib 9.6.0 (compatibility 9.0.0) <2C5ED312-E646-9ADE-73A9-6199A2A43150> /usr/lib/libsqlite3.dylib
        0x7fff81d39000 -     0x7fff8206dfef  com.apple.CoreServices.CarbonCore 861.39 (861.39) <1386A24D-DD15-5903-057E-4A224FAF580B> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore
        0x7fff8206e000 -     0x7fff820b3fff  com.apple.CoreMediaIOServices 140.0 (1496) <D93293EB-0B84-E97D-E78C-9FE8D48AF58E> /System/Library/PrivateFrameworks/CoreMediaIOServices.framework/Versions/A/Core MediaIOServices
        0x7fff82131000 -     0x7fff8236bfef  com.apple.imageKit 2.0.3 (1.0) <9EA216AF-82D6-201C-78E5-D027D85B51D6> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/ImageKit.fram ework/Versions/A/ImageKit
        0x7fff82382000 -     0x7fff823bffff  com.apple.LDAPFramework 2.0 (120.1) <F3B7B267-D580-F287-6DE7-8AC91C92AB35> /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
        0x7fff823c0000 -     0x7fff8243dfef  libstdc++.6.dylib 7.9.0 (compatibility 7.0.0) <35ECA411-2C08-FD7D-11B1-1B7A04921A5C> /usr/lib/libstdc++.6.dylib
        0x7fff82bd3000 -     0x7fff82bdeff7  com.apple.HelpData 2.0.5 (34.1.1) <24DC6CD3-02B7-9332-FF6D-F0C545857B55> /System/Library/PrivateFrameworks/HelpData.framework/Versions/A/HelpData
        0x7fff82c4e000 -     0x7fff82c4eff7  com.apple.Cocoa 6.6 (???) <C69E895A-1C66-3DA9-5F63-8BE85DB9C4E1> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
        0x7fff82c54000 -     0x7fff82c8dff7  com.apple.MeshKit 1.1 (49.2) <B85DDDC7-4053-4DB8-E1B5-AA0CBD4CDD1C> /System/Library/PrivateFrameworks/MeshKit.framework/Versions/A/MeshKit
        0x7fff82cc5000 -     0x7fff82cc5ff7  com.apple.quartzframework 1.5 (1.5) <FA660AAC-70CD-7EA2-5DF1-A8724D8F4B1B> /System/Library/Frameworks/Quartz.framework/Versions/A/Quartz
        0x7fff82cc6000 -     0x7fff82e84fff  libicucore.A.dylib 40.0.0 (compatibility 1.0.0) <4274FC73-A257-3A56-4293-5968F3428854> /usr/lib/libicucore.A.dylib
        0x7fff82f13000 -     0x7fff83032fe7  libcrypto.0.9.8.dylib 0.9.8 (compatibility 0.9.8) <14115D29-432B-CF02-6B24-A60CC533A09E> /usr/lib/libcrypto.0.9.8.dylib
        0x7fff83049000 -     0x7fff83207ff7  com.apple.ImageIO.framework 3.0.4 (3.0.4) <6212CA66-7B18-2AED-6AA8-45185F5D9A03> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/ImageIO
        0x7fff8320f000 -     0x7fff83230fff  libresolv.9.dylib 41.0.0 (compatibility 1.0.0) <6993F348-428F-C97E-7A84-7BD2EDC46A62> /usr/lib/libresolv.9.dylib
        0x7fff83231000 -     0x7fff83293fe7  com.apple.datadetectorscore 2.0 (80.7) <C3A68083-AFB0-CFC6-8AA5-517C9D1489B6> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDe tectorsCore
        0x7fff83294000 -     0x7fff833bcff7  com.apple.MediaToolbox 0.484.52 (484.52) <F03DAC32-79DB-EA5A-9B8D-CB288AF91A56> /System/Library/PrivateFrameworks/MediaToolbox.framework/Versions/A/MediaToolbo x
        0x7fff834c4000 -     0x7fff834e4ff7  com.apple.DirectoryService.Framework 3.6 (621.11) <AD76C757-6701-BDB5-631E-1CB77D669586> /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryServi ce
        0x7fff8384b000 -     0x7fff8384fff7  libCGXType.A.dylib 545.0.0 (compatibility 64.0.0) <DB710299-B4D9-3714-66F7-5D2964DE585B> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCGXType.A.dylib
        0x7fff83850000 -     0x7fff838a3ff7  com.apple.HIServices 1.8.3 (???) <F6E0C7A7-C11D-0096-4DDA-2C77793AA6CD> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ HIServices.framework/Versions/A/HIServices
        0x7fff838d4000 -     0x7fff83b56fe7  com.apple.Foundation 6.6.7 (751.62) <6F2A5BBF-6990-D561-2928-AD61E94036D9> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
        0x7fff83b57000 -     0x7fff83b64fe7  libCSync.A.dylib 545.0.0 (compatibility 64.0.0) <1C35FA50-9C70-48DC-9E8D-2054F7A266B1> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
        0x7fff83b65000 -     0x7fff83be2fef  com.apple.backup.framework 1.2.2 (1.2.2) <BB72F0C7-20E2-76DC-6764-5B93A7AC0EB5> /System/Library/PrivateFrameworks/Backup.framework/Versions/A/Backup
        0x7fff83c00000 -     0x7fff83c8ffff  com.apple.PDFKit 2.5.1 (2.5.1) <C0E3AE4B-E71A-16D8-0D51-FB7D3E3AD793> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/PDFKit.framew ork/Versions/A/PDFKit
        0x7fff83c90000 -     0x7fff840d7fef  com.apple.RawCamera.bundle 3.7.1 (570) <5AFA87CA-DC3D-F84E-7EA1-6EABA8807766> /System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera
        0x7fff840d8000 -     0x7fff845deff7  com.apple.VideoToolbox 0.484.52 (484.52) <FA1B8197-8F5F-73CB-A9A1-49E0FB49CF51> /System/Library/PrivateFrameworks/VideoToolbox.framework/Versions/A/VideoToolbo x
        0x7fff846ea000 -     0x7fff84769fe7  com.apple.audio.CoreAudio 3.2.6 (3.2.6) <79E256EB-43F1-C7AA-6436-124A4FFB02D0> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
        0x7fff847b5000 -     0x7fff847b5ff7  com.apple.vecLib 3.6 (vecLib 3.6) <96FB6BAD-5568-C4E0-6FA7-02791A58B584> /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
        0x7fff847b6000 -     0x7fff84805fef  libTIFF.dylib ??? (???) <5DE9F066-9B64-CBE4-976A-CC7B8DD3C31A> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libTIFF.dylib
        0x7fff84806000 -     0x7fff8481bff7  com.apple.LangAnalysis 1.6.6 (1.6.6) <DC999B32-BF41-94C8-0583-27D9AB463E8B> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LangAnalysis.framework/Versions/A/LangAnalysis
        0x7fff8481c000 -     0x7fff84951fff  com.apple.audio.toolbox.AudioToolbox 1.6.7 (1.6.7) <E5D7DBDB-6DDF-E6F9-C71C-86F4520EE5A3> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
        0x7fff84952000 -     0x7fff8495dfff  com.apple.CrashReporterSupport 10.6.7 (258) <A2CBB18C-BD1C-8650-9091-7687E780E689> /System/Library/PrivateFrameworks/CrashReporterSupport.framework/Versions/A/Cra shReporterSupport
        0x7fff84a24000 -     0x7fff84b9bfe7  com.apple.CoreFoundation 6.6.5 (550.43) <31A1C118-AD96-0A11-8BDF-BD55B9940EDC> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
        0x7fff84bc0000 -     0x7fff84bd1ff7  libz.1.dylib 1.2.3 (compatibility 1.0.0) <FB5EE53A-0534-0FFA-B2ED-486609433717> /usr/lib/libz.1.dylib
        0x7fff84bd2000 -     0x7fff84c93fff  libFontParser.dylib ??? (???) <A00BB0A7-E46C-1D07-1391-194745566C7E> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/Resources/libFontParser.dylib
        0x7fff85910000 -     0x7fff85b79fff  com.apple.QuartzComposer 4.2 ({156.30}) <C05B97F7-F543-C329-873D-097177226D79> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuartzCompose r.framework/Versions/A/QuartzComposer
        0x7fff85b7a000 -     0x7fff85e78fff  com.apple.HIToolbox 1.6.5 (???) <AD1C18F6-51CB-7E39-35DD-F16B1EB978A8> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox
        0x7fff85e81000 -     0x7fff85ec2fef  com.apple.CoreMedia 0.484.52 (484.52) <3F868AF8-1089-10C3-DCEB-565690FD9742> /System/Library/PrivateFrameworks/CoreMedia.framework/Versions/A/CoreMedia
        0x7fff85ec3000 -     0x7fff85f00ff7  libFontRegistry.dylib ??? (???) <4C3293E2-851B-55CE-3BE3-29C425DD5DFF> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/Resources/libFontRegistry.dylib
        0x7fff85f01000 -     0x7fff85f3bfff  libcups.2.dylib 2.8.0 (compatibility 2.0.0) <7982734A-B66B-44AA-DEEC-364D2C10009B> /usr/lib/libcups.2.dylib
        0x7fff85f3c000 -     0x7fff85f6bfff  com.apple.quartzfilters 1.6.0 (1.6.0) <52D41730-D485-A7AE-4937-FE37FC732F65> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuartzFilters .framework/Versions/A/QuartzFilters
        0x7fff85f6c000 -     0x7fff861aefe7  com.apple.AddressBook.framework 5.0.4 (883) <3C634319-4B5B-592B-2D3A-A16336F93AA0> /System/Library/Frameworks/AddressBook.framework/Versions/A/AddressBook
        0x7fff861af000 -     0x7fff861fbfff  libauto.dylib ??? (???) <F7221B46-DC4F-3153-CE61-7F52C8C293CF> /usr/lib/libauto.dylib
        0x7fff86540000 -     0x7fff8658aff7  com.apple.Metadata 10.6.3 (507.15) <2EF19055-D7AE-4D77-E589-7B71B0BC1E59> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Metadata
        0x7fff865c3000 -     0x7fff86701fff  com.apple.CoreData 102.1 (251) <96C5E9A6-C28C-E9CC-A0DB-27801A22A49F> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
        0x7fff86702000 -     0x7fff867b8ff7  libobjc.A.dylib 227.0.0 (compatibility 1.0.0) <03140531-3B2D-1EBA-DA7F-E12CC8F63969> /usr/lib/libobjc.A.dylib
        0x7fff867b9000 -     0x7fff86825fe7  com.apple.CorePDF 1.4 (1.4) <06AE6D85-64C7-F9CC-D001-BD8BAE31B6D2> /System/Library/PrivateFrameworks/CorePDF.framework/Versions/A/CorePDF
        0x7fff86826000 -     0x7fff87030fe7  libBLAS.dylib 219.0.0 (compatibility 1.0.0) <2F26CDC7-DAE9-9ABE-6806-93BBBDA20DA0> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libBLAS.dylib
        0x7fff87031000 -     0x7fff87078fff  com.apple.QuickLookFramework 2.3 (327.6) <11DFB135-24A6-C0BC-5B97-ECE352A4B488> /System/Library/Frameworks/QuickLook.framework/Versions/A/QuickLook
        0x7fff870c9000 -     0x7fff870c9ff7  com.apple.ApplicationServices 38 (38) <0E2FC75E-2BE2-D04D-CA78-76E38A89DD30> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Application Services
        0x7fff870ca000 -     0x7fff87113ff7  com.apple.securityinterface 4.0.1 (40418) <E2DC796D-84EC-48F5-34A9-DF614573BE74> /System/Library/Frameworks/SecurityInterface.framework/Versions/A/SecurityInter face
        0x7fff8716e000 -     0x7fff871d6fff  com.apple.MeshKitRuntime 1.1 (49.2) <A490FE03-313D-1317-A9B8-25EF75CB1A81> /System/Library/PrivateFrameworks/MeshKit.framework/Versions/A/Frameworks/MeshK itRuntime.framework/Versions/A/MeshKitRuntime
        0x7fff871d7000 -     0x7fff871ddff7  com.apple.DiskArbitration 2.3 (2.3) <AAB5CC56-334A-3C60-3C27-54E8F34D754E> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
        0x7fff871de000 -     0x7fff872f5fef  libxml2.2.dylib 10.3.0 (compatibility 10.0.0) <1B27AFDD-DF87-2009-170E-C129E1572E8B> /usr/lib/libxml2.2.dylib
        0x7fff87302000 -     0x7fff87345ff7  libRIP.A.dylib 545.0.0 (compatibility 64.0.0) <5FF3D7FD-84D8-C5FA-D640-90BB82EC651D> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
        0x7fff87412000 -     0x7fff875d3fef  libSystem.B.dylib 125.2.11 (compatibility 1.0.0) <9AB4F1D1-89DC-0E8A-DC8E-A4FE4D69DB69> /usr/lib/libSystem.B.dylib
        0x7fff875d4000 -     0x7fff875daff7  IOSurface ??? (???) <04EDCEDE-E36F-15F8-DC67-E61E149D2C9A> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
        0x7fff875db000 -     0x7fff875f2fff  com.apple.ImageCapture 6.1 (6.1) <79AB2131-2A6C-F351-38A9-ED58B25534FD> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture. framework/Versions/A/ImageCapture
        0x7fff875f3000 -     0x7fff8763bff7  libvDSP.dylib 268.0.1 (compatibility 1.0.0) <98FC4457-F405-0262-00F7-56119CA107B6> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvDSP.dylib
        0x7fff87689000 -     0x7fff876b9fef  com.apple.shortcut 1.1 (1.1) <0A20F092-6161-4EA7-D8E6-859B5C350DE7> /System/Library/PrivateFrameworks/Shortcut.framework/Versions/A/Shortcut
        0x7fff876ba000 -     0x7fff876d5ff7  com.apple.openscripting 1.3.1 (???) <DC329CD4-1159-A40A-A769-70CAA70F601A> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting .framework/Versions/A/OpenScripting
        0x7fff876d6000 -     0x7fff876effff  com.apple.CFOpenDirectory 10.6 (10.6) <CCF79716-7CC6-2520-C6EB-A4F56AD0A207> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpen Directory.framework/Versions/A/CFOpenDirectory
        0x7fff876f0000 -     0x7fff876f1ff7  com.apple.audio.units.AudioUnit 1.6.7 (1.6.7) <53299948-2554-0F8F-7501-04B34E49F6CF> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
        0x7fff876f2000 -     0x7fff877a2fff  edu.mit.Kerberos 6.5.11 (6.5.11) <085D80F5-C9DC-E252-C21B-03295E660C91> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
        0x7fff877a3000 -     0x7fff877a3ff7  com.apple.Accelerate.vecLib 3.6 (vecLib 3.6) <4CCE5D69-F1B3-8FD3-1483-E0271DB2CCF3> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/vecLib
        0x7fff877a4000 -     0x7fff87ea0ff7  com.apple.CoreGraphics 1.545.0 (???) <58D597B1-EB3B-710E-0B8C-EC114D54E11B> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/CoreGraphics
        0x7fff87ff2000 -     0x7fff8807efef  SecurityFoundation ??? (???) <6860DE26-0D42-D1E8-CD7C-5B42D78C1E1D> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoun dation
        0x7fff8807f000 -     0x7fff88093ff7  com.apple.speech.synthesis.framework 3.10.35 (3.10.35) <574C1BE0-5E5E-CCAF-06F8-92A69CB2892D> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ SpeechSynthesis.framework/Versions/A/SpeechSynthesis
        0x7fff88293000 -     0x7fff88483fef  com.apple.JavaScriptCore 6533.20 (6533.20.20) <0AA8B101-C02C-0858-84BC-4E4D397E0231> /System/Library/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore
        0x7fff8858f000 -     0x7fff88593ff7  libmathCommon.A.dylib 315.0.0 (compatibility 1.0.0) <95718673-FEEE-B6ED-B127-BCDBDB60D4E5> /usr/lib/system/libmathCommon.A.dylib
        0x7fff88594000 -     0x7fff885a3fef  com.apple.opengl 1.6.13 (1.6.13) <516098B3-4517-8A55-64BB-195CDAA5334D> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
        0x7fff885a4000 -     0x7fff885a5fff  com.apple.MonitorPanelFramework 1.3.0 (1.3.0) <EC039008-5367-090D-51FD-EA4D2623671A> /System/Library/PrivateFrameworks/MonitorPanel.framework/Versions/A/MonitorPane l
        0x7fff885a6000 -     0x7fff88640fe7  com.apple.ApplicationServices.ATS 275.16 (???) <4B70A2FC-1902-5F27-5C3B-5C78C283C6EA> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/ATS
        0x7fff88641000 -     0x7fff88715fe7  com.apple.CFNetwork 454.12.4 (454.12.4) <C83E2BA1-1818-B3E8-5334-860AD21D1C80> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwo rk.framework/Versions/A/CFNetwork
        0x7fff88716000 -     0x7fff88716ff7  com.apple.Accelerate 1.6 (Accelerate 1.6) <15DF8B4A-96B2-CB4E-368D-DEC7DF6B62BB> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
        0x7fff88717000 -     0x7fff88795ff7  com.apple.CoreText 151.10 (???) <54961997-55D8-DC0F-2634-674E452D5A8E> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreText.framework/Versions/A/CoreText
        0x7fff88796000 -     0x7fff8879dfff  com.apple.OpenDirectory 10.6 (10.6) <4200CFB0-DBA1-62B8-7C7C-91446D89551F> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
        0x7fff8879e000 -     0x7fff887b4fef  libbsm.0.dylib ??? (???) <0321D32C-9FE1-3919-E03E-2530A0C1191B> /usr/lib/libbsm.0.dylib
        0x7fff887b5000 -     0x7fff88815fe7  com.apple.framework.IOKit 2.0 (???) <4F071EF0-8260-01E9-C641-830E582FA416> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
        0x7fff88917000 -     0x7fff8891dff7  com.apple.CommerceCore 1.0 (9.1) <3691E9BA-BCF4-98C7-EFEC-78DA6825004E> /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Frameworks/C ommerceCore.framework/Versions/A/CommerceCore
        0x7fff8891e000 -     0x7fff88921ff7  libCoreVMClient.dylib ??? (???) <E03D7C81-A3DA-D44A-A88A-DDBB98AF910B> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClien t.dylib
        0x7fff88922000 -     0x7fff88963fff  com.apple.SystemConfiguration 1.10.8 (1.10.2) <78D48D27-A9C4-62CA-2803-D0BBED82855A> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
        0x7fff88964000 -     0x7fff88a21fff  com.apple.CoreServices.OSServices 359 (359) <8F509D8D-4C94-9A1C-3A87-5B775D9F6075> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
        0x7fff88a22000 -     0x7fff88a25fff  com.apple.help 1.3.2 (41.1) <BD1B0A22-1CB8-263E-FF85-5BBFDE3660B9> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framewor k/Versions/A/Help
        0x7fff88a26000 -     0x7fff88a71fef  com.apple.ImageCaptureCore 1.1 (1.1) <F23CA537-4F18-76FC-8D9C-ED6E645186FC> /System/Library/Frameworks/ImageCaptureCore.framework/Versions/A/ImageCaptureCo re
        0x7fff88a72000 -     0x7fff88ae3ff7  com.apple.AppleVAFramework 4.10.26 (4.10.26) <28C1B366-DF2B-111B-1863-0713B105D930> /System/Library/PrivateFrameworks/AppleVA.framework/Versions/A/AppleVA
        0x7fff88ae4000 -     0x7fff88ae7ff7  com.apple.securityhi 4.0 (36638) <38935851-09E4-DDAB-DB1D-30ADC39F7ED0> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.fr amework/Versions/A/SecurityHI
        0x7fff88ae8000 -     0x7fff88b05ff7  libPng.dylib ??? (???) <4815A8F2-24A0-E783-8A5A-7B4959F562D7> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libPng.dylib
        0x7fff88b06000 -     0x7fff88b2bff7  com.apple.CoreVideo 1.6.2 (45.6) <E138C8E7-3CB6-55A9-0A2C-B73FE63EA288> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
        0x7fff88b45000 -     0x7fff88b46fff  liblangid.dylib ??? (???) <D0666597-B331-C43C-67BB-F2E754079A7A> /usr/lib/liblangid.dylib
        0x7fff88b47000 -     0x7fff89541ff7  com.apple.AppKit 6.6.8 (1038.36) <4CFBE04C-8FB3-B0EA-8DDB-7E7D10E9D251> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
        0x7fff89542000 -     0x7fff89554fe7  libsasl2.2.dylib 3.15.0 (compatibility 3.0.0) <30FE378B-99FE-8C7C-06D0-A3AA0A0A70D4> /usr/lib/libsasl2.2.dylib
        0x7fff89555000 -     0x7fff89578fff  com.apple.opencl 12.3.6 (12.3.6) <42FA5783-EB80-1168-4015-B8C68F55842F> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
        0x7fff89579000 -     0x7fff895feff7  com.apple.print.framework.PrintCore 6.3 (312.7) <CDFE82DD-D811-A091-179F-6E76069B432D> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ PrintCore.framework/Versions/A/PrintCore
        0x7fff895ff000 -     0x7fff89888ff7  com.apple.security 6.1.2 (55002) <4419AFFC-DAE7-873E-6A7D-5C9A5A4497A6> /System/Library/Frameworks/Security.framework/Versions/A/Security
        0x7fffffe00000 -     0x7fffffe01fff  libSystem.B.dylib ??? (???) <9AB4F1D1-89DC-0E8A-DC8E-A4FE4D69DB69> /usr/lib/libSystem.B.dylib

    I drag Preview.app from another mac to mine and now it's all right.

  • Can Preview Slideshows Target A Different Display?

    Can the Slideshow feature of Preview use a different display (without mirroring or rearranging displays)? I can drag Preview's Slideshow controls onto a different display, but there doesn't seem to be a way to tell Preview to use a different display for the Slideshow itself.
    GraphicConverter, and PowerPoint have a preference. I would have thought Preview would be cool like Keynote, and use the display its primary active window is on.
    Thanks in advance.
    PowerBook G4   Mac OS X (10.4.6)   1 GB RAM

    It sounds like the screen may be zoomed in slightly. Go into System Preferences/Universal Access and turn screen zooming off.

  • WindowedApplication/ Drag and drop in Windows OS

    Hi,
    I have AIR application which is running on Mac  OS and Windows. This application is standard desktop application  (WindowedApplication). I use there drag&drop for moving preview of  images. My problem is if preview image is large (width > 200 or  height > 200) then drag preview is not correctly visible. The dragged  preview on left top corner is correct but in right bottom corrner is  not visible. There is some  transient.
    On Mac OS is all ok only in Windows is this problem.Can somebody help me with it?

    If you install the PlaysForSure firmware yes, otherwise you need to install another program for it to work.

  • Dragging tabbed window leaves ghost?

    OK, this is really more of an annoyance, but it's odd, and I'm wondering if anyone else has noticed it.
    When I Cmd-open a window (to make it open in a new window, it goes to a tab. Normally this is fine, but if I'm sorting files from folder to folder, it's easier to have them side by side. But if I drag a tabbed window out, so as to make is a separate window, the drag preview (mini image of the window) gets left on my desktop. It's not clickable or selectable, and if I close all windows, the Finder doesn't recognize it as an open window. Here it is:
    Has anyone else seen this, or know what causes it? I have noticed that Mavericks has some odd issues with desktop images (e.g. the Launchpad icon/dock prefs thing), but this is a new one.

    Are you certain all of TotalFinder was removed? This program by Etresoft can help show what is loading: http://www.etresoft.com/etrecheck
    Here is the thread that implicated TotalFinder. Another person implicated XtraFinder.
    https://discussions.apple.com/message/23490070#23490070
    You can check to see if it is third-party related by running in Safe Mode. If it works in Safe Mode, you have something running that is messing with it.
    http://support.apple.com/kb/HT1564

  • Unable to drag and drop out of aperture

    Hi,
    As of a few days ago i've had a slight problem with my aperture libary.
    I can no longer drag and drop images out of aperture onto the desktop or other apps etc.
    I have not changed anything it was working fine until just recently - I haven't modified or done anything to change the behaviour.
    Aperture settings has previews enabled.
    I have attempted to regenerate previews by selecting images and clicking regenerate
    I have rebuilt permissions
    I have rebuilt the entire library
    I have re-installed aperture
    I have manually deleted previews and thumbnails from within the aperture library to force a rebuilt.
    Nothing works.
    I cannot drag out files
    with the exeption I can drag and drop files which have had edits done to it - so the original master has been edited and it's created a modified version.
    As I said - previews are enabled and I can also right click and export version or master without issues for any files.
    I have latest versions of aperture 3.

    Dan,
    can you please clarify  a few points?
    Aperture settings has previews enabled.
    Have you enabled "New projects automatically share Previews"?
    How is "Share Preview with iLife set"?
    I have manually deleted previews and thumbnails from within the aperture library to force a rebuilt.
    Has the rebuild worked?  Have you checked in the "Masters" folder, if the previews actually exist for the images, that will not be dragged?
    Have you checked each project in question, of the Previews for that project are enabled?
    Select each of the the projects in question and ctrl-click (right-click) the gear-icon in the upper right corner of the Library inspector. Check the setting for "Maintain previews for project".
    If the previews are disabled in that menu, you cannot drag previews from the library.
    Regards
    Léonie

  • Brush Size Free Scale

    The current Alt+Space shortcut for free image scaling is very convenient and intuitive.
    Please add a feature that would allow to Freely Scale the Brush Size in a similar manner. It could be assigned to Shft+Space.
    Thank you,
    Alex

    From the manual:
    Resize or change hardness of painting cursors by dragging
    You can resize or change the hardness of a painting cursor by dragging in the image. As you drag, the painting cursor previews your changes. (Previews require OpenGL. See Enable OpenGL and optimize GPU settings.)
    To resize a cursor, press Alt + right-click (Windows) or Control + Option (Mac OS), and drag left or right. To change hardness, drag up or down.

  • Courpted data in row

    Hello Experts
            i create one master form which has three text box which is connected to master table and matrix connected to master row table i am also created object for it but when i click on add button for data adding it  gives ERROR like "Courpted data in row"   .i tried all the trick like deletion  of objects table but  after this   it give error like this .on screen painter in preview mode also it gives this error when i click add button .i am in trouble pls help me for it
                                                                                    THANX a lot

    Vmaskey,
    Based on this issue, you should open a message with SAP Support.
    Eddy

  • User defined fields does not get added into database

    Hello Experts
                              User defined fields does not get added into database , when i click add button it
    shows data added sucessfully , but when i check data base no entry is made , only entry is made for
    B1 fields , like DocEntry ,DocNum etc.., no entry is made for U_fields..
    I have check every thing databound is also set to true
    Actually first few 6 data was added properly but now its not geeting added for user fields
    I have used 2 document row  child table for 2 matrix and for remaining Document table
    What might be the problem
    reply soon
    plz suggest

    Hello sir
    I have checked Default form , in that entry is made into database
    but running the form in screen painter in preview mode or through coding it does not get added for user field
    this id my binding code
    LoadFromXML("updateopd.srf")
                oForm = SBO_Application.Forms.Item("updopd")
                oForm.DataBrowser.BrowseBy = "txtpatid"
                'Adding combo in Obervation
                oItem = oForm.Items.Item("txtpatid")
                oEdit2 = oItem.Specific()
                oEdit2.DataBind.SetBound(True, "@UPDATE", "U_PID")
                oItem = oForm.Items.Item("txtmnane")
                oEdit3 = oItem.Specific()
                oEdit3.DataBind.SetBound(True, "@UPDATE", "U_FName")
                oItem = oForm.Items.Item("txtlname")
                oEdit3 = oItem.Specific()
                oEdit3.DataBind.SetBound(True, "@UPDATE", "U_LName")
    Plz suggest

  • Modlue programming guide!

    Need some help in module pool programming guide !

    Hi,
    MODULE POOL PROGRAMMING (MPP):
    These are type M programs in SAP.
    These programs cannot be executed directly.
    Transaction Codes (Tcodes) are used to execute MPP programs.
    Graphical Screen PAinter is the tool used to create GUI in MPP (SE51).
    MPP programs are created using the transaction code SE80.
    MPP programs should start with the naming convention SAPMZ or SAPMY.
    EVENTS ASSOCIATED WITH SELECTION-SCREEN:
    INITIALIZATION
    AT SELECTION-SCREEN
    START-OF-SELECTION
    TOP-OF-PAGE
    END-OF-PAGE
    END-OF-SELECTION.
    EVENTS ASSOCIATED WITH MPP:
    1. PROCESS BEFORE OUTPUT (PBO) - Used to specify initial attributes for the screen.
    2. PROCESS AFTER INPUT (PAI) - Used to specify
    event functionalities for the components of the screen.
    COMPONENTS OF MPP PROGRAM:
    1. ATTRIBUTES - It holds description about the screen.
    2. FLOW LOGIC - This is an editor for MPP programs to specify event functionality for the screen components.
    3. ELEMENT LIST - This provides description about the components created in the screen.
    TYPES OF SCREEN IN MPP:
    1. NORMAL SCREEN - A screen which has maximizing, minimizing and closing options
    is referred to as normal screen.
    2. SUBSCREEN - A screen within a normal screen with either of above three options
    is referred to as subscreen.
    3. MODAL DIALOG BOX - A screen with only closing option which is used to provide
    information to the end user is referred to as modal dialog box.
    NAVIGATIONS TO CREATE A SIMPLE MPP PROGRAM:
    SE80 -> Select Program from the dropdown list -> SPecify program name starting with SAPMZ or SAPMY (eg. SAPMYFIRSTMPP) -> Press Enter -> Click on Yes to Create object -> Opens another dialog box -> Click on Continue to create Top Include File for the program -> Opens another dialog box specifying TOP INCLUDE FILE name (MYFIRSTMPPTOP) -> Click on Continue -> Opens Program Attributes screen -> Enter short description -> The default program type is M -> Save under a package -> Assign Request number -> A folder with specified program name(SAPMYFIRSTMPP) is created with Top Include File.
    To create a screen, right click on program name -> Create -> SCreen -> Opens dialog box
    -> Specify Screen number (100) -> Continue -> Opens an interface -> Enter short description
    -> Select Screen type as Normal -> Click on LAYOUT pushbutton from appn. toolbar
    -> Opens Graphical Screen painter -> Drag and drop two input fields, two pushbuttons and
    two text fields -> Double click on each component to specify attributes as follows:
    INPUT FIELDS: IO1, IO2
    FIRST PUSHBUTTON : PB1, PRINT, PRINT
    SECOND PUSHBUTTON : PB2, EXIT, EXIT
    TEXT FIELDS : LB1 (ENTER NAME), LB2 (ENTER CITY)
    -> Save -> Click on Flowlogic Pushbutton from appn. toolbar -> Opens Flow Logic editor
    with two events (PA1 and PBO).
    To specify event functionalities for screen components,
    decomment PAI Module name (USER_COMMAND_0100)
    -> Double click on module name -> Click on Yes to create object -> Opens an interface
    -> Select Program name from the list -> Continue -> Click on Yes to save the editor
    -> Opens PAI module and specify following code:
    CASE SY-UCOMM.
    WHEN 'PRINT'.
    LEAVE TO LIST-PROCESSING.
    WRITE :/ IO1, IO2.
    WHEN 'EXIT'.
    LEAVE PROGRAM.
    ENDCASE.
    In TOP INCLUDE FILE, declare input fields as follows:
    DATA : IO1(20), IO2(20).
    Save -> Activate -> Right click on Program name -> Activate (to activate all inactive objects).
    To execute MPP program, right click on program name -> Create -> Transaction
    -> Opens an interface -> Specify Tcode starting with Z or Y (zfirstmpp) -> Enter short description -> Continue -> Specify Main program name (SAPMYFIRSTMPP) and initial Screen number (100) -> Save under a package -> Assign a request number -> Execute.
    TOP INCLUDE FILE is an area to declare variables for the program, and the variables declared here becomes globally accessed.
    SCREEN VALIDATION USING MPP:
    SCREEN is a predefined structure used to make MPP screen validations dynamically. SCREEN has following components:
    GROUP1
    INVISIBLE
    REQUIRED
    INPUT
    OUTPUT
    INTENSIFIED
    IF SCREEN-INVISIBLE = 0 - Sets the input field values as visible.
       SCREEN-INVISIBLE = 1 - Sets the input field as password field.
       SCREEN-REQUIRED = 0 - Not a mandatory field.
       SCREEN-REQUIRED = 1 - Sets input field as mandatory one.
    Eg. code to perform validation dynamically for a login screen:
    1. Create an MPP program.
    2. Create a Normal Screen like initial login screen.
    3. Assign IO1, IO2 to group GR1, IO3 to GR2.
    4. In Top Include file, declare variables.
    5. In PBO, specify following code:
    LOOP AT SCREEN.
    IF SCREEN-GROUP1 = 'GR1'.
    SCREEN-REQUIRED = '1'.
    ENDIF.
    IF SCREEN-GROUP1 = 'GR2'.
    SCREEN-INVISIBLE = '1'.
    ENDIF.
    MODIFY SCREEN.  * to update the changes made to the predefined             structure.
    ENDLOOP.
    6. In PAI, specify following code:
    CASE SY-UCOMM.
    WHEN 'LOGIN'.
    CALL TRANSACTION 'SE38'.
    WHEN 'EXIT'.
    LEAVE PROGRAM.
    ENDCASE.
    7. Create a Tcode -> Activate all -> Execute.
    INSERTING RECORDS FROM MPP SCREEN INTO DATABASE TABLE:
    1. Create an MPP program.
    2. In Top Include File, declare an internal table as follows:
         DATA IT_KNA1 LIKE KNA1 OCCURS 0 WITH HEADER LINE.
    -> Save -> Activate.
    3. Create a screen -> In Screen Painter, click DICTIONARY/PROGRAM FIELDS (F6)
    pushbutton from appn. toolbar -> Opens an interface
    -> Specify internal table name -> Click on GET FROM PROGRAM pushbutton
    -> Select required fields -> Continue -> Paste on Screen Painter
    -> Create two pushbuttons (INSERT, EXIT) -> Save -> Flow logic.
    4. In PAI, specify following code:
    CASE SY-UCOMM.
    WHEN 'INSERT'.
    INSERT INTO KNA1 VALUES IT_KNA1.
    IF SY-SUBRC = 0.
    MESSAGE S000(ZMSG).
    ELSE.
    MESSAGE W001(ZMSG).
    ENDIF.
    WHEN 'EXIT'.
    *LEAVE PROGRAM.
    SET SCREEN 0.
    ENDCASE.
    5. Create a Tcode -> Activate all -> Execute.
    LIST OF VALUES:
    Adding dropdown facility to the input fields is called as LIST OF VALUES.
    VRM is a predefined type group which has the following structure and internal table:
    VRM_VALUE is a structure with the components KEY and TEXT.
    VRM_VALUES is an internal table declared for the above structure without header line.
    The above type group is used to fetch values from the internal table declared with user-defined records and insert into the input field in the screen.
    'VRM_SET_VALUES' is a function module used to carry the records from the internal table and populate in the input field.
    NAVIGATIONS TO CREATE DROPDOWN FACILITY FOR INPUT BOX:
    1. Create MPP program.
    2. Create a screen.
    3. Add a input box -> Double click -> Specify name (IO1) -> Select LISTBOX from the dropdown list -> A dropdown facility is added for the input field in the screen.
    4. Create two pushbuttons (PRINT, EXIT).
    5. In Top Include File, specify following code:
    TYPE-POOLS VRM.
    DATA IO1(20).
    DATA A TYPE I.
    DATA ITAB TYPE VRM_VALUES. * To create an internal table of an existing type
    DATA WA LIKE LINE OF ITAB. * To create a temporary structure of sameline type of internal table.
    6. In PBO, specify following code:
    IF A = 0.
    WA-KEY = 'ABAP'.
    WA-TEXT = 'ADVANCED PROGRAMMING'.
    APPEND WA TO ITAB.
    WA-KEY = 'BW'.
    WA-TEXT = 'BUSINESS WAREHOUSING'.
    APPEND WA TO ITAB.
    WA-KEY = 'EP'.
    WA-TEXT = 'ENTERPRISE PORTAL'.
    APPEND WA TO ITAB.
    CALL FUNCTION 'VRM_SET_VALUES'
      EXPORTING
        ID                    =  'IO1'
        VALUES                =   ITAB.
    A = 1.
    ENDIF.
    7. In PAI, specify following:
    CASE SY-UCOMM.
    WHEN 'PRINT'.
    LEAVE TO LIST-PROCESSING.
    WRITE :/ IO1.
    WHEN 'EXIT'.
    LEAVE PROGRAM.
    ENDCASE.
    8. Create a Tcode -> Activate all -> Execute.
    CREATING TABSTRIPS IN MPP:
    In a normal screen, we can add only maximum of 40 components.
    To make a screen hold more than 40 components, we can use tabstrip controls.
    NAVIGATIONS TO CREATE TABSTRIP CONTROL:
    1. Create an MPP program.
    2. Create a normal screen (100)
    -> Add Tabstrip Control component from toolbar
    -> By default, a tabstrip control is created with 2 tab buttons
    -> Double click on tabstrip control
    -> Specify name (TBSTR) in Attributes box
    -> Click on First tab button
    -> Add Subscreen Area from toolbar to first tab button
    -> Double click on subscreen area
    -> Specify name (SUB1)
    -> Click on Second tab button
    -> Repeat same process for adding subscreen area (SUB2)
    -> Double click on First tab button
    -> Specify attributes (TAB1,FIRST,TAB1)
    -> Double click on Second tab button
    -> Specify attributes (TAB2, SECOND, TAB2)
    -> SAve
    -> Flowlogic.
    3. Create two subscreens (10, 20) -> Add required components in each subscreen.
    4. In Top Include File, specify following code:
    DATA : IO1(10), IO2(10), IO3(10), IO4(10).
    CONTROLS TBSTR TYPE TABSTRIP.
    DATA A LIKE SY-DYNNR.
    'CONTROLS' statement is used to allocate a memory area for the tabstrip created in the normal screen. 'TABSTRIP' itself is a data type for the tabstrip control. Whenever a tabstrip is created, SAP creates an object called 'ACTIVETAB' which is used to call the corresponding subscreens for each tab button in PAI.
    5. In Flowlogic editor, write following code to initiate the subscreens to the corresponding subscreen areas of each tab button when the main screen is called:
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_0100.
    CALL SUBSCREEN SUB1 INCLUDING 'SAPMZTABSTRIP' '10'.
    CALL SUBSCREEN SUB2 INCLUDING 'SAPMZTABSTRIP' '20'.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_0100.
    CALL SUBSCREEN SUB1.
    CALL SUBSCREEN SUB2.
    6. In PAI, specify following code for click events on each tab button:
    CASE SY-UCOMM.
    WHEN 'TAB1'.
    A = '10'.             * calls specified subscreen during PAI     
    TBSTR-ACTIVETAB = 'TAB1'.  * makes entire tab button in active status
    WHEN 'TAB2'.
    A = '20'.
    TBSTR-ACTIVETAB = 'TAB2'.
    WHEN 'DISPLAY'.
    LEAVE TO LIST-PROCESSING.
    WRITE :/ IO1, IO2, IO3, IO4.
    WHEN 'EXIT'.
    LEAVE PROGRAM.
    ENDCASE.
    7. Create a Tcode -> Activate all -> Execute.
    TABLE CONTROLS:
    Table Control component is used to view the internal table contents in the screen.
    Navigations to create Table control component:
    1. Create an MPP program.
    2. In Top include File, declare variables as follows:
    DATA ITAB LIKE KNA1 OCCURS 0 WITH HEADER LINE.
    DATA ITAB1 LIKE KNA1 OCCURS 0 WITH HEADER LINE.
    CONTROLS TBCL TYPE TABLEVIEW USING SCREEN 100.
    DATA CUR TYPE I VALUE 5.
    -> Save -> Activate.
    3. Create a Screen (100) -> Select Table control component from toolbar -> Double Click and specify name (TBCL) -> Press F6 and specify internal table name (ITAB) -> Select required fields -> Paste on the Table control -> To separate the fields, use Separators option in Table control Attributes -> Specify labels if necessary -> Create pushbuttons (FETCH, MODIFY, PRINT, EXIT) -> Save -> Flowlogic.
    4. In PAI module, specify following code:
    CASE SY-UCOMM.
    WHEN 'FETCH'.
    SELECT * FROM KNA1 INTO TABLE ITAB.
    TBCL-LINES = SY-DBCNT.  * To create Vertical Scrollbar
    WHEN 'EXIT'.
    LEAVE PROGRAM.
    WHEN 'PRINT'.
    GET CURSOR LINE CUR.
    READ TABLE ITAB INDEX CUR.
    LEAVE TO LIST-PROCESSING.
    WRITE :/ ITAB-KUNNR, ITAB-NAME1, ITAB-ORT01, ITAB-LAND1.
    WHEN 'MODIFY'.
    LOOP AT ITAB1.
    MODIFY KNA1 FROM ITAB1.
    IF SY-SUBRC = 0.
    MESSAGE S002(ZMSG).
    ELSE.
    MESSAGE E003(ZMSG).
    ENDIF.
    ENDLOOP.
    SELECT * FROM KNA1 INTO TABLE ITAB.
    TBCL-LINES = SY-DBCNT.
    ENDCASE.
    5. In FlowLogic editor, specify following step loops:
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_0100.
    LOOP AT ITAB CURSOR CUR WITH CONTROL TBCL.
    ENDLOOP.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_0100.
    LOOP AT ITAB.
        MODULE NEW.     * New module to move records from ITAB to                 ITAB1. Double click on Module Name (New)                 to create a new one.
    ENDLOOP.
    6. Specify following code in the NEW module:
       MODULE NEW INPUT.
         APPEND ITAB TO ITAB1.
       ENDMODULE.                
    7. Create a Tcode -> Activate all -> Execute.
    USING TABLE CONTROL WIZARD:
    This is a predefined SAP-specific component to create table control using predefined navigations.
    1. Create an executable program (Z_TABLEWIZARD) in SE38 editor. Write the following code:
    CALL SCREEN 200.
    -> Save -> Activate.
    2. Goto SE51 -> Specify program name created earlier (Z_TABLEWIZARD) -> Specify Screen number (200) -> Layout -> Select Table Control (Wizard) component from toolbar -> Opens Table control Wizard -> Follow the navigations -> Save and Activate the table control.
    3. Execute the program (Z_TABLEWIZARD).
    Regards,
    Priya.

  • Tabs in the Printout

    Hi i m using .. \t to seperate different colums. I dont want to use a table or a list as the program is very simple, all i want is that output shud look well formatted & aligned, with a tab separation.
    On screen it looks OK , but when i print it , "/t" is not recognized & a junk character is printed instead.
    I m using j2sdk1.4.
    if ( output == 2 )
    results = results + "\n Station\t MR \t\t z[i] \t\t dz[i] \n" ;
    results = results + " \t(psi)               \n";
    So there is actually a TAB between, Station & MR above, but /t is just replaced by a junk character,because of which Station & MR almost stick to each other.
    Also, when i save this as a text file, & then Print it, It prints properly.
    Thanks
    -prk

    This is the code I am using to print:
    import java.awt.*;
    import java.awt.print.*;
    public class SimplePrint implements Printable {
    private String stringToPrint;
    public SimplePrint() {
    this("This is the \t Default String. \t \t Go\t\t Blues!!!");
    public SimplePrint(String stringToPrint) {
    this.stringToPrint = stringToPrint;
    public int print(Graphics g, PageFormat pf, int pageIndex) throws PrinterException {
    if (pageIndex >= 1) {
    return Printable.NO_SUCH_PAGE;
    g.setFont(new Font("Helvetica", Font.PLAIN, 18));
    g.setColor(Color.black);
    g.drawString(stringToPrint, 100, 100);
    return Printable.PAGE_EXISTS;
    public static void main(String[] args) {
    // Get a PrintJob
    PrinterJob pj = PrinterJob.getPrinterJob();
    Printable painter;
    // Specify the painter
    if (args.length == 0) {
    painter = new SimplePrint();
    } else {
    painter = new SimplePrint(args[0]);
    pj.setPrintable(painter);
    // Show the print dialog
    if (pj.printDialog()) {
    try {
    pj.print();
    } catch (PrinterException pe) {
    System.out.println("Exception while printing.\n");
    pe.printStackTrace();
    new PrintPreview(painter, "Print Preview - SimplePrint");

  • Full photos from Aperture to iphoto

    I'm new to aperture but I'm trying to import full quality photos from aprture to iphoto, however all I can manage to get in iphoto is thumbnails a few hundred kb worth...Does anyone know how to transfer full quality jpegs over after editing with aperture..ps I can't get raw files off my canon 450d either...
    cheers David

    Davo
    The only way to get "full photos" from Aperture to iPhoto is to export them from Aperture ant then import them to iPhoto.
    If you use the Media Browser in iPhoto (File -> Show Aperture Library) then you can drag Previews over. You can increase the quality if the pics available to iPhoto this way by increasing the quality of the Previews.
    Regards
    TD

  • Ap3 - iPhoto: Metadata + Organizational issues

    I was hoping for improved cross-app integration with the advent of Aperture 3, but apparently not. Nevertheless, I'm still curious if SOMEONE who uses both programs has figured out a way to do the following:
    I want to be able to drag MULTIPLE Aperture Projects from an Aperture 3 Library (via iPhoto's "Show Aperture Library" browser window) into iPhoto, and have them then appear in iPhoto as SEPARATE Events, rather than being all lumped together into a single iPhoto Event.
    ALSO, would like the name of each project to automatically become the name of each respective iPhoto Event, rather than those Events all suddenly becoming "Untitled".
    AND -- in an ideal world -- would love to have the Caption information I'd entered for each image in Aperture appear in the relevant Description field in iPhoto.
    Is there ANY way to do this? For now, I'm limited to dragging in one Aperture Project at a time (in order to keep each one as a separate Event in iPhoto). And if I'm lucky, SOME of the Aperture Keywords I've assigned transfer over (though curiously, some don't), but I'm out of luck as far as Project->Event names, as well as Caption->Description info for each image.
    Other than my sending in more feature requests to both apps, can anyone suggest any paths to better metadata integration between Aperture 3 and IPhoto '09?
    (BTW, the reason I'm having to do this is so my wife can use iPhoto -- whose interface she prefers -- to view our domestic image library. To do this, I maintain a backup copy of my full Aperture Library on her iMac, and then import the previews it contains into her iPhoto Library, with iPhoto's "copy" option turned off. This in effect allows her to use iPhoto simply as an image viewer, which is all she wants to do.)
    Thanks,
    John Bertram,
    Toronto
    (If this question would be more appropriate for the iPhoto forum, please let me know and I'll switch it over.)

    Alan Williams wrote:
    IPhoto lacks the more comprehensive Metadata options that are present in Aperture. Presumably iPhoto is aimed at family use rather than as an outright professional toolbox. This is what I think limits your metadata from carrying over. Where it does carry over, could that be because the Keyword is present in both metadata dictionaries? Just a thought.
    You could be right on the Keyword question -- I'll check that one later.
    Part of my Ap3<->iPhoto frustration is that the kind of metadata I'm talking about -- things like Project/Event names and Caption/Description text -- is stuff I've entered using the Apple interface, as opposed to the very detailed kind of camera metadata which Aperture ingests when importing.
    It seems like this kind of user-defined, user-entered, and user-editable info -- what I'll call "soft" metadata -- should be tranferrable from one Apple image program to another Apple image program, their different (though certainly overlapping) target audiences notwithstanding.
    And I seem to recall that when I first set up my Aperture Library in the Fall of 2008, I had the same issue going the other way -- Aperture, for all its sophistication, seemed incapable of automatically naming Projects the same as the Event names it was importing, and couldn't seem to transfer the iPhoto Description info I'd entered for specific images (some of it fairly detailed) into the appropriate Caption field in Aperture.
    Automator might have offered you a solution to Event building if you had used albums in your Aperture Projects. Since you use folders I cannot see an option that will import those into iPhoto. The drawback with using such a method is the export processing time involved.
    Another hitch with my particular situation is that my Aperture Library is referenced to a Master Images folder on my Mac, whereas my wife's machine has a backup copy of the Ap Library only. So while the image Previews which that copy offers are plenty big enough for her viewing purposes, the Library itself doesn't have access to the Master Images folder, and therefore cannot do its own Exporting.
    Since your good lady is only intending to view, I would be inclined to create desktop folders to match your Project contents and drag out the previews into those (Browser/Select All.) Then manually drop the folders into iPhoto thus automatically creating an Event named the same as the desktop folder. This means just a few moments work on each folder.
    And the problem here is my very narrowly-focussed, chronological Project structure (with folders for each year, sub-folders for each month, and then individual Projects by date) makes for a Library with over 1200 Projects -- each of which needs to be seen in iPhoto as a separate Event.
    Also, I can't seem to find a way to export and/or drag previews from Aperture's Browser (either in groups of Projects or even just one Project at a time) into the Finder in such a way that folders are automatically created whose names match those of the Projects. And if I would have to manually create -- and name -- each of those Finder folders before dragging previews into them from Aperture, and THEN drop those folders into iPhoto, I'm not sure what's been gained vs. manually renaming "Untitled" Events inside iPhoto itself.
    But maybe I'm not completely understanding the workflow you were suggesting.
    In any case, thanks for taking the time to write.
    I cant think of a faster method.
    Needless to say -- if you do, don't keep it a secret!
    Cheers,
    jb

  • Can't print pdf attachment- ColorSync Utility

    Recently something "new" has developed with my laptop. I don't know if it was part of an update, but now when i get an email with a pdf document attachment, I can open it and look at it, and I see now a "format" display that is ColorSync Utility, but there is no obvious way to print it out.
    What gives?

    I called Apple for help.
    To make a long story short, it appears that a week or two ago, when I was sending a lot of old files I no longer needed to the trash, that somehow "preview" got sent there too.
    Once the technician (she had to call in the tech manager who got on the phone) figured out things, I had to drag "preview" out of the trash and put it back into applications. ONce that happened, things worked normally.
    What was happening is that normally the pdf would open in preview, but without preview there in applications, the computer selected ColorSync Utility to open it. CSU does not have a way to print, hence the problem.

Maybe you are looking for