No handles on shapes

I have a legacy document, a huge complex map, that I am updating. I am having trouble because I cannot see handles on the shapes unless I roll my cursor over them. I had 2 interns work on the document this past summer and who knows what they have done to it because it worked fine before. My fear is, one of them was a programmer and might have customized something that I cannot fix. If I make a new document I have handles and Illustrator works fine. The problem seems to be in this document.

Look in the upper left to see hat type of item you have selected.
Also look in the appearance palette
Unfortunately masked objects will plainly say group, as in the first screenshot. My best guess is you have a symbol. You would see an edit symbol button in the top bar that you want to use.
If you have a masked object, there will be a button to edit contents(looks like a circle with a dot in the middle.

Similar Messages

  • Re: adding event handling to shapes

    Hi
    I am trying to make the shapes clickable. I have tried to implement the MouseInputAdapter. I am not sure if I am doing it right. Hope some one will help me in this matter. I ahve attached both shape class and class implementing MouseInput adapter. The shape is called from yet another class that extends canvas.
    package Drawing2d;
    import java.awt.BasicStroke;
    import java.awt.Color;
    import java.awt.Graphics2D;
    import java.awt.event.MouseEvent;
    import java.awt.event.MouseListener;
    import java.awt.event.MouseMotionListener;
    import java.awt.geom.AffineTransform;
    import java.awt.geom.Line2D;
    import java.awt.geom.Point2D;
    import java.util.ArrayList;
    import java.util.List;
    import javax.swing.event.MouseInputAdapter;
    import save.pointList;
    * @author venkat
    public class Line extends Sketch implements MouseListener,MouseMotionListener{
        //public Point2D[][] lineEndPoints = new Point2D[10][2];
    int i = 0;
    public pointList plist = new pointList();  
    public List lineList;
    public Graphics2D g2d;
    public Line(Graphics2D g2,int x0, int y0, int x1, int y1){
        lineList = new ArrayList();
        g2.setColor(Color.WHITE);
        g2d = g2;
        float[] dashPattern = { 0,0,0,0 };
        g2.setStroke(new BasicStroke(1));
        AffineTransform at = AffineTransform.getTranslateInstance(Sketch.HEIGHT/2,Sketch.WIDTH/2);
        Line2D.Double line = new Line2D.Double((double)x0,(double)y0,(double)x1,(double)y1);
        g2.draw(at.createTransformedShape(line));
        lineList.add(this);
        Point2D newLoc = at.transform(line.getBounds().getLocation(), null);
        Point p1 =  new Point(g2 ,x0, y0);
        Point p2 =  new Point(g2 ,x1, y1);
        plist.add(x0, y0);
        plist.add(x1, y1);
        LineSelect lineS = new LineSelect(this);
        addMouseListener(lineS);
        addMouseMotionListener(lineS);
    * LineSelect.java
    * Created on 11-Dec-2007, 16:07:50
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package Drawing2d;
    import java.awt.Color;
    import java.awt.event.MouseEvent;
    import java.awt.geom.Line2D;
    import java.awt.geom.Point2D;
    import javax.swing.event.MouseInputAdapter;
    * @author venkat
    class LineSelect extends MouseInputAdapter{
        Line selectedLine;
        Line line2d;
        Point2D.Double p;
        public LineSelect(Line line){
            selectedLine = line;
            p = new Point2D.Double();
        public void mouseClicked(MouseEvent e) {
            java.awt.Point p = e.getPoint();      
        for(int j = 0; j < selectedLine.lineList.size(); j++)
                line2d = (Line)selectedLine.lineList.get(j);
                if(line2d.contains(p))
                    selectedLine.g2d.setColor(Color.MAGENTA);              
        public void mouseDragged(MouseEvent e) {
        public void mouseEntered(MouseEvent e) {
        public void mouseExited(MouseEvent e) {
        public void mouseMoved(MouseEvent e) {
        public void mousePressed(MouseEvent e) {
        public void mouseReleased(MouseEvent e) {
    }

    pushinglimits wrote:
    Hi
    I am trying to make the shapes clickable. I have tried to implement the MouseInputAdapter. I am not sure if I am doing it right. Hope some one will help me in this matter. I ahve attached both shape class and class implementing MouseInput adapter. The shape is called from yet another class that extends canvas.
    package Drawing2d;
    import java.awt.BasicStroke;
    import java.awt.Color;
    import java.awt.Graphics2D;
    import java.awt.event.MouseEvent;
    import java.awt.event.MouseListener;
    import java.awt.event.MouseMotionListener;
    import java.awt.geom.AffineTransform;
    import java.awt.geom.Line2D;
    import java.awt.geom.Point2D;
    import java.util.ArrayList;
    import java.util.List;
    import javax.swing.event.MouseInputAdapter;
    import save.pointList;
    * @author venkat
    public class Line extends Sketch implements MouseListener,MouseMotionListener{
    //public Point2D[][] lineEndPoints = new Point2D[10][2];
    int i = 0;
    public pointList plist = new pointList();  
    public List lineList;
    public Graphics2D g2d;
    public Line(Graphics2D g2,int x0, int y0, int x1, int y1){
    lineList = new ArrayList();
    g2.setColor(Color.WHITE);
    g2d = g2;
    float[] dashPattern = { 0,0,0,0 };
    g2.setStroke(new BasicStroke(1));
    AffineTransform at = AffineTransform.getTranslateInstance(Sketch.HEIGHT/2,Sketch.WIDTH/2);
    Line2D.Double line = new Line2D.Double((double)x0,(double)y0,(double)x1,(double)y1);
    g2.draw(at.createTransformedShape(line));
    lineList.add(this);
    Point2D newLoc = at.transform(line.getBounds().getLocation(), null);
    Point p1 =  new Point(g2 ,x0, y0);
    Point p2 =  new Point(g2 ,x1, y1);
    plist.add(x0, y0);
    plist.add(x1, y1);
    LineSelect lineS = new LineSelect(this);
    addMouseListener(lineS);
    addMouseMotionListener(lineS);
    * LineSelect.java
    * Created on 11-Dec-2007, 16:07:50
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package Drawing2d;
    import java.awt.Color;
    import java.awt.event.MouseEvent;
    import java.awt.geom.Line2D;
    import java.awt.geom.Point2D;
    import javax.swing.event.MouseInputAdapter;
    * @author venkat
    class LineSelect extends MouseInputAdapter{
    Line selectedLine;
    Line line2d;
    Point2D.Double p;
    public LineSelect(Line line){
    selectedLine = line;
    p = new Point2D.Double();
    public void mouseClicked(MouseEvent e) {
    java.awt.Point p = e.getPoint();      
    for(int j = 0; j < selectedLine.lineList.size(); j++)
    line2d = (Line)selectedLine.lineList.get(j);
    if(line2d.contains(p))
    selectedLine.g2d.setColor(Color.MAGENTA);              
    public void mouseDragged(MouseEvent e) {
    public void mouseEntered(MouseEvent e) {
    public void mouseExited(MouseEvent e) {
    public void mouseMoved(MouseEvent e) {
    public void mousePressed(MouseEvent e) {
    public void mouseReleased(MouseEvent e) {
    Hi I appreciate if anybody attempted to answer. I got arounf th problem. here is how
    * LineSelect.java
    * Created on 11-Dec-2007, 16:07:50
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package Drawing2d;
    import java.awt.Shape;
    import java.awt.Stroke;
    import java.awt.event.MouseEvent;
    import java.awt.geom.PathIterator;
    import java.util.ArrayList;
    import javax.swing.event.MouseInputAdapter;
    * @author venkat
    class LineSelect extends MouseInputAdapter{
        Line selectedLine;
        Line line2d;
        java.awt.Point p;
        Sketch sk;
        Circle circle;
        Shape line;
        Shape shape;
        private Stroke stroke;
        public LineSelect(Sketch s){
            sk = s;
        public void mouseClicked(MouseEvent e) {
            p = e.getPoint();
            PathIterator pi;       
            boolean haveSelection = false;
            ArrayList list = sk.circleList;
            for(int j = 0; j < list.size(); j++)
                circle = (Circle)list.get(j);
                System.out.print(circle.intersects(p.x, p.y, 1, 1));
                pi = circle.getPathIterator(null);
                double[] coords = new double[6];           
                if(circle.intersects(p.x, p.y, 1, 1))
                   System.out.print("reached here");
                    while(!pi.isDone()){
                    pi.currentSegment(coords);
                    System.out.print(coords);
                    pi.next();
            list = sk.lineList;       
            if(!sk.p.equals("n") && list != null){
                for(int j = 0; j < list.size(); j++)       
               // line = (Line)list.get(j);           
                line = stroke.createStrokedShape((Shape) list.get(j));
                    if(line.contains(p))
                        System.out.print("reached mouse pressed");
        public void mouseDragged(MouseEvent e) {
        public void mouseEntered(MouseEvent e) {
            p = e.getPoint();
            ArrayList list;
            list = sk.circleList;
            for(int j = 0; j < list.size(); j++)
                circle = (Circle) list.get(j);           
                       if(circle.contains(p))           
                            System.out.print("reached mouse entered");           
            list = sk.lineList;
            if(!sk.p.equals("n") && list != null){
                for(int j = 0; j < list.size(); j++)       
                    line = stroke.createStrokedShape((Circle) list.get(j));
                    if(line.contains(p))
                        System.out.print("reached mouse pressed");
        public void mouseExited(MouseEvent e) {
        public void mouseMoved(MouseEvent e) {
        public void mousePressed(MouseEvent e) {
        public void mouseReleased(MouseEvent e) {
    public class Sketch extends Canvas implements MouseListener, MouseMotionListener{
        int oldMousePositionx,oldMousePositiony, newMousePositionx, newMousePositiony;
        public String p = new String();
        Color mainColor = Color.WHITE;   
        public Save sav;
        String fileName, fileLocation;
        final int Originx = this.getWidth()/2;
        final int Originy = this.getHeight()/2;
        pointList pList = new pointList();
        pointList cList = new pointList();
        pointList rList = new pointList();
        Graphics2D g2;
        AffineTransform at = new AffineTransform();
        //intBuffer lineBuffer = new intBuffer();
        int i = 0;
        Line line;
        Circle circle;
        Rectangle rec;
        boolean islinereleased;
        boolean iscirclereleased;
        boolean isrectreleased;
        ArrayList<Shape> lineList = new ArrayList<Shape>();
        ArrayList<Circle> circleList = new ArrayList<Circle>();
        ArrayList<Shape> rectList = new ArrayList<Shape>();
        Frame fram;
         "LineSelect lineselect = new LineSelect( this );"
    public void newSketch(Frame frame, String fileN, String fileL) {
        fram = frame;
        fileName = fileN.concat(".obj");
        fileLocation = fileL.concat(".obj");
        this.setSize(frame.getSize());
        this.setBackground(Color.BLACK);
        frame.add(this,BorderLayout.CENTER);
        File file = new File(fileLocation,fileName);
        sav = new Save(fileName,fileLocation);
        addMouseListener(lineselect);
        addMouseMotionListener(lineselect);
    }This is just my implementation of various posts on the forum. But might give a different perspective.

  • Is there a way to add shapes to the shape library, and does anyone make a shape library for electronic block diagrams?

    Hello!
    I'm trying to use Pages or Keynote to make electronic block diagrams.  The shapes library looks like it would be perfect for the job, but the shapes are limited.  I know I can make a custom shape, but I live with slight brain damage, which means the mouse is NOT my friend.  If I try to make custom shapes, they look like a kindergartener's scrawl, so that's not a solution.
    All of the online forums I've been to so far say to use Visio (ick!) and if your desired symbol is not there, make it yourself.  Well, several symbols are not there, and the first paragraph explains why this is a non-starter.
    I would gladly pay some reasonable fee for electronic shapes, such as amplifiers, mixers, oscillators, etc. if someone made them.  But from the help file I can't even see a way to add those shapes to the Apple shape library, so I'm not sure, other than copy and paste, how to handle outside shapes.  Copy and paste is pretty labor intensive anyway, but if it's my only option, well, so be it.
    Any suggestions?  Aside from Visio, that is...
    Thanks!
    Jim

    Hi Jim,
    When you say the "Apple shape library" do you mean the Shapes button on the toolbar in Pages?
    I don't think there is a way to add to the Shapes in Pages. However, you can create a custom template with shapes that you frequently use. Save a document with your shapes then Menu > File > Save as Template...
    This will be saved in My Templates folder, and you can open it with Template Chooser. You will still have to Copy and Paste a shape into the document you are working on. No way around that!
    I don't use Keynote, so I may be missing something in your question.
    Regards,
    Ian.

  • Handles missing from anchor points in Photoshop CS4

    I am trying to etch an image in PS CS4, and the handles keep disapearing from the anchor points as I click and drag, when I close the path there are no handles, and when I use the path selection tool the anchor points appear but no handles, if I use the convert anchor point tool a handles appears but disapears again as soon as it is deselected. I am definitelty clicking and dragging to create the path so the handles should be present.

    If you want to show the handles that shape a section then click on that section with the Direct Selection tool (the white arrow) and not with the Path Selection tool (the black arrow).

  • Moving and resizing shapes .?!

    hey there ..
    i was wondering if you guys can help me figure out how to select , move and resize a specific shape .... apreciatte it a lot .. peace . take care and thanks for your concerns..

    Hi there, take a look at this code:
    http://forum.java.sun.com/thread.jsp?forum=31&thread=427823
    You can view the working version at www.bhun.net/shapebean.html. The example isn't very complicated nor does it contain much functionality. But it does show you one way to handle the shapes (there are probably better ones). Resizing a shape just requires you to do some extra work.
    Greets
    nuhb

  • How do I move a pattern layer independent of its vector mask?

    I've created a pattern fill layer and assigned a vector mask to it. How do I move the pattern around without affecting the mask? I realize if I want to rotate the pattern I'd need to convert it to a smart object, but if I only need to adjust the pattern location there must be some way to do that without moving the vector mask along with it. A traditional layer shows the vector and raster mask layer with a lock icon, but fill pattern layers are different for some reason. Can someone "fill" me in?

    rcraighead wrote:
    Yes, I understand that. I am working with pattern layers, not layers filled with a bitmap pattern.
    That is not what your showing above in red above your showing a shape layer in CS6 a pattern fill layer with a vector mask is a cs6 shape layer. Even the icon on the layer's content in the layers palette shows its a shape layer.  You can edit the vector mask you can not unlink it. For its a cs6 shape layer.  As you noted you can first convert pattern fill layer into a smart object layer. It then acts like a normal pixel layer with an associated transform to the canvas size. Your no longer dealing with a pattern fill layer. When you rotate it you will have the same problem with the layers corners areas.  CS6 changed shape layers design they have more options then prior  versions of Photoshop and prior versions of Photoshop can not handle CS6 shape layers that used cs6 shape options like stroke, line type, and pattern fills.

  • Do I have a Bug or a Virus?

    I know Mac's are essentially virus free, but my Mac is beginning to act like a PC. Here are some of the problems or symptoms I've experienced:
    1. One of the most prominent symptoms was a thin, black border that appeared on many applications. It always surrounded one of the folder icons on my desktop. If I was asked to type in a password, the space where you type in the password would be surrounded with the black border. If I opened Disk Utility, the panel on the left that lists my drives was surrounded by a black border.
    Curiously, that issue has apparently disappeared.
    2. On a couple occasions when I clicked the Apple icon to restart my computer, instead of seeing the choices Restart, Shut Down and Log Out MyName, it said Restart, Restart, Shut Down, Shut Down, Log Out MyName, Log Out MyName.
    3. The last time I tried to restart my computer, I got a message that it couldn't restart until I closed DataSettings, or something like that. I clicked Restart again, and it worked the second time.
    4. When I repair my disk permissions, I always get three "ACL" errors. I haven't researched this issue thoroughly, but I understand it's controversial and may not really be a problem. I've been told that the Leopard update 10.5.2 should fix it. However, I first noticed the problem AFTER I installed that update.
    5. I opened Photoshop, created an image and saved it to the desktop, only to discover SEVERAL copies of the image, one with the name I assigned, the others named Picture1, Picture2, or something like that.
    6. My external keyboard stopped working. At first, it stopped intermittently, making me think I was simply suffering from sticky key syndrome. But it got progressively worse until it simply ceased functioning, though the keyboard built into my laptop continued to work. When I restarted my computer, my external keyboard worked fine.
    The first four problems I listed are essentially annoyances which have caused no problems that I'm aware of. The other two are serious problems.
    My longest running problem relates to closing programs. Many programs won't close, unless I right-click on their icon in the dock and choose Quit or Force Quit. I would classify this as another annoyance; it can be a pain in the butt when I want to restart my computer but first have to right-click on several icons to make sure everything is closed.
    In fact, I may have already found the culprit. I heard about a cool browser plugin in from http://www.piclens.com/ and installed it on both Safari and Firefox. It was a complete disaster. It doesn't work in either one, after which Firefox crashes and Safari freezes EVERYTHING; I can't continue until I press Command-Option-Esc and quit Safari.
    I think the thin black borders appeared about the time I installed this extension. I think the second problem I listed - the thin black border - appeared about the time I installed this plugin. Many of the other problems I listed also popped up just recently, though the ACL permissions errors have been with me a little longer.
    But is it possible for a browser plugin to cause such a diversity of problems? I contacted PicLens.com for technical support. I want to try and fix it before I uninstall it. In fact, I'm a little nervous about uninstalling programs, lest I do it wrong and make things worse.
    Anyway, can anyone shed any light on my situation?
    Thanks.

    MACS don't get viruses?
    Your other information was right on, but lets not get crazy .
    here's a short list of vulnerabilities from cert.org
    VU#498105 10/14/2007 Apple Mac OS X CoreText uninitialized pointer vulnerability
    VU#147587 10/22/2001 Mac OS X utility gm4 contains format string vulnerability
    VU#765096 11/09/2006 Mac OS X kernel "fpathconf()" syscall fails to properly handle unknown file types
    VU#708340 08/01/2006 Apple Mac OS X AFP server may disclose file and folder information in search results
    VU#706838 05/03/2005 Apple Mac OS X vulnerable to buffer overflow via vpnd daemon
    VU#582934 05/03/2005 Apple Mac OS X Foundation Framework vulnerable to buffer overflow via incorrect handling of an environmental variable
    VU#464662 01/25/2005 Apple Mac OS X vulnerable to information disclosure in "Message-ID" header
    VU#678150 01/18/2005 Apple Mac OS X "at" utilities fail to drop privileges properly
    VU#174790 05/28/2004 Apple Mac OS X vulnerable to privilege escalation when using Directory Services
    VU#578798 05/17/2004 Apple Mac OS X help system may interpret inappropriate local script files
    VU#210606 05/17/2004 Apple Mac OS X "disk://" URI handler stores arbitrary files in a known location
    VU#774345 02/12/2008 Apple Mac OS X fails to properly handle a crafted URL
    VU#559444 03/13/2007 Apple Mac OS X ImageIO integer overflow vulnerability
    VU#116100 05/24/2007 Apple Mac OS X iChat UPnP buffer overflow
    VU#346656 11/26/2006 Apple Mac OS X fails to properly handle corrupted Universal Mach-O Binaries
    VU#557064 03/13/2007 Apple Mac OS X DirectoryService may allow arbitrary users to change the root password
    VU#838404 09/29/2006 Apple kernel exception handling vulnerability
    VU#575372 08/01/2006 Apple Mac OS X AFP server vulnerable to an integer overflow when file sharing is enabled
    VU#180692 08/01/2006 Apple Mac OS X AFP server vulnerable to DoS via maliciously-crafted AFP request
    VU#529945 09/21/2005 Apple Mac OS X QuickDraw Manager fails to properly handle corrupt PICT files
    VU#172948 08/15/2005 Apple Mac OS X AppKit vulnerable to buffer overflow via maliciously crafted Microsoft Word files
    VU#420316 08/15/2005 Apple Mac OS X Safari vulnerable to arbitrary command execution via URLs in PDF files
    VU#913820 08/15/2005 Apple Mac OS X Directory Services contains a buffer overflow
    VU#461412 08/15/2005 Apple Mac OS X Server servermgrd authentication vulnerable to buffer overflow
    VU#354486 05/03/2005 Apple Mac OS X Server NetInfo Setup Tool fails to validate command line parameters
    VU#140470 05/03/2005 Apple Mac OS X Server Admin fails to properly restrict users from using the proxy service
    VU#258390 05/03/2005 Apple Mac OS X with Bluetooth enabled may allow file exchange without prompting users
    VU#980078 01/25/2005 Apple Mac OS X vulnerable to buffer overflow in ColorSync ICC color profile handling
    VU#439395 06/10/2001 Apache web server performs case sensitive filtering on Mac OS X HFS+ case insensitive filesystem
    VU#902374 01/28/2004 Apple Mac OS X TruBlueEnvironment vulnerable to buffer overflow
    VU#773190 06/07/2004 Mac OS X Safari "Show in Finder" option may allow arbitrary file execution
    VU#869548 05/19/2003 Apple Mac OS X IPSec mechanism fails to handle certain incoming security policies that match by port
    VU#578886 02/24/2004 Apple Mac OS X contains a vulnerability in DiskArbitration when initializing writable removable media
    VU#873868 03/13/2007 Apple Mac OS X ImageIO memory corruption vulnerability
    VU#800296 11/28/2006 Apple Mac OS X Apple Type Services server contains multiple buffer overflows
    VU#168020 08/01/2006 Apple Mac OS X AFP server stores reconnect keys in a world-readable file
    VU#435188 08/15/2005 Apple Mac OS X AppKit vulnerable to buffer overflow via the handling of maliciously crafted rich text files
    VU#145486 05/03/2005 Apple Cocoa applications vulnerable to denial of service via malformed TIFF image
    VU#194238 02/24/2004 Apple Mac OS X Safari fails to properly display URLs in the status bar
    VU#177243 09/10/2001 Mac OS X Finder creates world-readable ".FBCIndex" file thereby disclosing sensitive information
    VU#841742 02/24/2004 Apple Mac OS X Point-to-Point Protocol daemon (pppd) contains format string vulnerability
    VU#878526 12/15/2003 Apple Mac OS X "cd9660.util" buffer overflow
    VU#987118 02/10/2004 Microsoft Virtual PC for Mac insecurely handles temporary file
    VU#399355 11/15/2001 Cisco IOS and CatOS fail to properly validate ARP packets thereby overwriting device's MAC address in ARP table
    VU#221876 05/24/2007 Apple Mac OS X mDNSResponder buffer overflow vulnerability
    VU#396820 03/13/2007 Apple QuickDraw Manager heap buffer overflow vulnerability
    VU#124280 03/13/2007 Apple Mac OS X fails to properly handle crafted AppleSingleEncoding disk images
    VU#515792 01/11/2007 Apple Mac OS X DMG UFS byteswapsbin() function Integer Overflow
    VU#323424 11/28/2006 Apple Mac OS X Apple Type Services server fails to securely create error log files
    VU#734032 11/28/2006 Apple Mac OS X Security Framework Secure Transport may not negotiate the best cipher available
    VU#988356 06/27/2006 Apple Mac OS X vulnerable to stack-based buffer overflow via specially crafted TIFF file
    VU#652196 06/27/2006 Apple Mac OS X Open Directory server vulnerable to DoS via an invalid LDAP request
    VU#983429 05/10/2005 Apple Mac OSX executes arbitrary widget with same "bundle identifier" as system widget
    VU#331694 05/03/2005 Apple Mac OS X chpass/chfn/chsh utilities do not properly validate external programs
    VU#356070 05/03/2005 Apple Terminal fails to properly sanitize input for "x-man-page" URI
    VU#704110 09/08/2004 Apple Mac OS X CoreFoundation CFPlugIn facilities automatically load plug-in executables
    VU#545446 09/08/2004 Apple Mac OS X CoreFoundation contains a buffer overflow vulnerability
    VU#870960 11/28/2006 Apple Mac OS X PPP driver fails to properly validate PADI packets
    VU#202604 10/03/2006 Skype for Mac contains a format string error in the handling of URI arguments
    VU#651844 08/01/2006 Apple Mac OS X ImageIO contains undetected memory failure in GIF image handling
    VU#605908 08/01/2006 Apple Mac OS X ImageIO vulnerable to integer overflow via specially crafted GIF image
    VU#172244 08/01/2006 Apple Mac OS X ImageIO vulnerable to integer overflow via specially crafted Radiance image
    VU#566132 08/01/2006 Apple Mac OS X WebKit may allow code execution when visiting a malicious website
    VU#629845 01/10/2006 Apple QuickTime image handling buffer overflow
    VU#351217 12/22/2005 Apple Safari WebKit component vulnerable to buffer overflow
    VU#650681 09/21/2005 Apple Mac OS X ImageIO fails to properly handle corrupt GIF files
    VU#775661 05/08/2005 Apple Safari automatically installs Dashboard widgets
    VU#287067 10/04/2001 Microsoft PowerPoint and Excel fail to properly detect macros thereby automatically executing malicious code via crafted document (MS01-050)
    VU#367424 11/20/2006 Apple Mac OS X fails to properly handle corrupted DMG image structures
    VU#240880 01/09/2007 Apple Mac OS X Finder DMG volume name buffer overflow
    VU#315856 01/23/2007 Apple Mac OS X UserNotificationCenter privilege escalation vulnerability
    VU#681056 11/28/2006 Apple Mac OS X CFNetwork may allow arbitrary FTP commands to be executed via a crafted FTP URI
    VU#546772 09/29/2006 Apple Mac OS X JPEG2000 image handling buffer overflow
    VU#776628 08/01/2006 Apple Mac OS X bootpd vulnerable to stack-based buffer overflow
    VU#527236 08/01/2006 Apple Mac OS X Image RAW vulnerable to buffer overflow via specially crafted Canon RAW image
    VU#687201 01/10/2006 Apple QuickTime and iTunes QTIF image buffer overflow
    VU#980084 03/13/2006 Apple Mail buffer overflow vulnerability
    VU#945747 10/18/2001 Mac OS X executes 'recent items' with privileges of foreground application
    VU#905292 12/18/2007 Apple Safari code execution vulnerability
    VU#515968 08/15/2007 Yahoo! Messenger webcam stream heap overflow
    VU#214040 11/21/2006 Apple Mac OS X fails to properly handle corrupted UDTO HFS+ image structures
    VU#371648 11/28/2006 Apple Mac OS X ftpd may allow arbitrary users to determine account name validity
    VU#897628 09/29/2006 Apple Mac OS X may allow network accounts to bypass service access controls
    VU#514740 08/01/2006 Apple Mac OS X Bom vulnerable to memory corruption via specially crafted ZIP file
    VU#128414 08/10/2004 Apple Safari fails to properly handle form data in HTTP redirects
    VU#433819 11/25/2007 Apple Mail remote command execution vulnerability
    VU#345233 07/31/2006 McAfee Virex fails to properly authenticate the source of updates
    VU#811384 11/28/2006 Apple Mac OS X Security Framework Online Certificate Status Protocol (OCSP) service fails to properly retrieve certificate revocation lists
    VU#907836 06/29/2006 Apple iTunes fails to properly parse AAC files
    VU#310387 02/27/2002 Cisco IOS discloses fragments of previous packets when Express Forwarding is enabled
    VU#467828 05/27/2003 Mac OS X LDAP plugins transmit user credentials in clear text
    VU#848960 11/28/2006 Apple Mac OS X WebKit deallocated object access vulnerability
    VU#999708 02/19/2006 Apple Safari automatically executes arbitrary shell commands or code
    VU#176732 03/02/2006 Apple Safari vulnerable to buffer overflow
    VU#709220 08/15/2005 Apple Safari fails to perform security checks on links in rich text content
    VU#377368 01/11/2005 Apple iTunes fails to properly handle overly long URLs in playlists
    VU#110803 05/23/2001 CrushFTP Server does not adequately filter user input thereby permitting directory traversal
    VU#648406 05/03/2004 Apple Mac OS X AppleFileServer fails to properly handle certain authentication requests
    VU#190089 06/13/2006 Microsoft PowerPoint malformed record vulnerability
    VU#758582 06/07/2005 Yamaha MusicCAST MCX-1000 wireless network interface operates in Access Point mode by default
    VU#971364 05/02/2003 HP-UX "kermit" vulnerable to buffer overflow
    VU#583020 05/07/2003 XMMS Remote input validation error
    VU#106678 05/12/2004 IEEE 802.11 wireless network protocol DSSS CCA algorithm vulnerable to denial of service
    VU#836024 01/30/2007 Apple iChat fails to properly handle crafted TXT key hashes
    VU#289705 05/11/2006 Apple Quicktime JPEG integer overflow
    VU#570689 05/11/2006 Apple QuickTime FlashPix integer overflow
    VU#519473 05/11/2006 Apple Safari fails to properly handle archive files containing symbolic links
    VU#582681 07/11/2007 Apple QuickTime fails to properly handle malformed movie files
    VU#449440 03/13/2007 Apple ColorSync buffer overflow vulnerability
    VU#683700 09/12/2006 Apple QuickTime movie buffer overflow vulnerability
    VU#587937 05/11/2006 Apple QuickTime MPEG-4 movie buffer overflow
    VU#150753 01/10/2006 Apple QuickTime TIFF image "StripByteCounts" integer overflow
    VU#921193 01/10/2006 Apple QuickTime fails to properly handle corrupt media files
    VU#913449 01/10/2006 Apple QuickTime fails to properly handle corrupt GIF images
    VU#389868 Apple WebKit frame rendering memory corruption vulnerability
    VU#191336 11/01/2006 Apple Airport driver fails to properly handle probe response frames
    VU#115729 01/10/2006 Apple QuickTime fails to properly handle corrupt TGA images
    VU#146284 11/07/2005 Macromedia Flash Player fails to properly validate the frame type identifier read from a "SWF" file
    VU#479268 05/28/2003 Apache HTTPD contains denial of service vulnerability in basic authentication module
    VU#659761 11/23/2007 Apple QuickTime RTSP Content-Type header stack buffer overflow
    VU#289988 06/25/2007 Apple Safari cross-domain HTTP redirection race condition
    VU#258744 11/28/2006 Apple Mac OS X Finder fails to properly handle malformed .DS_Store files
    VU#489836 09/12/2006 Apple QuickTime fails to properly handle FLC movies
    VU#308204 09/12/2006 Apple QuickTime fails to properly handle SGI images
    VU#861817 03/06/2007 Apple QuickTime UDTA atom integer overflow
    VU#552136 01/10/2007 Apple Mac OS X UFS filesystem integer overflow vulnerability
    VU#149953 01/15/2003 ISC "dhcrelay" fails to limit hop count when malicious bootp packet is received
    VU#274496 10/12/2004 Microsoft Excel parameter validation error
    VU#945060 03/14/2006 Adobe Flash products contain multiple vulnerabilities
    VU#312424 04/19/2007 Apple AFP Client privilege escalation vulnerability
    VU#410993 03/06/2007 Apple QuickTime QTIF integer overflow
    VU#583552 11/30/2006 Apple Airport Extreme fails to properly process 802.11 frames
    VU#847468 09/29/2006 Apple Workgroup Manager fails to properly enable ShadowHash passwords
    VU#112179 01/10/2008 Apple QuickTime RTSP Response message Reason-Phrase buffer overflow vulnerability
    VU#770904 06/26/2007 RealNetworks players SMIL "wallclock" buffer overflow
    VU#880561 03/06/2007 Apple QuickTime movie heap buffer overflow vulnerability
    VU#822481 03/06/2007 Apple Quicktime fails to properly process specially crafted MIDI files
    VU#821772 10/10/2006 Microsoft Excel fails to properly handle Lotus 1-2-3 files
    VU#313225 03/06/2007 Apple QuickTime QTIF heap buffer overflow
    VU#448745 03/06/2007 Apple QuickTime PICT heap buffer overflow
    VU#706668 10/10/2006 Microsoft Excel fails to properly process malformed DATETIME records
    VU#252500 10/10/2006 Microsoft Excel fails to properly process malformed COLINFO records
    VU#234900 10/10/2006 Microsoft Office fails to properly parse malformed strings
    VU#534276 10/10/2006 Microsoft Office fails to properly parse malformed chart records
    VU#200316 09/12/2006 Apple QuickTime vulnerable to denial of service via specially crafted FlashPix file
    VU#19124 01/20/98 SSH authentication agent follows symlinks via a UNIX domain socket
    VU#205948 10/10/2006 Microsoft PowerPoint malformed record memory corruption
    VU#187028 10/10/2006 Microsoft PowerPoint fails to properly handle malformed object pointers
    VU#143292 07/03/2006 Microsoft Excel fails to properly process malformed STYLE records
    VU#231204 09/27/2006 Microsoft PowerPoint fails to properly handle malformed records
    VU#938196 10/10/2006 Microsoft PowerPoint fails to properly handle malformed data records
    VU#936945 07/13/2006 Microsoft PowerPoint does not properly handle malformed shapes
    VU#554252 09/12/2006 Apple QuickTime Player H.264 Codec contains an integer overflow
    VU#540348 09/12/2006 Apple QuickTime fails to properly handle FlashPix files
    VU#802324 06/16/2006 Microsoft Excel vulnerability
    VU#613740 02/02/2007 Microsoft Excel memory access vulnerability
    VU#243681 06/29/2006 OpenOffice.org may fail to properly contain certain Java applets
    VU#642433 03/06/2007 Apple QuickTime QTIF stack buffer overflow
    VU#835936 11/28/2006 Apple Type Services server font processing buffer overflow
    VU#568689 03/06/2007 Apple QuickTime 3GP integer overflow
    VU#353945 05/30/2006 Secure Elements Class 5 AVR client generates predictable CEIDs
    VU#599220 06/27/2006 ClamAV vulnerable to buffer overflow via malicious database mirror
    VU#442497 01/02/2007 Apple QuickTime RTSP buffer overflow

  • QUICK MAX DUKE DOLLARS!!!

    Project.java is a simple drawing program.
    Modify the program to draw not only circles, but rectangles,
    filled circles, filled rectanges and lines. Modify the program
    so the user can change the color of a shape and clear the
    drawing.
    Use proper object orient techniques in making your modifications.
    There is some code that is in the sample program that could
    be improved. Make any modifications that you feel are necessary
    to improve the code. The code simple shows you how to perform
    the drawing operations.
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    * This is a simply drawing program which lets the user draw basic shapes
    * (lines, ovals and rectangles). This program currently only lets the
    * user draw ovals, and the only color displayed is black.
    * The drawing program uses rubberbanding so that the user can see the
    * shape as they drag it. When the use clicks down on the mouse it
    * sets the starting, or anchor, point for the drawing. When they release
    * the button the shape is drawn. As the user holds down the button and
    * drags the mouse, the shape is constantly displayed.
    public class Project extends Panel
    Panel controlPanel; // Contains for controls to determine shape and color
    ScrollPane drawPane; // A scrollable drawing pane
    Label shapeLabel; // A label for the shape drop down list
    Label colorLabel; // a label for the color drop down list
    Choice shapeChoice; // Drop down list (combbox) for selecting the shape
    Choice colorChoice; // drop down lsit for selecting the color
    Button clearButton; // For clearing the drawing canvas
    Color currentColor = Color.black; // The current color used to draw shapes
    DrawCanvas drawCanvas; // a Canva on which we draw the shapes
    Vector shapes; // A vector to hold all of the shapes
    protected String []shapeTypes = {"circle", "rectangle", "filled circle",
    "filled rectangle", "line" };
    protected String []colors = {"red", "blue", "green", "yellow", "orange",
    "white", "black", "gray", "dark gray", "light gray",
    "cyan", "magenta", "pink"};
    Point anchorPoint; // The anchor point
    Point endPoint; // The point where the mouse was released
    Point stretchPoint; // The point where the user dragged the mouse to
    Point lastPoint; // The previous drag point
    boolean firstTime = true; // first time drawing this shape?
    * Add GUI components
    public Project()
    // GridBagLayout is the most powerful and difficult to
    // use Layout manager
    // The layout manager determines were components are placed on
    // the screen. There is no need to modify it in any way.
    GridBagLayout gbl = new GridBagLayout();
    GridBagConstraints gc = new GridBagConstraints();
    // Create the control panel
    setLayout(gbl);
    controlPanel = new Panel();
    setConstraints(controlPanel, gbl, gc, 0, 0,
    GridBagConstraints.REMAINDER, 1, 0, 0,
    GridBagConstraints.CENTER,
    GridBagConstraints.NONE,
    0, 0, 0, 0);
    add(controlPanel, gc);
    shapeLabel = new Label("Shape"); // The Label for the shape drop down list
    controlPanel.add(shapeLabel);
    shapeChoice = new Choice(); // The dropdown list
    controlPanel.add(shapeChoice);
    colorLabel = new Label("Color"); // The label or the color drop down list
    controlPanel.add(colorLabel);
    colorChoice = new Choice(); // The drop down list
    controlPanel.add(colorChoice);
    clearButton = new Button("Clear"); // the clear button
    controlPanel.add(clearButton); // Doesn't do anything
    // Event handelers
    // Handle the event when the user selects a new shape
    shapeChoice.addItemListener(new ShapeHandler());
    // Event when user selects new color
    colorChoice.addItemListener(new ColorHandler());
    // Event when user click clear button
    clearButton.addActionListener(new ClearHandler());
    //Create the drawing area
    drawPane = new ScrollPane();
    setConstraints(drawPane, gbl, gc, 0, 1,
    GridBagConstraints.REMAINDER, 1, 1, 1,
    GridBagConstraints.CENTER,
    GridBagConstraints.BOTH,
    5, 0, 5, 0);
    add(drawPane, gc);
    drawPane.setSize(300,300);
    drawCanvas = new DrawCanvas(400,400);
    drawPane.add(drawCanvas);
    initShapes(); // initialize the shape choice control
    initColors(); // initialzie the color choice control
    shapes = new Vector();
    // Convenience method for GridBagLayout
    private void setConstraints(
    Component comp,
    GridBagLayout gbl,
    GridBagConstraints gc,
    int gridx,
    int gridy,
    int gridwidth,
    int gridheight,
    int weightx,
    int weighty,
    int anchor,
    int fill,
    int top,
    int left,
    int bottom,
    int right)
    gc.gridx = gridx;
    gc.gridy = gridy;
    gc.gridwidth = gridwidth;
    gc.gridheight = gridheight;
    gc.weightx = weightx;
    gc.weighty = weighty;
    gc.anchor = anchor;
    gc.fill = fill;
    gc.insets = new Insets(top, left, bottom, right);
    gbl.setConstraints(comp, gc);
    // Initialize the shape control
    private void initShapes()
    for(int i = 0; i < shapeTypes.length; i++){
    shapeChoice.add(shapeTypes);
    // Initialzie the color control
    private void initColors()
    for(int i = 0; i < colors.length; i++){
    colorChoice.add(colors);
    * Handle the shape selection
    * This doesn't currently do anything
    public class ShapeHandler implements ItemListener
    public void itemStateChanged(ItemEvent e)
    // Use get index method to get the index of the chosen shape
    // shapeType = shapeChoice.getSelectedItem();
    * Handle the color seclection
    * This doesn't do anything either
    public class ColorHandler implements ItemListener
    public void itemStateChanged(ItemEvent e)
    String color = colorChoice.getSelectedItem();
    System.out.println("Selected color " + color);
    // Handle the clear button
    // This doesn't do anything
    public class ClearHandler implements ActionListener
    public void actionPerformed(ActionEvent e)
    * A canvas to draw on
    public class DrawCanvas extends Component
    int width; // The Width of the Canvas
    int height; // The Height of the Canvas
    /** Create an area to draw on
    *@param width - the width of the drawing area
    *@param height - the height of the drawing area
    public DrawCanvas(int width, int height)
    // Handle mouse press and release events
    addMouseListener(new MouseHandler());
    // handle mouse drag events
    addMouseMotionListener(new MouseDragHandler());
    this.width = width;
    this.height = height;
    * Draw all of the shapes
    * Not very efficient
    public void paint(Graphics g)
    for (Enumeration e = shapes.elements() ; e.hasMoreElements() ;)
    Circle c = (Circle )e.nextElement();
    System.out.println("drawing Circle " + c.toString());
    c.draw(g);
    * Let everyone know what the preferred size of the drawing
    * canvas is
    public Dimension getPreferredSize()
    return new Dimension(width, height);
    * Used with rubberbanding. The way to erase a shape is
    * to draw it again in XOR mode.
    private void eraseLast(Graphics g)
    int x, y;
    int width, height;
    if (anchorPoint == null || lastPoint == null)
    return;
    // The draw methods assume that the width and height are
    // not negative so we do the following caculations to
    // insure that they are not
    if (anchorPoint.x < lastPoint.x)
    x = anchorPoint.x;
    else
    x = lastPoint.x;
    if (anchorPoint.y < lastPoint.y)
    y = anchorPoint.y;
    else
    y = lastPoint.y;
    width = Math.abs(lastPoint.x - anchorPoint.x);
    height = Math.abs(lastPoint.y - anchorPoint.y);
    // Draw the circle (or oval) at the rectagle bounded by
    // the rectange with the upper left hand corner of x,y
    // and with the specified width and height
    g.drawOval(x, y, width, height);
    // To draw a rectable
    //g.drawRect(x, y, width, height);
    // To draw a Filled Oval
    //g.fillOval(x, y, width, height);
    // To draw a Filled Rect
    //g.fillRect(x, y, width, height);
    // To draw a line
    //g.drawLine(anchorPoint.x, anchorPoint.y, lastPoint.x, lastPoint.y);
    * Do the rubber band drawing
    private void drawRubber(Graphics g)
    int x, y;
    int width, height;
    if (anchorPoint.x < stretchPoint.x)
    x = anchorPoint.x;
    else
    x = stretchPoint.x;
    if (anchorPoint.y < stretchPoint.y)
    y = anchorPoint.y;
    else
    y = stretchPoint.y;
    width = Math.abs(stretchPoint.x - anchorPoint.x);
    height = Math.abs(stretchPoint.y - anchorPoint.y);
    g.drawOval(x, y, width, height);
    * Handle the start and end of rubberbanding. At the end
    * draw the final shape
    public class MouseHandler extends MouseAdapter
    // Get the starting point
    public void mousePressed(MouseEvent e)
    anchorPoint = e.getPoint(); // Point where mouse was clickec
    firstTime = true; // The first point
    // Get the end point
    public void mouseReleased(MouseEvent e)
    endPoint = e.getPoint(); // Point where mouse was released
    Graphics g = getGraphics(); // Get the object to draw on
    g.setXORMode(getBackground()); // Set XOR mode
    eraseLast(g); // Erase the previous shape
    // Add the shape to our vector
    //Obviously you will need to do something different here
    shapes.addElement( new Circle(anchorPoint, endPoint, currentColor));
    repaint(); // Repaint the entire drawing
    g.dispose(); // Need to dispose of Graphics objects
    * Handle the rubber banding
    public class MouseDragHandler extends MouseMotionAdapter
    // Every time the mouse is moved while the mouse button is pressed
    public void mouseDragged(MouseEvent e)
    Graphics g = getGraphics();
    g.setXORMode(getBackground());
    stretchPoint = e.getPoint(); // Get the point we just dragged to
    if (firstTime == true)
    firstTime = false; // nothing to erase the first time
    else
    eraseLast(g); // Erase the last drawing
    drawRubber(g); // Draw the new one
    g.dispose(); // Anytime we do a getGraphics we must dispose of it
    lastPoint = stretchPoint; // Set the lastPoint to lastest last point
    * In real program this should extend Shape or implement a Shape
    * interface and it should be in it's own file
    * Note that even though this is called Circle, it is really an oval
    public class Circle
    int x, y; // X and Y cooridinates of bounding rectangle (upper left)
    int width, height; // width and height of bounding rectangle
    Point p2; // opposite corner of bounding retangle
    Color color; // color of circle
    public Circle(Point p1, Point p2, Color color)
    // The width and height cannot be negative.
    // x and y must always be the upper left corner
    if ( p1.x < p2.x)
    x = p1.x;
    else
    x = p2.x;
    if (p1.y < p2.y)
    y = p1.y;
    else
    y = p2.y;
    width = Math.abs( p2.x - p1.x);
    height = Math.abs(p2.y - p1.y);
    this.color = color;
    * This method is called automatically by repaint and whenever the
    * window needs to be redrawn
    public void draw(Graphics g)
    Color c = g.getColor(); // Save the current color
    g.setColor(color); // Set the color to draw the circle
    g.drawOval(x, y, width, height); // draw the circle
    g.setColor(c); // set the color back to what is was before
    * a toString method is a convienent way of
    * displaying the attributes of a class
    public String toString()
    return "Circle " + color + width + height;
    * Main method creates a Frame and adds in our drawing control
    public static void main(String []args)
    // Create the main window
    Frame frame = new Frame();
    // add a listener to close the window properly
    frame.addWindowListener(new WindowAdapter(){
    public void windowClosing(WindowEvent e){
    System.exit(0); // simply exit
    // Create our control
    Project panel = new Project();
    // add it to our window
    frame.add(panel, BorderLayout.CENTER);
    // size our window to 640 by 480 pixels
    frame.setSize(640, 480);
    // display our window
    frame.setVisible(true);
    }

    Sure, I'll do it, no problem... Anything to help a fellow hard working computer science student... I'm just curious what college you attend. Could you tell me? I promise I'll get you the code then.

  • While using Appleworks painting or drawing and using Transform

    I can't get the little box markers to come on around my image when I want to slant, stretch, or add perspective. Sometimes they appear but only cut in half and they move the image but without any real control.
    Can any one help? This is in Appleworks 6.2.9. It came with the computer so I can't reinstall or rather I don't know how. Any help there?
    iMac G5   Mac OS X (10.4.7)  
    iMac G5   Mac OS X (10.4.7)  

    Transform appears as a menu only in the Paint environment. It shows the same (non-)behaviour in my copy as in yours. Although I was able to get a shape to stretch, the behaviour was not consistent, and was wonky at best. My only suggestion would be to delete Appleworks's Preference files, but this did NOT work in my case.
    In Draw, Reshape is an item in the Arrange menu. Reshape places a number of control points on curves, and the usual handles on shapes made from straight line segments. Behaviour is consistent, especially compared to the behaviour of Transform. Check "Reshape" in AppleWorks Help for details.
    Regards,
    Barry
    PS: Although I don't think reinstallation will help for this problem, for future reference, AppleWorks is included in the Bundled Software on the Installation disk(s) that came with your G5 iMac. Startup from the Installer disk, but instead of running the Installer, check the menus and choose Install Bundled Software. Uncheck everything on the list, then open the "AppleWorks Languages" folder and check the version you want to install. Click Install.
    B

  • Selecting a pen tool path

    I created a path around an object using the pen tool, how can i move that object onto a different background? Sorry kind of new at this :/

    Ok, now your mentioning picture. To me that is like one from your camera. Thats called a pixel image or sometimes called a bitmap. Illustrator creates vector images. Vectors are points which are connected with an edge or segment. The distance between the two points are calculated mathmatically.
    A pixel image is made up of well pixels. Each pixel can have its own value that determines its color.
    When editing a pixel image is best to use an image editor such as photoshop as it has the tools needed to handle pixels.
    The tools in Illustrator are meant to handle vector shapes and paths. However over the years both illustrator and photoshop have gained tools that kind of blur the distinction of what they do. In that sense, it is possible to crop, and drop shadows, even mask out an unwanted section of the photo. But its ability to mask an area, copy it and paste it into a new document is well very limited and is usually reserved for those that have no other way to accomplish this task. So, I am not going to say that it can not be done, but that there are easier ways to do it. Which included using the correct software.

  • Event handling on drawn shape

    Is there a way that you could handle an event if the user clicked on a shape drawn in the paint method?

    Hi ,
    first understand the reply2 it is true.
    you can store the information whatever you drawn on the paint method ( like ArrayList , Vecotr , HashMap , Hashtable .... into the Shape co-ordinates and locations some thing like that ) take the MouseEvent to check the mouse position which shape is involved and process it.

  • [svn] 4088: Correction for FXG - SWF transcoding - ensuring various types of shapes are consistently handled .

    Revision: 4088
    Author: [email protected]
    Date: 2008-11-12 11:59:22 -0800 (Wed, 12 Nov 2008)
    Log Message:
    Correction for FXG -> SWF transcoding - ensuring various types of shapes are consistently handled. The x and y properties will be applied via translation in a PlaceObject3 matrix rather than modifying the shape origin.
    QE: No
    Doc: No
    Checkintests: Pass
    Modified Paths:
    flex/sdk/trunk/modules/swfutils/src/java/flash/fxg/swf/AbstractFXGGraphics.java

  • Event Handling for Graphic Shapes

    Hi guys,
    I have a problem on the implementation of a piece of software that i'm making, to be more specific i implement a GUI. In this GUI i draw rectangles, lines and that kind of things.
    The problem is that i want when clicking on a rectangle, an event to take place such as the drawing of something else, or a message, etc.
    How am i to achieve that? I've tried many things but didn't succeeded it unfortunately. How am i going to "give" life to my rectangles by adding event handling for them? What code should i write?
    Note: My class extends JPanel & i'm using paint(Graphics g) for drawing the shapes
    Thanks,
    John.

    Try this:
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    import java.awt.geom.*;
    import java.util.*;
    public class Shapes extends JFrame
         DPanel pan = new DPanel();
    public Shapes()
         addWindowListener(new WindowAdapter()
              public void windowClosing(WindowEvent ev)
                   dispose();
                   System.exit(0);
         setBounds(10,10,400,350); 
         setContentPane(pan);
         setVisible(true);
    public class DPanel extends JPanel implements MouseListener
         Vector shapes = new Vector();
         Shape  cs;
    public DPanel()
         addMouseListener(this);
         shapes.add(new Rectangle(20,20,100,40));
         shapes.add(new Rectangle(40,80,130,60));
         shapes.add(new Line2D.Double(20,150,200,180));
    public void paintComponent(Graphics g)
         super.paintComponent(g);
         Graphics2D g2 = (Graphics2D)g;
         for (int j=0; j < shapes.size(); j++)
              g2.draw((Shape)shapes.get(j));
         g.setColor(Color.red);
         if (cs != null) g2.draw(cs);
    public void mouseClicked(MouseEvent m) {}
    public void mouseEntered(MouseEvent m) {}
    public void mouseExited(MouseEvent m)  {}
    public void mouseReleased(MouseEvent m){}
    public void mousePressed(MouseEvent m)
         for (int j=0; j < shapes.size(); j++)
              Shape s = (Shape)shapes.get(j);
              Rectangle r = new Rectangle(m.getX()-1,m.getY()-1,2,2);
              if (s.intersects(r))
                   cs = s;
                   repaint();
    public static void main (String[] args) 
          new Shapes();
    }Noah

  • Is it possible to do one to one shape tween or animate vector anchors/handles?

    I am animating hair. I've added shape tween hints to as many points as I can, but parts of the shape still tweek out. Im wondering if I can animate handles/anchors directly, or if I can specify that I don't want the shape tween to add/remove anchors/handles while it tweens.
    Is there a way to tween a shape one to one? By that I mean: Say I have an N point vector animated over frame 1 to 10. I want point 0 at frame 1 to blend to point 0 at frame 10, point 1 at frame 1 to blend to point 1 at frame 10, etc
    Thanks!

    MB31 is for doing goods receipt of production order

  • Handles gone on shape transformations

    So I've been trying to fix this annoying problem for ages and I need some help. I'm animating a shape layer with a mask, therefore I'm animating the shape's path transformations, but I need to edit it through the graph editor and the easy in/out features don't cut it. The handles are gone, except the rotation handles. Help?
    Image of my graph editor + layer properties.

    Check your view options to make sure you have not turned off view handles.

Maybe you are looking for