TreeTable paint trouble?

Hi All,
According to the article [Creating Tree Tables in Swing|http://java.sun.com/products/jfc/tsc/articles/treetable1/], I create a TreeTable demo.
I can remove a tree node(or table row), as shown as the fowlling link,
[http://farm4.static.flickr.com/3398/3266491046_0e6a5ecbc8_o.png|http://farm4.static.flickr.com/3398/3266491046_0e6a5ecbc8_o.png]
It looks like fine, as shown as the fowlling link,
[http://farm4.static.flickr.com/3321/3266491064_9133548b7d_o.png|http://farm4.static.flickr.com/3321/3266491064_9133548b7d_o.png]
but if I remove the node 1 (the first row), as shown as the fowlling link,
[http://farm4.static.flickr.com/3461/3265662529_1f5de38466_o.png|http://farm4.static.flickr.com/3461/3265662529_1f5de38466_o.png]
the result isn't fine, as shown as the fowllings,
[http://farm4.static.flickr.com/3337/3265662547_91a8106d09_o.png|http://farm4.static.flickr.com/3337/3265662547_91a8106d09_o.png]
after I resize the frame, all is OK, as shown as the fowllings,
[http://farm4.static.flickr.com/3325/3266491136_6ae04fe8d4_o.png|http://farm4.static.flickr.com/3325/3266491136_6ae04fe8d4_o.png]
How to explain the trouble?
How to fix it?
Sha Jiang
a cup of Java, cheers!

after I resize the frame, all is OKif that is the case, then you can make the frame repaint itself from the code! i.e. add
frame.repaint();// or whatever your frame is called...at the end of deletion handler.
Thanks!

Similar Messages

  • PS CS4 3D Painting troubles!

    I work frequently with SketchUP Pro and can export in a variety of formats. When I export a .obj file and bring the model into PS as a new 3D layer, I find that I canNOT figure out how to actually paint on the model itself. I've tried a bundle of different ways, read through tutorials, watched videos and none of them seem to tell me exactly how to do it.
    I've got a brand new mac pro - with ati radeon hd 2600 (openGL 2.0 supported), so I should absolutely be able to do this. Any ideas or foolproof methods of being able to paint directly on a 3D model in PS cs4?
    Hugely appreciated!!

    Isolating 3D parts is a selection process. You select the polygons you see, expand/ contract from there, then hide the layers/ polygons you don't need. In both your examples it seems that neither of you has a proper contiguous UV set in the files, so any painting will fail because your UV data only contains isolated islands, giving the scatter. And a very knowledgeable 3D developer once told me, that the Sketchup OBJ files are the most atrocious and out of whack ones on the planet, so this certainly adds to the problem. In any case, you problems can only be solved by going back to your 3D programs and looking for the right options. If you have no access to a 3D tool yourselves, I recommend downloading the free blender. This would at least help to verify the defunct nature of the UV sets and after a little reading up and practice you may even be able to create your own UV sets, e.g. based on a cylindrical projection for the bottle. I also recommend you ignore realworld scales when exporting your models and instead make them large-ish (10 or 100 times the size). This helps circumvent the OBJ format's precision issues and will improve handling, as PS will equate 1 unit to 1 pixels and the more units/ pixels you have, the more precise the handling.
    Mylenium

  • Report Painter Library: troubles with new field in the additional structure

    Hi, ALL!
    I'm  creating a new field in the Report Painter table  GLFUNCT. Do do it I created my field in the additional structure GLDBZ  for GLFUNCT and create an row in the T804C table for new field.
    Who has expirience in customizing using T804* tables? What tables should be used and how? I have the following troubles:
    - I do not see the new field as characteristic in the library - I don't know the customizing table to set fields from additional structure as characteristic
    - in the generated Report Painter program  my new field exists  but call of filler routine is always disabled
    Thanks
    Tatiana

    Hi Shabitha,
    just wondering if you ever found an answer to this, as i'm searching for info on same matter.
    Thanks, Regards,
    Okan Yarligan

  • Live Paint Bucket Troubles

    Hello,
         I have been using Illustrator 6 for about a week now and am being driven mad by the new paint bucket. Is there any way that I might revert to the old version of paint bucket? It was alot easier to use. Thank you for your time.
    Sincerely,
    Chris

    That is a matter of course, Ray.
    Frankly, don't you think Option Eyedropper actually is the fastest and most efficient way, specifically if you're going to fill a lot of objects on the fly ? At least compared to the method you're probably preferring?
    In older versions of Illustrator there was a separate Paint Bucket tool. Perhaps it was a bit more obvious to use it there. Basically, it did the same as Option Eyedropper does nowadays.

  • Trouble with sampling color while using paint tool... help!

    The other day, Photoshops started acting a little funny. Specifically, when using the paint tool, I'll hit option (alt) to sample a color to the foreground but it is sampling to the background instead. I have tried to reset all tools and no dice. Does anybody know how i can reverse this? it is screwing up my whole blending procress.

    With the paint brush selected, go to the Color panel, and click on the foreground colour so it has a feint white line around it.

  • Troubles with af:treeTable based on ViewObject after replacing SQL query.

    Hi everyone!
    We have <af:treeTable> component in our application, based on 3 ViewObject instances. These instances have the following structure in the Application Module:
    RootViewObject
    |----MainViewObject
    |----------|--------------ManagedViewObject
    According to our business logic, we change SQL query programmatically, reexecute all queries, refresh <af:treeTable> component, but the content of our tree table does not change after these actions. I have tried to output content of ViewObjects after changing and reexecuting the queries, and I have found out that the data in the ViewObjects have been changed!
    Why does the content of the <af:treeTable> component NOT change after refreshing it programmatically?
    Any ideas?
    Thanks in advance!
    Edited by: Emin10 on 10.12.2012 0:28
    Edited by: Emin10 on 10.12.2012 0:28

    Kamaal, Saif Kamaal
    I've already tried to put PPR on the parent container (in my case this is a toolbarButton).
    I refresh treeTable programmatically using this code:
    RequestContext rc = RequestContext.getCurrentInstance();
    rc.addPartialTarget(mytreeTable);

  • I have trouble running this paint program successfully!

    The frame with a white panel area shows and then I get this error:
    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
            at MyGoodPaint.annotateImage(MyGoodPaint.java:38)
            at MyGoodPaint.paintComponent(MyGoodPaint.java:92)
            at javax.swing.JComponent.paint(JComponent.java:1029)
            at javax.swing.JComponent.paintChildren(JComponent.java:862)
            at javax.swing.JComponent.paint(JComponent.java:1038)
            at javax.swing.JComponent.paintChildren(JComponent.java:862)
            at javax.swing.JComponent.paint(JComponent.java:1038)
            at javax.swing.JLayeredPane.paint(JLayeredPane.java:567)
            at javax.swing.JComponent.paintChildren(JComponent.java:862)
            at javax.swing.JComponent.paintToOffscreen(JComponent.java:5131)
            at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1479)
            at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1410)
            at javax.swing.RepaintManager.paint(RepaintManager.java:1224)
            at javax.swing.JComponent.paint(JComponent.java:1015)
            at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21)
            at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
            at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
            at java.awt.Container.paint(Container.java:1780)
            at java.awt.Window.paint(Window.java:3375)
            at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:796)
            at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:713)
            at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:693)
            at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:125)
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
            at MyGoodPaint.annotateImage(MyGoodPaint.java:38)
            at MyGoodPaint.paintComponent(MyGoodPaint.java:92)
            at javax.swing.JComponent.paint(JComponent.java:1029)
            at javax.swing.JComponent.paintChildren(JComponent.java:862)
            at javax.swing.JComponent.paint(JComponent.java:1038)
            at javax.swing.JComponent.paintChildren(JComponent.java:862)
            at javax.swing.JComponent.paint(JComponent.java:1038)
            at javax.swing.JLayeredPane.paint(JLayeredPane.java:567)
            at javax.swing.JComponent.paintChildren(JComponent.java:862)
            at javax.swing.JComponent.paintToOffscreen(JComponent.java:5131)
            at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1479)
            at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1410)
            at javax.swing.RepaintManager.paint(RepaintManager.java:1224)
            at javax.swing.JComponent.paint(JComponent.java:1015)
            at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21)
            at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
            at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
            at java.awt.Container.paint(Container.java:1780)
            at java.awt.Window.paint(Window.java:3375)
            at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:796)
            at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:713)
            at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:693)
            at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:125)
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)Here is the code:
    import java.awt.Graphics;
    import java.awt.Graphics2D;
    import java.awt.event.MouseEvent;
    import java.awt.event.MouseListener;
    import java.awt.event.MouseMotionListener;
    import java.awt.image.BufferedImage;
    import java.io.File;
    import javax.imageio.ImageIO;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    public class MyGoodPaint extends JPanel
        int width = 400;
        int height = 400;
        BufferedImage image = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);
        Graphics2D g2;
        int previousX;
        int previousY;
        int currentX;
        int currentY;
        public MyGoodPaint()
            JFrame frame = new JFrame();
            frame.add(this);
            frame.setSize(width,height);
            frame.setLocationRelativeTo(null);
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.setVisible(true);
        public void annotateImage()
            g2.drawLine(previousX, previousY, currentX, currentY);
        private class MyMouseMotionListener implements MouseListener, MouseMotionListener
            public void mouseClicked(MouseEvent e)
            public void mousePressed(MouseEvent e)
            public void mouseReleased(MouseEvent event)
                try
                    ImageIO.write(image, "png", new File("C:\\Users\\Deniz\\Desktop\\newberry.png"));
                catch(Exception exception)
                    System.out.println("The exception caught is: " + exception);
            public void mouseEntered(MouseEvent e)
            public void mouseExited(MouseEvent e)
            public void mouseDragged(MouseEvent e)
                currentX = e.getX();
                currentY = e.getY();
                repaint();
            public void mouseMoved(MouseEvent e)
        protected void paintComponent(Graphics g)
            super.paintComponent(g);
            g.drawLine(previousX, previousY, currentX, currentY);
            annotateImage();
            previousX = currentX;
            previousY = currentY;
        public static void main(String[] args)
            new MyGoodPaint();
    }I am more interested in just getting it to work but please do also tell me of any bad practices I am doing and what the better way is at least briefly.
    Any help in solving this problem would be greatly appreciated!
    Thanks in advance!

    Ok, I got it under control now.
    Here is the latest code (I know I have things to fix but the stuff I needed help with have been dealt with):
    import java.awt.Graphics;
    import java.awt.Graphics2D;
    import java.awt.event.MouseEvent;
    import java.awt.event.MouseListener;
    import java.awt.event.MouseMotionListener;
    import java.awt.image.BufferedImage;
    import java.io.File;
    import javax.imageio.ImageIO;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    public class MyGoodPaint extends JPanel
        int width = 400;
        int height = 400;
        BufferedImage image = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);
        Graphics2D g2 = image.createGraphics();
        int previousX;
        int previousY;
        int currentX;
        int currentY;
        public MyGoodPaint()
            JFrame frame = new JFrame();
            frame.add(this);
            frame.setSize(width,height);
            frame.setLocationRelativeTo(null);
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.setVisible(true);
            MyMouseListener myMouseListener = new MyMouseListener();
            this.addMouseListener(myMouseListener);
            this.addMouseMotionListener(myMouseListener);
        public void annotateImage()
            g2.drawLine(previousX, previousY, currentX, currentY);
        private class MyMouseListener implements MouseListener, MouseMotionListener
            public void mouseClicked(MouseEvent e)
            public void mousePressed(MouseEvent e)
            public void mouseReleased(MouseEvent event)
                try
                    ImageIO.write(image, "png", new File("C:\\Users\\Deniz\\Desktop\\newberry.png"));
                catch(Exception exception)
                    System.out.println("The exception caught is: " + exception);
            public void mouseEntered(MouseEvent e)
            public void mouseExited(MouseEvent e)
            public void mouseDragged(MouseEvent e)
                currentX = e.getX();
                currentY = e.getY();
                repaint();
            public void mouseMoved(MouseEvent e)
        protected void paintComponent(Graphics g)
            super.paintComponent(g);
            g.drawLine(previousX, previousY, currentX, currentY);
            annotateImage();
            previousX = currentX;
            previousY = currentY;
        public static void main(String[] args)
            new MyGoodPaint();
    }Edit:
    Darryl Burke: I forgot to say thank you :).
    Edited by: s3a on May 29, 2011 1:10 PM

  • I am using Ilustrator CS4 and I am having trouble live paint bucket tool

    Can you please help me????

    Give us your OS and version and resources, is it a notebook, tower how much memory, Processor speed. Then are there any plugins.
    Then describe what you are trying to create and what steps you followed

  • Detail view with bind variable. TreeTable not showing all detail result.

    I’m having trouble with treeTable using detail view with bind variables and where clause defined in VO definition.
    Both, master and detail view objects, base on the same entity and have the same condition in where clause. The view objects also have bind variables, which are set in prepareRowSetForQuery() method.
    Again, these are two different views, that get different result, based on value of one of the bind variable.
    When I show results in two different tables on jsf page, where master table has "RowSelection" set on "single", all results are displayed in detail table.
    But when I use treeTable, only the first result of the detail is shown.

    I tested it in applicationModule and it works, but i think that's the same as two tables on a jsf page.
    This is the order in which overridden methods are called in ADF BC or two tables on jsf page
    when clicking on row in master table.
    PrepareRowSetForQueryDetail
    executeQueryForCollection_Detail user param: 2
       Object 2: class [Ljava.lang.Object;  -> print of the object2[] parameter in executeQueryForCollection
         List 0: Bind_ChildId -> viewLink parameter
         List 1: 400035313 -> viewLink parameter value
    getEstimatedRowCount_Detail
    count: 2
    getEstimatedRowCount_Detail
    count: 2 And when i click on "expand node" in tree table:
    getEstimatedRowCount_Root
    count: 2
    PrepareRowSetForQuery_Detail
    executeQueryForCollection_Detail user param: 2
       Object 2: class [Ljava.lang.Object;
         List 0: Bind_ChildId -> viewLink parameter
         List 1: 400035321
    PrepareRowSetForQueryDetail
    executeQueryForCollection_Detail user param: 2
       Object 2: class [Ljava.lang.Object;
         List 0: Bind_ChildId -> viewLink parameter
         List 1: 400035313
    getEstimatedRowCount_Root
    count: 2
    getEstimatedRowCount_Root
    count: 2
    getEstimatedRowCount_Root
    count: 2
    PrepareRowSetForQueryDetail
    executeQueryForCollection_Detail user param: 2
       Object 2: class [Ljava.lang.Object;
         List 0: Bind_ChildId -> viewLink parameter
         List 1: 400035313
    PrepareRowSetForQueryDetail
    executeQueryForCollection_Detail user param: 2
       Object 2: class [Ljava.lang.Object;
         List 0: Bind_ChildId -> viewLink parameter
         List 1: 400035321
    getEstimatedRowCount_Root
    count: 2
    getEstimatedRowCount_Root
    count: 2Values of user parameters are OK. Is there another method that i should override?
    I also noticed, that if detail view doesn't have user bind variables, the tree works fine and is shown even in ADF BC (aplication module).
    I guess we loose a tree, when using bind variables in detail view object.
    Is there a way around it?

  • Troubles with HP OfficeJet 6500 E710n-z on Arch Linux

    Recently, I have tried to use my printer after five months break. It used to run smoothly on Arch Linux with hplip. However, now, I have not managed to make it print properly with hplip again. This is my configuration, as seen from the CUPS web interface:
        Driver: HP Officejet 6500 e710n-z hpijs, 3.12.11 (color, 2-sided printing)
        Connection: hp:/net/Officejet_6500_E710n-z?ip=192.168.1.4
    After trying to print some test page, the jobs listing in the CUPS web interface showed me a error message "Filter failed". I deleted my .cups and .hplip directories in my home folder and reinstalled cups and hplip. The same symptoms appeared again after restarting and a fresh installation.
        HP_Officejet_6500_E710n-z-400     Unknown     Withheld     98k     Unknown     pending since Sat 05 Jan 2013 04:22:46 PM CET     "Filter failed"
    My Arch system is up-to-date. I heard that it might have become necessary to install the hplip-plugin somewhen in the last month for some HP printer models. If I understand the table at the bottom of http://hplipopensource.com/hplip-web/mo … 10n-z.html correctly, then the hplip-plugin is neither required nor available for my printer model. I tested also installing it from AUR, just because it was worth a try (https://aur.archlinux.org/packages/hplip-plugin/), but this made matters worse, having my printer to madly produce almost-empty paper with some crap characters at each page top. As expected, the hplip-plugin was a dead-end, and I uninstalled it to continue some experimentation with printing test pages (all on the same page, mind the trees!). Resuming the printer, CUPS prints
    ***** Unable to open the initial device, quitting.
    Looking at the number of hits on Google, this seems to be one of the favourite error messages. I looked at the output in /var/cups/error_log
    D [05/Jan/2013:16:39:10 +0100] [Job 407] Spooler: cups
    D [05/Jan/2013:16:39:10 +0100] [Job 407] Printer: HP_Officejet_6500_E710n-z
    D [05/Jan/2013:16:39:10 +0100] [Job 407] Shell: /bin/bash
    D [05/Jan/2013:16:39:10 +0100] [Job 407] PPD file: /etc/cups/ppd/HP_Officejet_6500_E710n-z.ppd
    D [05/Jan/2013:16:39:10 +0100] [Job 407] ATTR file:
    D [05/Jan/2013:16:39:10 +0100] [Job 407] Printer model: HP Officejet 6500 e710n-z hpijs, 3.12.11
    D [05/Jan/2013:16:39:10 +0100] [Job 407] Job title: Leafpad job 5
    D [05/Jan/2013:16:39:10 +0100] [Job 407] File(s) to be printed:
    D [05/Jan/2013:16:39:10 +0100] [Job 407] <STDIN>
    D [05/Jan/2013:16:39:10 +0100] [Job 407] Ghostscript extra search path ('GS_LIB'): /usr/share/cups/fonts
    D [05/Jan/2013:16:39:10 +0100] [Job 407] Printing system options:
    D [05/Jan/2013:16:39:10 +0100] [Job 407] Pondering option 'number-up=1'
    D [05/Jan/2013:16:39:10 +0100] [Job 407] Unknown option number-up=1.
    D [05/Jan/2013:16:39:10 +0100] [Job 407] Pondering option 'job-uuid=urn:uuid:ac6ebe82-17e5-3f8f-49ec-01820c35ea2e'
    D [05/Jan/2013:16:39:10 +0100] [Job 407] Unknown option job-uuid=urn:uuid:ac6ebe82-17e5-3f8f-49ec-01820c35ea2e.
    D [05/Jan/2013:16:39:10 +0100] [Job 407] Pondering option 'job-originating-host-name=localhost'
    D [05/Jan/2013:16:39:10 +0100] [Job 407] Unknown option job-originating-host-name=localhost.
    D [05/Jan/2013:16:39:10 +0100] [Job 407] Pondering option 'time-at-creation=1357400341'
    D [05/Jan/2013:16:39:10 +0100] [Job 407] Unknown option time-at-creation=1357400341.
    D [05/Jan/2013:16:39:10 +0100] [Job 407] Pondering option 'time-at-processing=1357400341'
    D [05/Jan/2013:16:39:10 +0100] [Job 407] Unknown option time-at-processing=1357400341.
    D [05/Jan/2013:16:39:10 +0100] [Job 407] Options from the PPD file:
    D [05/Jan/2013:16:39:10 +0100] [Job 407] Pondering option 'InputSlot=Default'
    D [05/Jan/2013:16:39:10 +0100] [Job 407] Pondering option 'Quality=FromPrintoutMode'
    D [05/Jan/2013:16:39:10 +0100] [Job 407] Pondering option 'MediaType=Plain'
    D [05/Jan/2013:16:39:10 +0100] [Job 407] Pondering option 'PageSize=Letter'
    D [05/Jan/2013:16:39:10 +0100] [Job 407] Pondering option 'PrintoutMode=Normal'
    D [05/Jan/2013:16:39:10 +0100] [Job 407] Pondering option 'DryTime=Zero'
    D [05/Jan/2013:16:39:10 +0100] [Job 407] Pondering option 'Duplex=DuplexNoTumble'
    D [05/Jan/2013:16:39:10 +0100] [Job 407] ================================================
    D [05/Jan/2013:16:39:10 +0100] [Job 407] File: <STDIN>
    D [05/Jan/2013:16:39:10 +0100] [Job 407] ================================================
    D [05/Jan/2013:16:39:10 +0100] [Job 407] Filetype: PDF
    D [05/Jan/2013:16:39:10 +0100] [Job 407] PID 28827 (/usr/lib/cups/filter/pdftopdf) exited with no errors.
    D [05/Jan/2013:16:39:10 +0100] [Job 407] Storing temporary files in /var/spool/cups/tmp
    D [05/Jan/2013:16:39:10 +0100] [Job 407] File contains 1 pages
    D [05/Jan/2013:16:39:10 +0100] [Job 407] Starting renderer with command: gs -dFirstPage=1 -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="HP Color LaserJet 2600n" -dDuplex=true -dTumble=false -r300 -sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2,PS:MediaPosition=7 -dIjsUseOutputFD -sOutputFile=- /var/spool/cups/tmp/foomatic-3lyFKy
    D [05/Jan/2013:16:39:10 +0100] [Job 407] Starting process "kid3" (generation 1)
    D [05/Jan/2013:16:39:10 +0100] [Job 407] Starting process "kid4" (generation 2)
    D [05/Jan/2013:16:39:10 +0100] [Job 407] Starting process "renderer" (generation 2)
    D [05/Jan/2013:16:39:10 +0100] [Job 407] JCL: %-12345X@PJL
    D [05/Jan/2013:16:39:10 +0100] [Job 407] <job data>
    D [05/Jan/2013:16:39:10 +0100] [Job 407] prnt/hpijs/hpijs.cpp 269: unable to set device=HP Color LaserJet 2600n, err=48
    D [05/Jan/2013:16:39:10 +0100] [Job 407] prnt/hpijs/hpijs.cpp 290: unable to set device=HP Color LaserJet 2600n, err=48
    D [05/Jan/2013:16:39:10 +0100] [Job 407] renderer exited with status 1
    D [05/Jan/2013:16:39:10 +0100] [Job 407] prnt/hpijs/hpijs.cpp 697: unable to read client data err=-2
    D [05/Jan/2013:16:39:10 +0100] [Job 407] Possible error on renderer command line or PostScript error. Check options.Kid3 exit status: 3
    D [05/Jan/2013:16:39:10 +0100] [Job 407] STATE: +connecting-to-device
    D [05/Jan/2013:16:39:10 +0100] [Job 407] PID 28828 (/usr/lib/cups/filter/foomatic-rip) stopped with status 9.
    Indeed, some errors show up. I find it strange that ghostscript is called with a parameter -sDeviceModel="HP Color LaserJet 2600n" -dDuplex=true even though I clearly have an inkjet printer and no laser printer – and also specified the correct printer model. Also later, I can see the two lines
    D [05/Jan/2013:16:39:10 +0100] [Job 407] prnt/hpijs/hpijs.cpp 269: unable to set device=HP Color LaserJet 2600n, err=48
    D [05/Jan/2013:16:39:10 +0100] [Job 407] prnt/hpijs/hpijs.cpp 290: unable to set device=HP Color LaserJet 2600n, err=48
    which to the best of my knowledge indicates some internal mess. Raising the debug level in cups.conf did not tell me anything new.
    Notably, using the hpcups driver at least makes the printer print pages properly, but the wonderful (mind the trees) duplex-mode seems to only be available when using hpijs when selecting the PPD file in the add printer wizard. That is why I want to stay with the driver mentioned above.
    The trouble for me is that the printing pipeline is so complex and so many components are involved that I have no real good starting point to where exactly post bug reports. I would appreciate if some fellows with the same printer and the same errors could confirm my description. Or even point out how to get that organism to paint ink properly on the paper. Any ideas where to start? Or references to better resources regarding the combo of HP OfficeJet 6500 E710n-z and Arch? Is it just an regression bug and will be fixed? Is my system corrupted in some way? There is lots of open questions I don't quite feel able to answer all by myself. Any hints for troubleshooting appreciated!
    Edit:
    After some more reading and troubleshooting, I have filed the following two bug reports at hplip:
    https://bugs.launchpad.net/hplip/+bug/1096418
    https://bugs.launchpad.net/hplip/+bug/1096421
    Last edited by jeadorf (2013-01-05 19:30:19)

    SCAN ISSUE SOLVED!!!!
    I have an HP Photosmart 6500a Plus printer that is connected via USB to a less than 1 year old Dell XPS 8300 tower running Win 7 64bit Home Premium Edition.  The print function worked fine but scans would halt mid-way through the scan and eventually the software would indicate that it had lost connection with the scanner. 
    After EXTENSIVE testing, I determined that the problem was with the Dell tower and NOT THE PRINTER.  I hooked the printer up to a Dell Inspiron mni-tower running Vista and had NO PROBLEM scanning.  I hooked the printer up to a Gateway laptop running Win 7 Pro and had NO PROBLEM scanning.
    On a hunch, I inserted a POWERED USB hub in between the Dell XPS 8300 tower and the HP Photosmart 6500a Plus and was rewarded with a, first time ever on the XPS 8300, complete and flawless scan.
    I surmise that the HP Photosmart 6500a Plus was not getting the required voltage from the USB on the Dell XPS 8300 tower and that was causing the scan to fail.
    WOOHOO!
    Been chasing this one for several months...

  • The trouble with 'expression' -- how to edit that

    I just walked to the corner bodega ( even though its korean sooo bodega is misleading ).. to get some beer...
    ITS BEER THIRTY -- yipee !
    and on way back down the block where I live ( which is suburban ) some boy kid on a bike was riding and playing with a girl kid ( probably was his slightly older sister - these kids probably around 12 years old ) in front of a rental property with some spanish americans hanging out in their cemented yard on hammocks near bar b q...with their own kids...(they have planted another hopeful "veg garden" around the perimeter of their so called yard...tomato plants etc )...so anyway, the picture here is a "neighborhood" of sorts with a somewhat lower middle class family atmosphere in a fairly lower class area on the verge of becoming middle class ( with God's help ).
    And anyway, I passed by the boy kid on the bike and smiled at him cause he seemed to be a decent kid having fun with his friend ( they were sorta laughing about something and having fun before I showed up as the big "adult" and looked at me ). His smile back was like sunshine and true and he immediately recognized he could keep having fun with his friend and I wasn't a "threat" , but instead some sorta "neighbor".  She did the same more or less ( I think she had some devious design re: the game they were playing ... like " OK, you think you're so great on that bike, try to CHASE me ! " or something like that....kid stuff... and fun thank God.  This neighborhood has it's share of bad things going on in the streets at times.  And that leads to my focus on " The trouble with expression".
    A lot of people, like me for example, can't express themselves well in some ways. I didn't say , " Hi there kids !  What's new ? " when I met them on the way back from the bodega.  I didn't stop and ask what the heck they were laughing about.  Nor did I speak to the spanish people adjacent to the kids ...in their "yard" ...with the bar b q and hammock and obvious friday afternoon socializing they were into....
    We in nyc area are typically a mixed bag of races... I'm white, kids were african amer ( black but more like brownish if you ask me ), spanish people like mexicans IMO... who cares.  This is suburbia so you can imagine how more mixed it is in the city.
    Anyway, the reason I don't express myself so well in situations like that ( spontaneously on the street ) is cause I used to stutter real bad as a kid.. couldnt talk... so I clamed up. All my life I've been fighting that disability ( and other "challenges" re: learning, reading , writing, asthma , etc ) in terms of the "repercusions".  Kids like me make fun of me cause I stutter...I can't fight back verbally and lash out physically... become a "maniac".  Get kicked out of city schools etc...  Trouble maker.  Can't express myself, fight back with words....when kids are mean to me. After a while they dont matter much as if they are mean I just keep quiet and keep mouth shut and start "thinking" instead... how to keep on top of this person and not let things get crazy... meet the challenge.
    Turns out I'm not stupid and at some point my being " quiet" becomes a positive thing.. peers start asking my advice.. I'm suddenly a " deep thinker" in their eyes.  I go from being disabled ( stupid ) to being " a deep thinker" about the age of puberty... when nobody knows what they are doing anymore.
    I start thinking about expressing myself some other way than talking.. like maybe draw pictures... paint stuff, do things to have fun with people that doesnt put me in the " limelight".. where I have to talk etc.  More success follows this tendency to socialize and express myself... and I discover that chics like the strong silent type.
    ( I have been into gymnastics thru my fathers infactuation with it since age 2 -- which I think eventually ( inadvertantly ) " cured me " of many of my learning disabilities etc --  (talk to an OT about this and modern child development stuff to know what I mean here )
    Meanwhile I am very fond of dogs as my family has dogs one after the other and I am one of their best friends. I find I can communicate with dogs better than I can communicate with people sometimes.  This seems to be a problem in some cases with some people, but for me it never got crazy... where I " loved dogs " more than I " love people ".  I have never loved any dog more than any person and shudder when I think of those who do.  Those people who do have more problems than I ever had to deal with.
    And now, after all these years ( I am now 60 ), working on movies and tv stuff etc as a crew person with some college fine art schooling ( eventual photo major ) to get me started, I got into this " editing " stuff... A program I can actually " use " on my mousey computer introduces me to a more " final product " than I ever had access to before.
    BUT I don't shoot motion pic stuff, cant afford that - and never could before basically, and now I think about the triple threats and future of movies and tv as a business... as well as the tools ( in this case the editing programs in conjunction with the cameras ( arri, panavision etc ) ) and the desire to express something ...
    This has to be ( if you want an audience ) ... " tell a story ".  You could just put a camera on a rocket ( strap it to the rocket ) and shoot the takeoff etc and show that.. but you need a V.O. saying " well, I just shot off a rocket and this is what it looked like"...to bring the experience to the audience... or else IMO there is no story.
    Which leads to what's going on now in the world of reality tv, episodic tv , some big movies, etc.  Telling a story is more than showing you stuff that you just wouldnt have seen if you hadn't been there yourself. Telling a story is more like saying something that bridges the gap between your own experience of life and its challenges ( of being part of your neighborhood and making sense of your own childhood and being an adult now maybe ).. and what others also have gone through to get to the same conclusions....
    This is the object of " expression" IMO, whether you can talk about it, draw pictures about it, or make music about it...
    And the editing program is a tool to help do that.. it is not the end all or purpose of life or the " personal crusade" in the long run.
    It's one reason scary snakes often shock people out of their desire for comfort and predictable living... makes you think about that one serpent in the garden of eden you create for yourself .... and IMO who cares what editing program you use to write that and shoot it ??

    Steve Grisetti, the MOD of the Premiere Elements forum and co-founder of a video/photo/editing Web site, Muvipix, did a nice article, "Don't just make a movie - tell a story." His audience was more consumer video editors, than the folk that we see around here, but his points were well-made, and were embraced by many in the Muvipix community.
    I think that too many, forget that concept - and I am talking Hollywood and NYC here. It's almost as if, when the story breaks down, they instinctively know to throw in a car chase, or big explosion.
    I know that I cite it too often around The Lounge, but that was what I enjoyed most about the LOR trilogy. It told a story. Now, though I had some exposure to the story, when much younger, I have to admit that I never read Tolkien, though almost everyone, that I knew, was busy with every book. Still, I only knew some of the high points, and not much more. However, almost immediately, I was drawn into the story, and only wished that I did not have to wait so long between episodes. The FX were cool, and I am a technoid sort, but it was the story that hooked me. I had read several articles on the FX production, so WAS looking for some of that, but what I wanted was the story. This is one that I will buy the BD "Director's Cut" of, and do a marathon. I have seen each segment, maybe three times, but never back to back to back. I still need to fill in a few blanks, and an entire day of viewing should do that - no phone, no visitors, nothing but LOR.
    As far as human communications, I can talk, even more than I write here, but only concerning things that I care about. I am horrible at "small talk," and would rather addrss an auditorium of 10,000, on something that matters to me, than talk about the weather to a single person at a fund raiser. Not that long ago, I was seated next to a potential donor at a charity dinner. I was rather dreading it, and when she mentioned that she did not drink (what, no wine?), I was worried. At some point, early in the evening, the subject turned to politics. Now, I usually am very quiet on my feelings, as they are not exaclty politically correct, and worry about hurting feelings, or making a scene. I fielded a question on Senatorial candidates, and just decided to answer from my heart. Her eyes lit up, and I did not notice that the event had ended. Her husband was standing, as was my wife, and we were talking politics, talk-radio, FoxNews, Senator John Kyl, Will Rogers and much more. I found that we were kindred spirits. Finally, our spouses pulled us apart, and we departed. We continued that conversation at 2 - 3 more events during "the season." One day, my wife informed me that she had just given $10M to the foundation - the largest single gift ever. At least she wasn't a screaming liberal, as I would surely have really messed up the deal... However, had it all been small talk, I would have found a reason to excuse myself and hide in the bar for a few hours.
    Also, the way that our society has developed, I will smile, nod, and say "hello" to strangers on the street, but always leave it at that. I am sure that many walk past and think "he wasn't all that friendly." They are probably right, but at least I was pleasant to them and did not rob them! Heck, I will usually tell telemarketers, "No, but thank you for your generous offer on that time-share... "
    Hunt

  • Why won't Live Paint work for me?

    Synopsis: Illustrator won't let me use Live Paint, or rather, Live Paint won't let me use it. I tested it out on a random file by creating shapes with some of the tools and it worked fine. However, with any image I try to use, it won't work. This is what it says anytime I try to select the area and color in. 
    It also doesn't allow me to use Image Tracing. I don't know if the two are connected or not, but I find it strange.
    I'm going to explain all the steps I went through from start to finish to create the image.
    First, I took the picture using a digital camera (naturally.) Then I uploaded the pictures to iPhoto. I can't remember if I edited it or not, but if I did, it was mostly cropping. I then placed the picture on my desktop and took it to Photoshop. There I put it to grayscale and messed with the levels to give some contrast. I then saved it as JPEG. After that I put it in Illustrator and I started tracing it. The blue in the picture was traced in Layer 1, while the red was in Layer 2. (I thought that maybe had something to do with it, but I highlighted just the red and had the same problem as before.)
    So yeah, I'm at a standstill...can't get anything done at this point. It's CS6 for Mac. It's possible I screwed with something without even realizing it (I am new to this), but if I did...what did I do? And can I fix it?

    Click the Selection Tool (The Black Arrow)
    Choose Select > Select All from the menu
    Hold down the Shift key, and click the photo.
    This should leave you with everything elected except the photo
    It may help to spend a bit of time playing with random shapes and objects, and reviewing the help files for the tools, in order to learn the basics of selecting objects in Illustrator. Illustrator isn't always as intuative as Photoshop and many have trouble if they simply jump right in.

  • Custom painting/ graphics in a panel

    Ten Duke Dollars for whoever gives the best high level solution for my problem.
    I'm writing a small application that displays music notation on screen and lets the user move the notes vertically to the desired locations on the staves. The user can then do various kinds of analysis on each example. The analysis stuff is done, but I'm having trouble finding an approach that will work for the graphics.
    My basic approach so far is to subclass JPanel and use it to handle all the custom painting. I'm planning to add all needed JPEG's to JLabels. Some of the images (e.g. treble and bass clef images) will always be in a fixed location, while others (note images) will move vertically when the user drags them. For the lines on the staves and the measure lines, I'm planning to use g.drawLine.
    The following questions occur to me:
    1. How will I prevent the note images from hiding the lines? Will I need to make the images transparent GIFs or something? Or can I set some layering property in the JPanel to build up a layered drawing?
    2. to detect mouse events, should I attach mouse listeners to my panel, or to each label that contains a note image? (I considered using Ellipse objects for the note heads and lines for the stems, but this will not give me a high enough quality of image.)
    3. I will probably need to use absolute positioning in the panel class rather than FlowLayout or whatever, but I'm having trouble getting rid of the layout manager. Can you give me a few lines of code to do this?
    4. Is my overall approach correct? Is there a better, easier way to accomplish what I'm trying to do?
    thanks,
    Eric

    >
    The following questions occur to me:
    1. How will I prevent the note images from hiding the
    lines? Will I need to make the images transparent GIFs
    or something? Or can I set some layering property in
    the JPanel to build up a layered drawing?If you are going to use images (probably BufferedImages), their Transparency will probably be BITMASK or TRANSLUSCENT.
    2. to detect mouse events, should I attach mouse
    listeners to my panel, or to each label that contains
    a note image? (I considered using Ellipse objects for
    the note heads and lines for the stems, but this will
    not give me a high enough quality of image.)I don't think using JLabel objects is a good idea. Instead of add labels to a panel, I would define a custom JComponent that did its own painting in paintComponent.
    >
    3. I will probably need to use absolute positioning in
    the panel class rather than FlowLayout or whatever,
    but I'm having trouble getting rid of the layout
    manager. Can you give me a few lines of code to do
    this?If you follow my last comment, your component isn't being used as a container, so this is not relevant.
    >
    4. Is my overall approach correct? Is there a better,
    easier way to accomplish what I'm trying to do?
    thanks,
    EricCheck out forum Java 2D. That's where this topic belongs. You also need to learn the 2D API. Search for some text book references in that forum.
    From the Imipolex G keyboard of...
    Lazlo Jamf

  • Why can I only paint straight lines in Photoshop CS6?

    I am trying to paint something that I have wanted to for a while now, and Photoshop is presenting some troubles for me. I can not paint curves, and instead, only straight lines without pen pressure (Size, opacity, the likes.) The result of my efforts is the same as if I were to draw a dot (click once in other words), press shift, and make another dot somewhere else. It's just straight lines no matter what.
    I am currently on an Emachines computer running Windows 7, Photoshop CS6 and this is the first time I have bothered with the brush tool in Photoshop.
    I hope this information is useful for someone to help me so that I may paint freely. Thank you for reading.

    Trevor Dennis wrote:
    Bulbabooty wrote:
    What do you mean by the first sentence you said?
    It is possible that the Shift key is stuck on your keyboard.  If you add a Type layer and some text, you'll see if that is the case or not.  Unlikely I'd have thought, but things can get jammed between the keys, and you need to eliminate this possibility before moving on to other possibilities.
    Oh, I see. No, the shift key is not the problem it seems. I have a feeling that it's the brush I'm using.

  • Help with Paint program.

    Hello. I am somewhat new to Java and I was recently assigned to do a simple paint program. I have had no trouble up until my class started getting into the graphical functions of Java. I need help with my program. I am supposed to start off with a program that draws lines and changes a minimum of 5 colors. I have the line function done but my color change boxes do not work and I am able to draw inside the box that is supposed to be reserved for color buttons. Here is my code so far:
    // Lab13110.java
    // The Lab13 program assignment is open ended.
    // There is no provided student version for starting, nor are there
    // any files with solutions for the different point versions.
    // Check the Lab assignment document for additional details.
    import java.applet.Applet;
    import java.awt.*;
    public class Lab13110 extends Applet
         int[] startX,startY,endX,endY;
         int currentStartX,currentStartY,currentEndX,currentEndY;
         int lineCount;
         Rectangle red, green, blue, yellow, black;
         int numColor;
         Image virtualMem;
         Graphics gBuffer;
         int rectheight,rectwidth;
         public void init()
              startX = new int[100];
              startY = new int[100];
              endX = new int[100];
              endY = new int[100];
              lineCount = 0;
              red = new Rectangle(50,100,25,25);
              green = new Rectangle(50,125,25,25);
              blue = new Rectangle(50,150,25,25);
              yellow = new Rectangle(25,112,25,25);
              black = new Rectangle(25,137,25,25);
              numColor = 0;
              virtualMem = createImage(100,600);
              gBuffer = virtualMem.getGraphics();
              gBuffer.drawRect(0,0,100,600);
         public void paint(Graphics g)
              for (int k = 0; k < lineCount; k++)
                   g.drawLine(startX[k],startY[k],endX[k],endY[k]);
              g.drawLine(currentStartX,currentStartY,currentEndX,currentEndY);
              g.setColor(Color.red);
              g.fillRect(50,100,25,25);
              g.setColor(Color.green);
              g.fillRect(50,125,25,25);
              g.setColor(Color.blue);
              g.fillRect(50,150,25,25);
              g.setColor(Color.yellow);
              g.fillRect(25,112,25,25);
              g.setColor(Color.black);
              g.fillRect(25,137,25,25);
              switch (numColor)
                   case 1:
                        g.setColor(Color.red);
                        break;
                   case 2:
                        g.setColor(Color.green);
                        break;
                   case 3:
                        g.setColor(Color.blue);
                        break;
                   case 4:
                        g.setColor(Color.yellow);
                        break;
                   case 5:
                        g.setColor(Color.black);
                        break;
                   case 6:
                        g.setColor(Color.black);
                        break;
              g.setColor(Color.black);
              g.drawRect(0,0,100,575);
         public boolean mouseDown(Event e, int x, int y)
              currentStartX = x;
              currentStartY = y;
              if(red.inside(x,y))
                   numColor = 1;
              else if(green.inside(x,y))
                   numColor = 2;
              else if(blue.inside(x,y))
                   numColor = 3;
              else if(yellow.inside(x,y))
                   numColor = 4;
              else if(black.inside(x,y))
                   numColor = 5;
              else
                   numColor = 6;
              repaint();
              return true;
         public boolean mouseDrag(Event e, int x, int y)
              int Rectheight = 500;
              int Rectwidth = 900;
              currentEndX = x;
              currentEndY = y;
              Rectangle window = new Rectangle(0,0,900,500);
              //if (window.inside(Rectheight,Rectwidth))
                   repaint();
              return true;
         public boolean mouseUp(Event e, int x, int y)
              int Rectheight = 500;
              int Rectwidth = 900;
              startX[lineCount] = currentStartX;
              startY[lineCount] = currentStartY;
              endX[lineCount] = x;
              endY[lineCount] = y;
              lineCount++;
              Rectangle window = new Rectangle(0,0,900,500);
              if (window.inside(Rectheight,Rectwidth))
                   repaint();
              return true;
         public void Rectangle(Graphics g, int x, int y)
              g.setColor(Color.white);
              Rectangle screen = new Rectangle(100,0,900,600);
    }If anyone could point me in the right direction of how to go about getting my buttons to work and fixing the button box, I would be greatly appreciative. I just need to get a little bit of advice and I think I should be good after I get this going.
    Thanks.

    This isn't in any way a complete solution, but I'm posting code for a mouse drag outliner. This may be preferable to how you are doing rectangles right now
    you are welcome to use and modify this code but please do not change the package and make sure that you tell your teacher where you got it from
    MouseDragOutliner.java
    package tjacobs.ui;
    import java.awt.BasicStroke;
    import java.awt.Color;
    import java.awt.Component;
    import java.awt.Container;
    import java.awt.Graphics;
    import java.awt.Graphics2D;
    import java.awt.Point;
    import java.awt.Stroke;
    import java.awt.event.*;
    import java.util.ArrayList;
    import java.util.Iterator;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.SwingUtilities;
    * See the public static method addAMouseDragOutliner
    public class MouseDragOutliner extends MouseAdapter implements MouseMotionListener {
         public static final BasicStroke DASH_STROKE = new BasicStroke(1.0f, BasicStroke.CAP_SQUARE, BasicStroke.JOIN_BEVEL, 10.0f, new float[] {8, 8}, 0);
         private boolean mUseMove = false;
         private Point mStart;
         private Point mEnd;
         private Component mComponent;
         private MyRunnable mRunner= new MyRunnable();
         private ArrayList mListeners = new ArrayList(1);
         public MouseDragOutliner() {
              super();
         public MouseDragOutliner(boolean useMove) {
              this();
              mUseMove = useMove;
         public void mouseDragged(MouseEvent me) {
              doMouseDragged(me);
         public void mousePressed(MouseEvent me) {
              mStart = me.getPoint();
         public void mouseEntered(MouseEvent me) {
              mStart = me.getPoint();
         public void mouseReleased(MouseEvent me) {
              Iterator i = mListeners.iterator();
              Point end = me.getPoint();
              while (i.hasNext()) {
                   ((OutlineListener)i.next()).mouseDragEnded(mStart, end);
              //mStart = null;
         public void mouseMoved(MouseEvent me) {
              if (mUseMove) {
                   doMouseDragged(me);
         public     void addOutlineListener(OutlineListener ol) {
              mListeners.add(ol);
         public void removeOutlineListener(OutlineListener ol) {
              mListeners.remove(ol);
         private class MyRunnable implements Runnable {
              public void run() {
                   Graphics g = mComponent.getGraphics();
                   if (g == null) {
                        return;
                   Graphics2D g2 = (Graphics2D) g;
                   Stroke s = g2.getStroke();
                   g2.setStroke(DASH_STROKE);
                   int x = Math.min(mStart.x, mEnd.x);
                   int y = Math.min(mStart.y, mEnd.y);
                   int w = Math.abs(mEnd.x - mStart.x);
                   int h = Math.abs(mEnd.y - mStart.y);
                   g2.setXORMode(Color.WHITE);
                   g2.drawRect(x, y, w, h);
                   g2.setStroke(s);
         public void doMouseDragged(MouseEvent me) {
              mEnd = me.getPoint();
              if (mStart != null) {
                   mComponent = me.getComponent();
                   mComponent.repaint();
                   SwingUtilities.invokeLater(mRunner);
         public static MouseDragOutliner addAMouseDragOutliner(Component c) {
              MouseDragOutliner mdo = new MouseDragOutliner();
              c.addMouseListener(mdo);
              c.addMouseMotionListener(mdo);
              return mdo;
         public static interface OutlineListener {
              public void mouseDragEnded(Point start, Point finish);
         public static void main(String[] args) {
              JFrame f = new JFrame("MouseDragOutliner Test");
              Container c = f.getContentPane();
              JPanel p = new JPanel();
              //p.setBackground(Color.BLACK);
              c.add(p);
              addAMouseDragOutliner(p);
              f.setBounds(200, 200, 400, 400);
              f.addWindowListener(new WindowClosingActions.Exit());
              f.setVisible(true);
    }

Maybe you are looking for

  • Can I change managed media to external media in FCP 10.1?

    I just upgraded to Mavericks and FCP 10.1.1 and I think both are great software so far. I am working on a documentary with about 250 GB of HD footage. The footage for the project was all on the same external drive where I am saving the Library, and I

  • Total funcnality of select options in function module

    Dear ABAPers i am using structure and  ranges  to meet the functionality of select-options in function module3 but unlike reports if i leave it blank rather than selecting all the data it comes blank. how can i do that coz my select query uses 8 sele

  • HT203180 iPhone3 wont play  iTunes U video

    iPhone3 wont play  iTunes U video, content was downloaded from iTunes. Audio works. Tried to convert to iPhone format in "Advanced" menu, says format is correct. Any ideas?

  • IPhoto music

    When tying to use iPhoto in Front Row the screen goes black on my MacBook and a few seconds later a message appears stating that it cannot find the music I've selected as background. Can I turn this option off in Front Row. I've gone into iPhoto itse

  • How do I turn off autocomplete in the browser bar?

    With the newest update for firefox, the browser bar now autocompletes website names for you. How do I turn this off? I prefer the older way where if you don't insert www. it would google it for you now, there is no way to do that. If I type firefox i