Selecting objects on the clipboard

Hi,
I have a program that draws circles on a JPanel.
Now I'm trying to cut/ copy/paste these objects.
I know I first need to select and object (a circle in my case)
That is, get the system clipboard and then select an area/object
My question is, how do I select an object?
I have a popup menu that comes up on right clicking the mouse
so I want the object that contains the current mouse coordinates
to be selected.
I'm out of ideas how to do this.
Thanks in advance,
Gk

I also read somewhere that only text can be selected or put into the clipboart.
Is tthat true?
How then do we add objects to the clipboard?
Thanks again,
Gk

Similar Messages

  • HELP!!  Unable to select objects with the selection tool

    Not sure if I accidently hit a key that I wasn't supposed to, but the selection tool stopped working the way it should. When I put the cursor on top of an object and click the mouse button, nothing happens.  Also ctrl A doesn't work.  Any suggestions?  I've shut down and restarted and that didn't work.

    grooveslapp,
    To keep previously selected objects selected, ShiftClick the following ones.
    If Ctrl+A does not select anything, and if no selection appears in the Info palette (select Objects in the flyout), something else is the matter, and it may be time to Move the folder

  • PI 7.1 EHP1 SP3, Message Mapping cannot select object in the folder ?

    Hi,
    I am very new with PI 7.1 EHP1, i am not sure whether there is some new restriction or bug, because i was trying to create Data Type, Message Type in site the folder, but the Message Mapping cannot select those object insite the folder. The message mapping only can select those object without folder.
    Please advise ?
    Thank You and Best Regards
    Fernand Lesmana

    Hi Swarup,
    I just finish installed the PI 7.1 EHP1 SP03, so i would like to test the functionality of the PI. just create 2 DT 2 MT insite the folder.
    but when i am trying to create Message Mapping, the message mapping, i can't find these 2 MT ???.
    after that i created new MT but outsite of the folder (still same namespaces) and the message mapping can see the MT ?
    so i can make sure not duplication coz i just create those object.
    any idea ?
    Thank you and Best Regards
    Fernand Lesmana

  • JTable Double-Object in the clipboard

    Hello together,
    this is my first posting here.
    I've a JTable with Double-Objects. The Double-Objects in the JTable Cells are shown in the
    Format *1.000,99*. I used a Renderer to Format the Value in the Cells.
    If I use the STRG+C to Copy the Table Cells to Clipboard, the Values lose the format and the above Value is shown as follows:
    *1000.99* in the Clipboard.
    How can i tell Java that it use the rendered Format *1.000,99*
    Greetings
    Charly

    In My TableModel the Value is in Double-Type. How can i manipulate the String Representation. Here is the The Model-Class
    public class JDBCTableModel extends AbstractTableModel {
         Object[][] contents;
         String[] columnNames;
         Class[] columnClasses;
         String sql;
         Boolean[] editierbareSpalten;
         public JDBCTableModel(){
              super();
              contents = new Object[0][0];
         // AbstractTableModel methods
         public int getRowCount() {
              return contents.length;
         public int getColumnCount() {
              if (contents.length == 0)
                   return 0;
              else
                   return contents[0].length;
         public Object getValueAt(int row, int column) {
              return contents[row][column];
         public void setValueAt(Object o,int row, int column) {
              contents[row][column]=o;
         // overrides methods for which AbstractTableModel
         // has trivial implementations
         public Class getColumnClass(int col) {
              return columnClasses[col];
         public String getColumnName(int col) {
              return columnNames[col];
    public boolean isCellEditable(int row, int col) {
    //Note that the data/cell address is constant,
    //no matter where the cell appears onscreen.
         try{
              return this.editierbareSpalten[col];
         }catch(Exception e){
              return false;
         public void setContent(Object[][] contents,String[] columnNames,Class[] columnClasses){
              setColumnClasses(columnClasses);
              setColumnNames(columnNames);
              setContent(contents);
              editierbareSpalten=new Boolean[columnNames.length];
              this.fireTableStructureChanged();
         public void setColumnClasses(Class[] columnClasses){
              this.columnClasses=columnClasses;
         public void setColumnNames(String[] columnNames){
              this.columnNames=columnNames;
         public void setContent(Object[][] contents){
              this.contents=contents;
    }

  • [Cp] Select object from the timeline and move it on slide with cursor keys ?

    Hello,
    I don't know if there's a shortcut for this :
    Sometimes, it's easier to select an object from the timeline but if you try to use cursor keys to move it, you're in fact moving IN the timeline.
    Is there a way to switch to Slide edition ?
    Thanks.
    PJ

    You can not only use the cursor keys, but also in combination with other keys. And indeed, you have to move the cursor over the stage:
    http://blog.lilybiri.com/shortcut-keys-part-1-moving-and-resizing-obje    about shortcut keys for the stage
    http://blog.lilybiri.com/tiny-timeline-tidbits    about shortcut keys for the Timeline
    There is a list with shortcut keys in the Help, but not complete.

  • How do I jumping from an object selected in layers to that object on the artboard?

    I'm working with 27 artboard in illustrator for one project. I would like to select the object I need to get to in my layers panel and have illustrator "jump/navigate" me to the object where it resides on the artboard. Is this possible?

    This was a feature in Freehand which was a multi-page vector program that allowed you to zoom to the selected objects in the view menu. I don't see this anywhere in Illustrator CS6. You could try this as a feature request but that doesn't help you now. I'm sure there have been more then a few people who have had to make the move from Freehand to Illustrator who requested this feature.

  • Webutil_file_transfer url_to_client places objects in the Java Cache

    Hi,
    I'm using webutil_file_transfer url_to_client to download a PDF file.
    Once I downloaded the PDF file, it is visible in the Client Java Cache Viewer. When I try to run the download again webutil takes the PDF from the Cache instead taking the newer PDF from the Server where the URL is pointing to.
    So the URL I passing is each time the same, but the PDF file on the Server is getting updated very often.
    I don't usethe WEBCACHE port!
    My question now is. Can I avoid webutil to put does PDF file in the Java Cache on the Client. Or is there any utility to remove selected objects from the Java Cache.
    Does anybody have a Idea how to avoid such a behaviour?
    Fatih

    Hi Craig,
    with the help of Oracle Support, we found the reason and also a workaround for this issue.
    The real cause:
    By default the java applet parameter DefaultUseCaches is true an all files downloaded within an applet is going throug the Java Client Cache.
    WEBUTIL does not touch this parameter, so it keeps staying default (true).
    Solution/workaround:
    With the methode setDefaultUseCaches it possible to disable/enable the default Cache setting.
    So it's possible to disable the cache with a small Java Bean running in Forms, which disable the Cache before WEBUTIL_FILE_TRANSFER and enable it after the successfull download.
    here is an extract of the bean code:
    URL u = new URL( "http:" );
    URLConnection uc = u.openConnection();
    uc.setDefaultUseCaches(false);
    thank you for your time!
    regards,
    Fatih

  • 'select objects: click and drag to select several objects' doesn't work

    I have recently upgraded to Office 2010, and have the same problem as
    http://social.technet.microsoft.com/Forums/en-US/office2010/thread/75270638-e02b-4a78-b291-043abbca04ae?prof=required
    When I use Select - Select Objects in the Editing part of the ribbon to select multiple drawing shapes, it no longer works like in office 2007. I can't drag a rectangle in the document to select objects within an area.
    I would have guessed this is the same problem as the link I refer to, but I'm not running the beta version of 2010. It seems not to be solved.
    Anything I can do to fix this?

    I have just registered so I could reply to this thread.
    The registration process was very ... aehm ... frustrating, I was only able to fill in the correct Captcha after about 10 ties. But ... this is not unexpected, when working with a Microsfoft product. How am I supposed to know whether that bloody captcha
    wants me to to write '4Yp8' or '4yP8'. There is no way to tell. You can distinguish capital letters when it is something like A, a or H, h, but not between y and Y or P and p.
    I would like to thank all the posters for suggested workarounds. They work. Kinda - sorta ... . I was able to finish the editing of large picture (consisting of many graphics objects) that HAS to be made in word (My boss said so). All your tips saved
    me *hours* of frustration.
    I would like to tell Microsoft programmers AND their managers, that *if* the quote in the second post is correct: 
    ================
    The work needed to make the object selection work as it did in Word 2007 was out of scope for this release. It's not as
    simple as using the same feature that existed in the last version since we upgrading our graphics/art features; the way the shapes/objects need to be selected is different than how "old" graphics/art is selectable in Word 2007.
    That said, the "select object" tool that exists in Word 2010 should allow you to select individual shapes. You can select
    multiple shapes holding down the CTRL or SHIFT key while clicking shapes. You might ask how this is different than selecting shapes without turning on "select objects"; the answer to that would be to allow you to select shapes that are "behind" text, or more
    easily select rotated shapes, etc.
    ================
    You are bunch of incompetent amateurs. 
    If I used such lame excuse for missing important functionality at work, I would be very soon replaced by a more competent programmer.
    This time I am not a programmer, I am AN USER. And, as an user I do not care if your internal data structure for new objects doesn't let you do something easily. Find a way to implement that feature or change the data structure. Period.

  • Turn off center selected object in view

    If I am zoomed in 500% and select an object, it centers it in my view, and sometimes it will select the object and move it, just by clicking on it. Is there an option to turn this off?! It's VERY frustrating when i'm trying to move things to s specific place. Here is a video.

    I know this behavior but as this only occurs on high zoom levels it's not a problem form me.
    The only way to avoid this I know about is to select objects in the hierarchy tree not in Design view.

  • Why my code(CS2 VB Script) only pastes what on the clipboard, not everything I select?

    I have created a graph, now I want to copy the entire thing to a new document.  I used the following code.  Even visually you can see it selected everything in the document, but when it pasted to a new document, it only pasted what's left on the clipboard, not everything as I wanted. 
    What's wrong here? Does it have anything to do with grouping?  See code below.
    Please help!  Thanks.
        Dim oCurDoc As Illustrator.Document
        Set oCurDoc = oApp.ActiveDocument
        Dim iPageItemCount As Integer
        iPageItemCount = oCurDoc.PageItems.Count - 1
        Dim vItems() As Variant
        ReDim vItems(iPageItemCount)
        Dim oPageItem As Object
        For Each oPageItem In oCurDoc.PageItems
            Set vItems(iCnt) = oPageItem
            iCnt = iCnt + 1
        Next   
        oCurDoc.Selection = vItems
        Dim oNewDoc As Illustrator.Document
        If oApp.Documents.Count > 0 Then
            If TypeName(oCurDoc.Selection) = "Variant()" Then
                oCurDoc.Copy
                Set oNewDoc = oApp.Documents.Add(aiDocumentRGBColor)
                oNewDoc.Paste
            End If
        End If

    Yes, I tried to group them first by
        Dim oGrp As GroupItem
        For Each oPageItem In oCurDoc.PageItems
            Set oGrp = oCurDoc.GroupItems.Add
            Set oPageItem = oGrp.PageItems.Add
            iCnt = iCnt + 1
            If iCnt > iPageItemCount  Then Exit For
        Next
         oCurDoc.Selection = oGrp
    But the selection is always "empty" - nothing been selected.  Why?
    Thanks.

  • Service template problem - Unable to perform the job because one or more of the selected objects are locked by another job - ID 2606

    Hello,
    I’ve finally managed to deploy my first guest cluster with a shared VHDX using a service template. 
    So, I now want to try and update my service template.  However, whenever I try to do anything with it, in the services section, I receive the error:
    Unable to perform the job because one or more of the selected objects are locked by another job.  To find out which job is locking the object, in the jobs view, group by status, and find the running or cancelling job for the object.  ID 2606
    Well I tried that and there doesn’t seem to be a job locking the object.  Both the cluster nodes appear to be up and running, and I can’t see a problem with it at all.  I tried running the following query in SQL:
    SELECT * FROM [VirtualManagerDB].[dbo].[tbl_VMM_Lock] where TaskID='Task_GUID'
    but all this gives me is an error that says - conversion failed when converting from a character string to uniqueidentifier msg 8169, level 16, State 2, Line 1
    I'm no SQL expert as you can probably tell, but I'd prefer not to deploy another service template in case this issue occurs again.
    Can anyone help?

    No one else had this?

  • Unable to remove a host from VMM - Error (2606) Unable to perform the job because one or more of the selected objects are locked by another job.

    I am unable to remove a host from my Virtual Machine Manager 2012 R2. I receive the following error:
    Error (2606)
    Unable to perform the job because one or more of the selected objects are locked by another job.
    Recommended Action
    To find out which job is locking the object, in the Jobs view, group by Status, and find the running or canceling job for the object. When the job is complete, try again.
    I have already tried running the following command in SQL Server Management Studio
    SELECT * FROM [VirtualManagerDB].[dbo].[tbl_VMM_Lock] where TaskID='Task_GUID'
    I received this error back:
    Msg 8169, Level 16, State 2, Line 1
    Conversion failed when converting from a character string to uniqueidentifier.
    I have also tried rebooting both the host and the Virtual Machine Manager Server.  After rebooting them both, I still receive the same error when trying to remove the host.
    Here are my server details
    VMM Server OS = Windows 2012 Standard
    VMM Version = 2012 R2 3.2.7510.0
    Host OS = Windows 2012 R2 Datacenter
    Host Agent Version = 3.2.75.10.0
    SQL Server OS = Windows 2012 Datacenter
    SQL Version = 2012 SP 1 (11.0.3000.0)

    Hi there,
    How many hosts are you managing with your VMM server?
    The locking job might be the background host refresher job. Did you see any jobs in the jobs view, when the host removal job failed?
    If there is no active jobs in the jobs view when this host removal job fails, can you please turn on the VMM tracing, retry the host removal, and paste back the traces for the failed job (search for exception and paste the whole stack)?
    Thanks!
    Cheng

  • Indesign CS3: How to get the UID of the selected object?

    Hello,
    How can I get the UID of the selected object in an document?
    Thanks,
    Alois Blaimer

    Hello!
    I do not get it. Please give me some more hints.
    I only want to know if the selected object is a square and then the UID of the selected square.
    Thanks,
    Alois Blaimer

  • Why can't I open the filter gallery in Photoshop CC 2014? I've converted the photo layer into a smart object, but the filter gallery selection is still grayed out.

    Why can't I open the filter gallery in Photoshop CC 2014? I've converted the photo layer into a smart object, but the filter gallery selection is still grayed out. How do I make it active?

    Please go to Help, System Info and Copy then paste here.
    Benjamin

  • Create a new object that surrounds the selected objects

    Is there anyway in illustrator to create a new vector object from selected objects?
    IE if i have three rectangles selected, can I make a new vector path that surrounds them all.
    I dont mean welding a group of vectors together or offsetting a path...which isnt exactly what i need.
    What Im needing to do is create cut lines around complex vector art quickly.
    Thanks in advance.

    Mike i need to make an outline around a logo but if the logo has many elements that make up the edge of the logo does that method work?
    As the cut line needs to be a closed path
    Ideally i want to avoid tracing around the logo with the pen tool or add to shape area in pathfinder tab.
    I sure theres a really easy way to do this.
    Kurt its an interesting discussion however in need a closed path to surrond artwork and live paint does just the opposite :)

Maybe you are looking for