How to snap screen of a component

I have an applet to show or edit a drawing which data is from a xml document,
but applet running is so slow.
Now i want to run this applet in server,and snap the screen of the drawing JPanel.
Is this viable ?.. And any suggestion?.

When I add a component on JPanel with FreeDesign layout (I use NetBeans GUI editor to do it), in generated code I find org.jdesktop.layout.GroupLayout with some HorizontalGroup and VerticalGroup components, and no bounds are ever set!!! When I start the application, a component is shown on JPanel, and definitely bounds are not 0,0,0,0! The components are stretched over window, and everything looks just as I set in GUI editor. A problem is that in runtime I need to know bounds of a component that is showed on screen. A method getBounds() returns (0,0,0,0), so I think that it is not appropriate for this layout.
So, my question remains: How to find out bounds of a component in FreeDesign layout!
Thanks!
Message was edited by:
mmilic

Similar Messages

  • How to call  web ui screen from bsp componants

    Hi Gurus,
                I am trying to call the web ui screen from bsp componants by using the function modules .but exception is coming. but from gui these functionmodules are opening the web ui screen.those function modules are BAPI_BUSPROCESSND_CHANGEDIALOG,CRM_1O_CALL_WEBUI here only we need to pass the GUID. but these are not working from bsp componants .i am not getting why these are not working if there is any solution Please give me suggestion.Its very needful.
    Regards,
    Bixamaiah.

    Hi Caíque Escaler,
             the requirement is workflow is triggered in web client.In the webscreen from the workflow task user selects the work item then one screen will come from there  if the user selects the reject option then immidiately  we need to open that order in web screen.that is the requirement.
    Regards,
    Bixamaiah.

  • How to catch a hidden UI component ?

    How do we know a UI component is hidden on the screen(Please donot confuse with the visible property).Let say you have a long form on the screen with vertical scrollbar.The very first element is a checkbox. when the user scroll down to the last component the first checkbox will be hidden i.e. its not visible on the screen as its scrolled down. Its hidden in the browser .
    How to we know if a particular component is hidden in the browser ,checking the visibility property will not work as this component is visible=true always. its just hidden in the browser or screen.

    the below thread should help you.
    Create a New Component using and existing Component say BP_HEAD_SEARCH

  • How to add feeder class to component configuration in fpm

    Hi
           I am using form guibb and list guibb into my wdapplication. Here i required to provide feeder class to component configuration. I don't know how to provide feeder class to component configuration. Kindly provide the steps to
    how to provide feeder class to component configuration.
    Thanks&Regards,
    Chiru.

    Hi,
    What i would do is the following.
    1. Create a feeder class by Copying  the existing Feeder class .
    2. Go to the FPM_LIST_UIBB component and select a component configuration->Start configuration.
    3. An explorer window is opened->copy the configuration
    4.Fill in the new configuration details.
    5.Press the change button (in your new configuration ).
    6.When you are in the configuration screen->press Edit feeder button
    7.Enter your new feeder class which you have created in step-1.

  • How to show screen design in .srf (from Screen Painter) using SDK?

    How to show screen design in .srf (from Screen Painter) using SDK?

    You need to use the LoadBatchActions method of the Application object to load .SRF files.
    John.

  • How do I find out the component ID on a certain page?

    How do I find out the component ID on a certain page? problems is that I'm using some page template which I do not have source code for that.I need to find out the component id to pass to UIComponent.findComponent(id) as parameter. is there anyway?
    Thanks

    If you go to the partial trigger property of any of your page component you can open the edit partial trigger browser.
    There you can find the components of your template and their ids

  • How to find out the Target Component name and Target view name

    Hi All Expert,
                      I want to know ,how to find out the target component and target view in WEB UI,when i click on a field which shows as a hyper link in WEB UI .At GUI level ,i know the how it will work.Any way to find out the component name and view name which is show the details of that field at GUI level .IF you go to transaction CRMD_ORDER then open the service contract id .then goto the item level value .there is 1 service data tab is available at item level.there is two button is available.first one is available time and second one is response time .if i click on any button then one popup is open which is shows the details of that button.I dont know how to find out the component name and view name from GUI level.
    Thanks in Advance....
    Vishwas Sahu

    Hi Vishwa,
                 The control would be something like this for navigation in Get_p_xxx method u mention as link and u mention a event name which gets triggered on the click of this hyperlink. So your GET_P_XXX method would have the following code:
    CASE iv_property.
        WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.
          rv_value = cl_bsp_dlc_view_descriptor=>field_type_event_link.
        WHEN if_bsp_wd_model_setter_getter=>fp_onclick.
          rv_value = 'EXAMPLE'.
    Now you have to create a method as EH_ONEXAMPLE at your IMPL class and within which you would give an outbound plug method. Within the outbound plug the target data would be filled in the collection and window outbound plug would be triggered.
    This is a huge topic and  i have just mentioned you basic things.
    Regards,
    Bharathy.

  • How to print screen in HP Pavilion g series?

    hey. I'm using the HP Pavilion g series laptop. I've been using it for more than 2 years. But i really don"t know how to print screen in it.Hope you could help. Thank you.

    Please Click Here to find the steps involved in "Print Screen" feature
    Let me know how it goes
    Hope this helps, for any further queries reply to the post and feel free to join us again
    **Click the KUDOS star on left to say Thanks**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.
    Thank You,
    K N R K
    I work on behalf of HP

  • TV Anywhere Plus and PS3; How to take screens

    Hi all!
    I have TV card from subject and i want to know way how to take screens from my PS3.
    Everywhere i look, it is simple explanation: u need TV card - so i have...
    No matter if i connect composite (yellow ofc) from PS3 to Composite on Anywhere or to S-Video, which also has composite outputs - there is no any signal!
    I tried to switching Video Source in TVR but nothing happens when i hit Snapshot (and which command is on keyboard?).
    Please help
    Thank You

    Hi all!
    I have TV card from subject and i want to know way how to take screens from my PS3.
    Everywhere i look, it is simple explanation: u need TV card - so i have...
    No matter if i connect composite (yellow ofc) from PS3 to Composite on Anywhere or to S-Video, which also has composite outputs - there is no any signal!
    I tried to switching Video Source in TVR but nothing happens when i hit Snapshot (and which command is on keyboard?).
    Please help
    Thank You

  • How to get the list of component?

        How to get the list of component through java API in Adobe CQ5?

    There are probably more than a few ways, but here is a little component .jsp code that uses the jcr query api to pull out all the components and list them on a page.  If I know CQ, there might be a way to ask for a list of components another way though, maybe through another API, or possibly a .json url, I might remember reading something about that, somewhere, lol, but this at least gets you the list in a somewhat simple way.
    Code Example:
    <%@include file="/apps/psul/components/global.jsp"%>
    <%@ page import="javax.jcr.*,
                       javax.jcr.query.*"
    %>
    <%
       // Login to create an anonymous session on the default workspace
       Session session = resourceResolver.adaptTo(Session.class);
           //Declare a query for all the components in the system
           String SQL = "select * from cq:Component";
    //side note: if you want just the components in your site area, then make the query more like below...
    //  SQL = "select * from cq:Component where jcr:path like '/apps/yoursitename/%'";
           QueryManager qm = session.getWorkspace().getQueryManager();
           Query query = qm.createQuery(SQL, Query.SQL);
           QueryResult result = query.execute();
           NodeIterator nodes = result.getNodes();
           while (nodes.hasNext()) {
               Node node = (Node)nodes.next();
               %>
                    <p><%=node.getName() %> (<b><%=node.getPath() %></b>)</p>
    <%     } %>

  • How can I include a portal component look and feel in a java servlet

    Does any body know how can i include a portal component look and feel (tables, buttons, etc) in a java servlet?

    Hi José,
    I don't think that is possible. But you can import the css files that ep uses for its look and feel and try to give your web pages similar look and feel. The tables and other controls used in EP are totally different and are done through complex JavaScript coding instead of simple HTML tags. If you want exact lok and feel then i thin you must go for a Webdynpro based application rather then a J2EE application with JSPs.
    Regards,
    Guru.
    PS: Give points for helpful replies.

  • How to handle screen resolution in bdc session method.

    hi all,
    how to handle screen resolution in bdc session method.

    Hello,
    Why do need that for? Is it to add rows on a table control??
    If it does, add new rows by using the add button instead of adding into the table control directly to each row.
    Bye
    Gabriel.

  • How to do screen resolution in session method

    hi guru how to do screen resolution in session method.
    please tell me.
    regards
    subhasis

    Sometime back this is refered in SDN :
    Check table <i>CTU_PARAMS</i> and field <i>DEFSIZE</i> for setting fixed line of table control.
    CALL TRANSACTION 'VA01' USING it_bdcdata
    OPTIONS FROM OPT
    MESSAGES INTO it_mesg.
    opt of type ctu_params.
    WA_CTU_PARAMS-DISMODE = 'N'. "no screen mode
    WA_CTU_PARAMS-UPDMODE = 'S'. "synchronus update
    WA_CTU_PARAMS-NOBINPT = 'X'.
    WA_CTU_PARAMS-NOBIEND = 'X'.
    WA_CTU_PARAMS-DEFSIZE = 'X'. "Default size
    Default size will play good role in terms of resoultion. in one system in table control you can see 10rows, but in others system it will show 20 records. it depends on resoultion. but when you set the default size then it will take same (default screen size) in all the systems when you run BDC.
    Thanks!!

  • How to handle screen resolution in session method

    how to handle screen resolution in session method  without bdc_insert .

    Hello,
    Why do need that for? Is it to add rows on a table control??
    If it does, add new rows by using the add button instead of adding into the table control directly to each row.
    Bye
    Gabriel.

  • How to exclude synchronous interfaces from component based message alerting

    Hi Pi experts,
    We are configuiring Alerts in PI 7.3 single stack.If we have 'n'number of interfaces, and if we configured general alerts for all.How to exclude synchronous interfaces in that.Alerting is for asynchronous interfaces only.How to do that.
    Please advice on this.
    Regards
    Suneel

    Hello,
    >>What are your approaches regarding this requirement in the context of java-only?
    I would suggest you to schedule jobs like this:
    Customize Alerts Using Job in PI 7.31/PO
    >> alerts are consumed according to the given interval and not in "real time" when error occurs, today solution using BADI is "real time" - if possible I would prefer "real time" solution
    Check this:
    Michal's PI tips: How to trigger an alert for Component Based Message Alerts (CBMA) via "API" ?
    >>an separate service determine the actual alert count would be helpful to provide the correct value for maxAlerts, this have to be called beforehand
    I haven't tried it but i think u can do that, since these consumers are nothing but JMS queues only so i think there will be a method to read number of alert counts.
    >>In history I saw emails generated by the standard alert consumer which only contain details for the first alert, in my case I need details especially the message id for all errorneous messages
    If ur max alert parameter is greater than 1 then u should see multiple alert text  (along with message id and other details) in ur email message.
    Thanks
    Amit Srivastava

