Bounding box for selecting components

Hi,
in my application i have to implement a bounding box to select some displayed components (panels or icons). I have searched for a JAVA-technique for bounding boxes, but i did not found anything.
Does anybody know a JAVA-API that supports bounding boxes ?
Thanks for your help

Hi,
in my application i have to implement a bounding box to select some displayed components (panels or icons). I have searched for a JAVA-technique for bounding boxes, but i did not found anything.
Does anybody know a JAVA-API that supports bounding boxes ?
Thanks for your help

Similar Messages

  • How to hide bounding box over selected parts in 3d annotation?

    Please let me know if it is possible to hide bounding box over selected parts in 3d annotation?

    Have you unchecked the Display Bounding Box in the Options menu on the left side of the Model Tree toolbar? Select the down arrow next to the menu icon under Model Tree to see the Options menu.

  • Convert jpg to pdf with proper bounding box for LaTeX

    Hi,
    does anybody know how I can use Acrobat 8 Professional on my Mac to convert a jpg into a pdf that with a proper bounding box for LaTeX?
    When I import the jpg and save it as a pdf, then LaTeX cannot determine the correct size, and, therefore, the picture appears way too big in LaTeX's output.
    The LaTeX Error message is "Cannot determine size of graphic in myPic.pdf (no BoundingBox)"
    On my Mac I don't even know how to check the size of the bounding box.
    Thanks for your suggestions!
    Kurt

    Hi - thanks for all the answers.
    I have tried to use Graphics Converter but it has way too many options, and if I just use the default one's, the pdf quality is changed, so black does not appear as black anymore but slightly grey. And since Graphics Converter changed the pdf unexpectedly, I don't want to risk that it changes something else that I might miss now and only realize when the manuscript is in print.
    Currently, I cannot check if the correct Bounding Box would be set using Graphics Converter: My LaTeX implementation shows the pdf in the correct size, even without bounding box, but the LaTeX implementation of the journal I am submitting the graphics to does not, and since I already submitted the manuscript, I cannot check anymore. Using GhostView on a PC would help, but on a Mac I don't get GhostScript to do that.
    I cannot use jpg's directly, as the journal does not support jpg's.
    The figures were prepared using photoshop, so maybe I try exporting them directly from there, but as far as I remember, this did not set the bounding box correctly either. But since I am not sure I need to test it again.
    Is there a way to view the bounding box?
    I thought that the bounding box just gives the dimensions in pixels, so does the actual size really matter?
    Thanks a lot.
    Kurt

  • Bounding box and selection tool problems (CS5.5 Illustrator OSX)

    When I select objects by dragging arrow tool (i.e. logos, headlines, etc.) I often have a problem that other objects are also selected (images, things that are not visible or not actually there) and I can't unselect them easily to get just my selection of objects and be able to resize them by dragging corners. It's like you have to scale everything including the weird extra invisible items across the page somewhere. Sometimes if it's an image that gets selected in addition I can click on and off it to get just my selected objects. And then sometimes the bounding box does not work at all and I can't resize my selected objects by dragging the corners (scale tool works though). Showing and hiding bounding box from drop down menu does nothing. This seems random but happens all the time. It also happened in CS5 on a different Mac computer. Anybody run into this? I know other designers in the office have experienced this. Is there a weird selection preference I need to set? Should I try resetting preferences? Could it be Ram issues? (Sometimes have Illustrator, Photoshop, and InDesign open all at once)
    I've just been dealing with it up to this point but I am really ready for a fix for this issue. It seems buggy.

    Pam,
    You may try to move the folder, following the first hint here: http://www.bugge.com/Family-and-friends/Illy/illy.html

  • Prevent creation of reservation for selected components on Production order

    Hello all,
    I am aware that the production order reservation creation is dependant on the order type, but is it possible to avoid the reservation creation for few components on the order ? Any techincal way? We want to issue our components to a different batch than the one reserved during the production order creation.
    Any help will be greatly apprciated.
    Thanks,
    Swetha

    Your material is get reserved for Production order as per the Order start date & Order release. What you can do is make the start date of the Production order & release it. If any other production order are already there & you can re set the ATP of that production order.
    Say there is one production order starting 2 days after & your all raw material is blocked for this production order. And the other production is having date after this now you want to give ATP from 1st order to 2nd order. For this 1st make the start date of 2nd prod order before 1st. Then Go to COMAC select both Prod Ord & GO ATP with check reset ATP. You see that ATP is passed from 1st Prd order tp 2nd.
    Regards
    Abhijit Gautam

  • Bounding box for point and radius

    I am using google maps and WGS 84 (4326).
    I am trying to get the bounding box that contains a circle of a given radius in miles starting at a given lat/lon.
    I saw SDO_GEOM.SDO_MBR, but I wasn't sure how to do the circle (or at the least get points m miles north, south, east, and west of a given point)

    that works.
    I am using PHP and OCI8 So, I also used SDO_UTIL.TO_WKTGEOMETRY to get a text version of the box that I then parsed in PHP. Otherwise, it would not give me the value of the box.
                   SELECT SDO_UTIL.TO_WKTGEOMETRY(SDO_GEOM.SDO_MBR(
                        SDO_GEOM.SDO_BUFFER(
                             SDO_GEOMETRY
                                       (2001, -- SDO_GTYPE attribute: 2 = 2D, 1=point
                                            <SRID HERE>,
                                            SDO_POINT_TYPE(<LON HERE>, <LAT HERE>, NULL),
                                            NULL,
                                            NULL),
                             30, -- miles
                             .05,      -- tolerance
                             'unit=mile')
                            )) box
                        from dual

  • Why can't I see the bounding box for objects on the pasteboard?

    Adobe CC sucks. Why last week was I able to see the bounding box of objects that I had on the pasteboard in InDesign CC, including objects that didn't contain anything yet, and now suddenly this week I can't see them?
    It seems as though every week something inexplicably gets changed around. First Save As had no shortcut, then suddenly the shortcut is back, but it doesn't work.
    Get it together Adobe. I don't want to be paying a subscription for a product that feels as though it's still in Beta mode.

    Hi Steve,
    Yes thanks, I don't think I was clear in what I wrote. I knew that they could be turned back on, but why did I open InDesign this morning to find my workspace/preferences different than how I left them on Friday?
    And I know it isn't a case of my mistakenly turning off the frame edges, because the operator that sits next to me had the exact same thing happen to her copy of InDesign this morning also.
    I understand the requirement to update things, but it really does feel as though I'm using software that is still in testing.

  • Bounding box for text

    Howdy, I am looking for a way to get the bounding box of some text. I can do it with a graphics2d object, but there are some times when I want to get the bounding box without having access to a graphics objects. I have looked at several classes in the API and it seems that they either take a graphics object or one of their parameters takes a graphics object (Parameter A uses a graphics object of method A, for example). Is there a way to do it without one?
    Thanks.
    Message was edited by:
    dayrinni

    See the caution in paragraph four of the FontRenderContext comments.
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.font.*;
    import java.awt.geom.Rectangle2D;
    import javax.swing.*;
    public class NoGraphics {
        public static void main(String[] args) {
            String s = "Hello World";
            FontRenderContext frc = new FontRenderContext(null, false, false);
            Font font = new Font("dialog", Font.PLAIN, 36);
            GlyphVector gv = font.createGlyphVector(frc, s);
            Rectangle2D r1 = font.getStringBounds(s, frc);
            Rectangle2D r2 = new TextLayout(s, font, frc).getBounds();
            Rectangle2D r3 = gv.getLogicalBounds();
            Rectangle2D r4 = gv.getPixelBounds(frc, 0, 0);
            Rectangle2D r5 = gv.getVisualBounds();
            System.out.printf("%s%n%s%n%s%n%s%n%s%n", toString(r1, "string"),
                               toString(r2, "text"),  toString(r3, "logical"),
                               toString(r4, "pixel"), toString(r5, "visual"));
            final JLabel position = new JLabel("x = 0  y = 0", JLabel.CENTER);
            JLabel label = new JLabel(s, JLabel.CENTER);
            label.setFont(font);
            label.setText(s);
            label.setOpaque(true);
            label.setBackground(Color.pink);
            label.addMouseMotionListener(new MouseMotionAdapter() {
                public void mouseMoved(MouseEvent e) {
                    position.setText("x = " + e.getX() + "  y = " + e.getY());
            JPanel panel = new JPanel(new GridBagLayout());
            GridBagConstraints gbc = new GridBagConstraints();
            gbc.insets = new Insets(2,2,2,2);
            gbc.gridwidth = gbc.REMAINDER;
            panel.add(label, gbc);
            panel.add(position, gbc);
            JOptionPane.showMessageDialog(null, panel, "Compare",
                                          JOptionPane.PLAIN_MESSAGE);
        private static String toString(Rectangle2D r, String id) {
            return String.format("%8s [%.1f, %.1f]",
                                  id, r.getWidth(), r.getHeight());
    }

  • Layer bounding boxes and selection indicators

    Any way to toggle bounding box mouse-over feature on/off?
    Thx

    Thanks for the response, I tried that dialogbox, but the bounding box option does not appear there. There is of course the option to turn off ALL the layer controls but this new bounding box feature seems to be ever present. It just irks me to have things flash up on the  screen as I work on it, distracting me from the composition itself. And frankly never had an issue of distinguishing my layers in the past. Photoshop and Illustrator have similar "auto guide" features, but they both have the OFF option.
    On another note, has anybody been bothered by the inconsistent behavior of the "Shift" flowchart shortcut? The idea is to press shift and the left arrow to move back out Ovenesta composition, but in practice pressing shift does not always bring up the flowchart immediately, you often have to press shift twice or navigate to your comp window-- defeating the purpose of a consistent useful shortcut.

  • Filter in the Dialog box for selection

    I have report that contains a file selection dialog using the following code
    at selection-screen on value-request for p_file.
      perform f_get_file using cl_gui_frontend_services=>filetype_excel.
    form f_get_file using p_filetype type string.
      data: lt_filetable  type filetable,
            ls_file       type line of filetable,
            lv_filename   type string,
            lv_path       type string,
            lv_fullname   type string,
            lv_title      type string,
            lv_desktop    type string,
            lv_rc         type i,
            lv_action     type i.
      call method cl_gui_frontend_services=>get_desktop_directory
        changing
          desktop_directory    = lv_desktop
        exceptions
          cntl_error           = 1
          error_no_gui         = 2
          not_supported_by_gui = 3
          others               = 4.
      if sy-subrc <> 0.
        message e007(zspx) with 'Desktop not found'.
      endif.
    * Update View
      call method cl_gui_cfw=>update_view
        exceptions
          cntl_system_error = 1
          cntl_error        = 2
          others            = 3.
      lv_title = text-003.
      call method cl_gui_frontend_services=>file_open_dialog
        exporting
          window_title            = lv_title
          file_filter             = p_filetype
          initial_directory       = lv_desktop
        changing
          file_table              = lt_filetable
          rc                      = lv_rc
          user_action             = lv_action
        exceptions
          file_open_dialog_failed = 1
          cntl_error              = 2
          error_no_gui            = 3
          others                  = 4.
      if sy-subrc = 0 and lv_action ne cl_gui_frontend_services=>action_cancel.
        read table lt_filetable into ls_file index 1.
        if sy-subrc = 0.
          p_file = ls_file-filename.
        else.
          clear p_file.
        endif.
      else.
        clear p_file.
      endif.
    endform.                    " f_get_file
    Currently while opening the dialog for file selection its showing the desktop directory. But user can select file from any other directory.
    My question is how to restrict this dialog box from which user can select only from desktop directory.
    PS : Please don't suggest  to validate the file after getting the file that its from desktop or not

    Hi,
    Like the bellow ?
    Replace following code
    if sy-subrc = 0 and lv_action ne cl_gui_frontend_services=>action_cancel.
        read table lt_filetable into ls_file index 1.
        if sy-subrc = 0.
          p_file = ls_file-filename.
        else.
          clear p_file.
        endif.
      else.
        clear p_file.
      endif.
    with the bellow
    IF sy-subrc = 0 AND lv_action NE cl_gui_frontend_services=>action_cancel.
        READ TABLE lt_filetable INTO ls_file INDEX 1.
        IF sy-subrc = 0.
          FIND FIRST OCCURRENCE OF lv_desktop IN ls_file-filename.
          IF sy-subrc = 0.
            p_file = ls_file-filename.
          ELSE.
            MESSAGE: 'Sorry! you can select file only from Desktop' TYPE 'I'.
            PERFORM f_get_file USING cl_gui_frontend_services=>filetype_excel.
          ENDIF.
        ELSE.
          CLEAR p_file.
        ENDIF.
      ELSE.
        CLEAR p_file.
      ENDIF.
    Regards,
    Faisal

  • Plotting a combination chart with a combo box for selection

    Hi:
    I am a newbie using xcelcius and I need help on the following:-
    I need to create a combination chart that plots 3 years data by month, and I need a combo box selection at the top that allows me to select user display for each difference region. I manage to create one that plots only 2008 data with a combo-box selection, but I have no idea how to do it for a combi chart in xcelcius. Any advise?

    Hi Ning,
    I assume your data are like this:
    Region             Year     Jan     Feb     Mar
    APJ             2006     $234.45     $310.34     $321.54
    APJ             2007     $314.35     $319.12     $256.89
    APJ             2008     $425.54     $354.34     $285.73
    North Asia     2006     $534.64     $642.35     $484.64
    North Asia     2007     $631.74     $654.13     $754.34
    North Asia     2008     $754.31     $423.65     $634.32
    South East Asia     2006     $536.42     $576.35     $525.42
    South East Asia     2007     $426.78     $876.43     $643.75
    South East Asia     2008     $634.87     $425.77     $732.43
    If this, you can set the insertion type of combo box is "Filtered Rows", see steps:
    1) For Combo Box, bind General > Labels to the Region column.
    2) Set General > Data Insertion > Insertion Type is "Filtered Rows" (you can refer to following flash to see how "Filtered Rows" works).
    3) Set its Source Data are Year, Jan, Feb, ... columns and Destination to blank cells.
    4) Bind Chart to the destination data.
    Now when you select APJ from Combo Box, it will insert all the rows of APJ data to the desitination cells which will be displayed in Chart.
    Hope this can help!

  • Modifying existing style selectors for selected components

    Hi,
    We have changed default .AFNoteWindow,AFNoteWindowRight style class for one use case. But it is applying for other use cases also where we are showing user friendly messages. how we can avoid the applying style for other use cases? and these all are existing selectors and we cannot create new one for this.
    Thanks
    Kuladeep

    Hi,
    Could anybody help me on this?
    Here i am giving more details about issue which we are facing. we have override following CSS class in our skin CSS file .AFNoteWindow,.AFNoteWindowRight,.AFNoteWindowConeTR,.AFNoteWindowConeBR,.AFNoteWindowConeBL,.AFNoteWindowCone,.AFNoteWindowConeBorder,.AFNoteWindowConeBorderRight for one of the use case (showing help text in the popup when mouse over on help icon ).
    We have another use case where we are showing help message when user is put his mouse in date field. Here also we are able to see above CSS effects but it should not.
    Please help me how I can override existing CSS class for specific use case or writing my own CSS class which will give same look and feel
    Thanks
    Kuladeep.K

  • Show bounding box of selected item

    In Illustrator it's simple, it's "show/hide edges" on the view menu. But I can't find it in After Effects. My version is CS4.
    Thank you for the help!

    Comp viewer flyout menu in the top right corner....
    Mylenium

  • No bounding box for resizing rectangles with latest Illustrator update (CC 2014 18.1.0). iMac with OS 10.8.5. Please fix.

    Lost ability to resize rectangles with latest Illustrator update. Please correct.

    The following entry may indicate a failing harddrive, so doing backups and replacing the harddrive may be in order.
    Disk Information:
              TOSHIBA MK7559GSXF disk0 : (750,16 GB)
              S.M.A.R.T. Status: Failing                                  <-----------
    A little bit about drive S.M.A.R.T. status:
    "The most basic information that SMART provides is the SMART status. It provides only two values: "threshold not exceeded" and "threshold exceeded". Often these are represented as "drive OK" or "drive fail" respectively. A "threshold exceeded" value is intended to indicate that there is a relatively high probability that the drive will not be able to honor its specification in the future: that is, the drive is "about to fail". The predicted failure may be catastrophic or may be something as subtle as the inability to write to certain sectors, or perhaps slower performance than the manufacturer's declared minimum."
    http://en.wikipedia.org/wiki/S.M.A.R.T.

  • Hide bounding box of a selected object

    I tried using the feature request page but got an error after typing all this and thankfully I copied all of the text I entered just before hitting submit just in case the website decided to act stupid like it did (would have to retype all of the following and many sites fail at keeping that info or even bringing back the page you were on.. Very bad for users)
    *******Enhancement / FMR*********
    Hide Bounding Box of selected objects
    An option to turn this on/off under the view menu > Extras
    Standardizing features like this across your Adobe apps (photoshop, illustrator) would make it more consistent since I was really looking hard to find a way to do this similar to the other apps I mentioned but InDesign failed to do this. It's very distracting trying to apply effects such as a drop shadow and not being able to see the result properly because of the bounding box. I hope this gets implemented ASAP.

    After trying this again, it seemed to go through this time. Hopefully they get this implemented soon.

Maybe you are looking for