Maybe you are looking for

  • VPN L2TP to CISCO 837

    Hi, I'm trying to use the native VPN L2TP in Leopard to connect to a small, cheap CISCO 837 adsl router, to test IOS as a VPN appliance. So I'm just trying to connect from the leopard in 192.168.1.10 to the cisco in 192.168.1.70 with this conf: Curre

  • Printing problem linked to EXIF time data for JPEG images.

    For some years I have been using Photoshop Elements 8.0 with no problems of any kind. My computer runs on XP Professional with a system comfortably in excess of the minimum requirements to run Elements 8.0. I load my images into Elements from a card

  • Word 2007 document to PDF file---how?

    I have Windows XP, Word 2007 and Adobe Reader 7.0. I have prepared some documents for printing and binding. The printer tells me I need to "place your Word 2007 document into a PDF file with fonts embedded." How do I do that? Thanks. [4-8-08]

  • Process the events in quee

    Hi , How to know the process quee(events quee) For Example : one table with many rows and two columns (name ,***(check box)) . when i selected first row check box it will run some process before completed the process if i select the other check box(o

  • Solaris 10 11/06 - Cannot access external web sites from server

    Hi, I am relatively new with Solaris so I hope this is something simple. I just installed Solaris 10 11/06 with the `Secure By Default` option. From the command line I can use dig and nslookup to resolve external web sites fine, but if I try to use t