Drawing from Component into Applet ???

Hi
I would like to know if is there any way of drawing into a applet
from a component without passing the applet Graphics into the
component and without using the component paint(Graphics g),
and if yes please help.
Thanks

use the tag param namelike that:
<html><head><title>the title</title></head><body>
   <applet code=?? width=200 height=100>
      <param name=image value=BBB.gif>
   </applet>
</body></html>and then, in your applet code, your retrieve the image file using the following commands:
URL address = getDocumentBase();
String filename = getParameters("image");
Image picture = getImage(filename);

Similar Messages

  • Help. How do you TAB from HTML component to applet (and back) ?

    How can one tab between applets in a browser, and from an applet to an HTML component?
    For example, I have the following in my page in decending order:
    an HTML text field,
    an applet containing two components,
    and another HTML text field.
    When focus is on the first HTML text field pressing TAB should shift focus to the first component of the applet, the next TAB press shifts focus to the second component of the applet, and the next TAB press shifts focus to the other HTML text field. Then another TAB press cycles back to the first TEXT field.
    I can handle the tabbing within the applet using the FocusManager, but how can I get the applet to receive focus on a TAB from the browser, and once the applet has focus, how can I give focus back to the browser when a TAB occurs from my last applet sub-component?
    At the moment a user has to click on the applet before he can tab in it, and then click outside it to tab in the html again.
    Any help appreciated, as I cant find any reference to how to do this apart from other people asking the same but getting no replies.
    Thanks,
    Menno

    I see what you are saying. Either use javascript with LiveConnect or go all applets.
    What we are actually doing at the moment is trying to componentise using small applets passing data via InfoBus. So I guess we could use only applets as you suggest. Either with getAppletContext, or we could have a data item on the InfoBus which contains the name of the required in-focus applet, and all applets listen to see if it is their name, and if so request focus.
    I'm suprised applets are not tab-able between by default. I would have thought this was a common requirement.
    I'll look into LiveConnect as well, and let you know how we get on.
    Cheers,
    Menno

  • Tabbing from applet to applet, HTML component to applet, and back

    How can one tab between applets in a browser, and from an applet to an HTML component?
    For example, I have the following in my page in decending order:
    an HTML text field,
    an applet containing two components,
    and another HTML text field.
    When focus is on the first HTML text field pressing TAB should shift focus to the first component of the applet, the next TAB press shifts focus to the second component of the applet, and the next TAB press shifts focus to the other HTML text field. Then another TAB press cycles back to the first TEXT field.
    I can handle the tabbing within the applet using the FocusManager, but how can I get the applet to receive focus on a TAB from the browser, and once the applet has focus, how can give focus back to the browser when a TAB occurs from my last applet sub-component? At the moment a user has to click on the applet before he can tab in it, and then click outside it to tab in the html again.
    Any help appreciated, as I cant find any reference to how to do this apart from other people asking the same but getting no replies.
    Thanks,
    Menno

    Well, I think it is both a Java & HTML problem.
    When you TAB from HTML there must be a way to TAB to the Java applet, and when you TAB from the applet there must be a way, when you are on the last component within the applet, to TAB back to the HTML components.
    Anyone know how?
    Cheers,
    Menno

  • From Jframe to applet

    Hi everyone.I need to convert graphics from JFrame to Japplet. I am using a class which contains the main method the main method runs the constructor of my class and the constructor creates a new object which is a class that extends to Jframe.I need to make this program to run in an Internet Explorer.Any ideas Please help me guys It is impossible to change the whole program. Thanx in advance.

    Your JFrame extended class functionality should be put into the JApplet's
    functionality. Probably mostly in the init method.
    You could launch JFrames from within an Applet. But I'm not sure why
    you wouldn't just migrate everything your JFrame does.

  • How can we acess the data of one component into othr component in webdynpo?

    How can we acess the data of one component into other component in webdynpro....
    I need an Field input from one webdynpro component(comp1)  which is away from the line of process to the other component(comp2) we need that data........I mean i need the field info of comp1 where we doesn't navigate through the Comp1 in the portal & directly access the  component comp2.........kindly share your ideas.....and possible ways .........
    any doughts do post.....
    thanks in advance!

    Hi,
    Please post your query in forum Web Dynpro ABAP Forum, under Application server.
    You have to define the source component as in the used component in the target one to do that.
    after that you will be able to get data from that component.
    Regards,
    Vaibhav

  • How can we acess the data of one component into othr compnent in webdynpro?

    How can we acess the data of one component into other component in webdynpro....
    I need an Field input from one webdynpro component(comp1) which is away from the line of process to the other component(comp2) we need that data........I mean i need the field info of comp1 where we doesn't navigate through the Comp1 in the portal & directly access the component comp2.........kindly share your ideas.....and possible ways .........
    any doughts do post.....
    thanks in advance!

    Hi Reddy,
    You can do it in multiple ways. One way would be to try transfer the parameters through URL & the other would be to work with the concept of interface nodes. Please try go through these 2 threads ( [Thread 1|Call view of another WDA Component and pass the value to it; & [Thread 2|navigation from one program to another; )where I have explained about working with Interface node in detail. You can refer to this [thread |receving parameters between two standard webdynpro applications;to see as to how you can do the same via parameters in URL.  Hope it would help resolve your problem.
    Regards,
    Uday

  • GP - WD Java: Cannot read callable object description from component

    Hi,
    i use Guided Procedures and therefore i will generate a WebDynproJ Callable Object inside the GP.
    When i try to intergate it into Design-Time i get follwoing error after i picked the WebDynpro Component:
    Cannot read callable object description from component: type com.sap.caf.gp.quotcreate.model.bapi_quotation_createfromdata2.types.Vbeln_Va could not be loaded: com.sap.dictionary.runtime.DdException: TypeBroker failed to access SLD: Error while obtaining JCO connection.
    Well because i could import the Model into the WD Component in NWDS with the given JCo i have no clue why this error is now popping up.
    Does someone have some experience with this phenomenon?!
    I also wanted to check the JCo's in Content Admin but even though i am an Admin (i am sure of this) i have no rights to enter this part. Also the SLD is properly configured!
    br

    Hi Fritz,
    how did you resolve the problem?  thanks a lot!
    Nicola

  • How to read URL parameters of one wdp component into other WDP component?

    Dear Experts,
    Can anyone let me know how to read URL parameters of one wdp component into other WDP component?
    My requirement is i have one standard WDP component with 3 URL parameters and i needto
    read that URL parameters along with their values in my Z-WDP component.
    Thanks
    SK

    Hi Santosh,
    You can read parameters send from one WebDynpro Component to another component by adding code in "HANDLEDEFAULT" Event Handler method ( Window )of your target Web Dynpro Component.
    data: lt_parameter             type tihttpnvp,
             ls_parameter             type ihttpnvp.
    lo_api_controller ?= wd_this->wd_get_api( ).
       call method lo_api_controller->get_message_manager
         receiving
           message_manager = lo_message_manager.
       clear : ls_parameter.
       refresh : lt_parameter[].
    * Read all URL parameters
       wdevent->get_data( exporting name = if_wd_application=>all_url_parameters importing value = lt_parameter ).
    if not lt_parameter[] is initial.
         clear : ls_parameter.
         read table lt_parameter into ls_parameter index 1.
         if ls_parameter-name = 'ACTION' and
            ls_parameter-value is initial.
           lv_flag = 'X'.
           clear : lo_msg.
           lo_msg = 'Action Parameter Missing in URL Link !'.
    *         report message
           call method lo_message_manager->report_error_message
             exporting
               message_text = lo_msg.
         else.
         endif.
    Best Regards
    Priyesh Shah

  • Use dvt map component into adf mobile

    Hello,
    I'm just wondering if it's possible to use the dvt map component into an adf mobile application or if there's another way to display a map coming from mapviewer.
    Does anybody know it there are any limitations?
    Thanks and regards

    Currently DVT Map component is not supported for ADF Mobile. Alternatively you could look at embedding Google Maps or just invoke Google Maps from your app. On iOS and Android, if you create a link with something like ("http://maps.google.com/maps?q=<Text or EL Expression containing the value of the address you want to search>"), then native Google Maps application would be launched to display that address. You can also embed a Google Map in your page as an image as well - check Google Map's site for details of how to issue an URL that could return an image containing Google Maps and search results.
    Thanks,
    Joe Huang

  • Scanned drawing from pdf to PSD

    I have a scan of a drawing that I need to get into photoshop but the scan goes onto page 2 of a pdf file.  How can I edit the two scanned pages to end up with the drawing on one page in psd file?

    It is actually a single file, but goes onto a second page.  When I bring it into PS, I am getting page 1 of 2.
    From: csuebele [email protected]
    Sent: Saturday, November 30, 2013 8:41 AM
    To: Patti Drexel
    Subject: Scanned drawing from pdf to PSD
    Re: Scanned drawing from pdf to PSD
    created by csuebele<http://forums.adobe.com/people/csuebele> in Photoshop General Discussion - View the full discussion<http://forums.adobe.com/message/5887128#5887128

  • Scrolling component into view programmatically without using javascript

    Hi,
    Is it possible to scroll an adf component into view programmatically without using javascript?
    I know of <af:scrollComponentIntoViewBehaviour> that can be added to a command component , but is there a way to do that programmatically in a bean?
    Problem with using javascript is its not guaranteed to work in different browsers.
    Regards,
    Rakesh.

    Hi John,
    Thanks for the reply.
    If i use the af:scrollComponentIntoViewBehavior, then i wont be able to achieve my desired functionality.
    In my use case, i want the id, of the component that needs to be scrolled into view, to be determined in the server listener of the button which is not happening.
    Code snippet in jspx page is as follows:
    <af:commandButton id="cb1" immediate="true">
    <af:clientListener method="clickButton" type="click"/>
    <af:serverListener type="customEvent"
    method="#{pageFlowScope.bean.doScroll }"/>
    <af:scrollComponentIntoViewBehavior id="#{pageFlowScope.bean.compId}/>
    </af:commandButton>
    And the java code for method doScroll is something like :
    public void doScroll (ClientEvent clientEvent)
    //logic to determine compId goes here
    compId = "id";
    So, the problem here is "compId" is set to some value when bean is loaded and the id in the af:scrollComponentIntoViewBehavior will be set to that value forever.
    I cant find any way of telling it to re-read the "compId" value, say after clicking the button. I can refresh the button in the server listener to update the compId .
    But the updated compId will come into picture from *next click*. This is because, after the button is clicked, "scroll" action happens first and then serverListener executes.
    Is there a way to change order of this execution like "execute server listener first and then do the scrolling thing" ?
    Regards,
    Rakesh.
    Edited by: 927925 on Jul 27, 2012 2:02 AM

  • How to import layers from Flash into Photoshop?

    I can do it from photoshop into flash but I can't work out how to do it the other way round. Basically I want to draw my frames in flash and then colour them in photoshop
    thanks

    Quote from the Reference:
    Open a 3D file
    Photoshop can open the following 3D formats: DAE (Collada), OBJ, 3DS, U3D, and KMZ (Google Earth).

  • Importing from Illustrator into Photoshop

    Hello
    I am struggling to learn Creative Suite CS4, and it is very hard.
    Can anyone help me with the following problem.
    I have made some line art in Illustrator CS4 using a wacom pen and the pencil tool. it has about 8 layers.
    I have brought the artwork into Photoshop CS4 so that I can color it in Photoshop. I find that it has been merged into just one layer in Photoshop.
    Is this what is supposed to happen? I expected the drawing to still have all the layers intact.
    can anyone tell me how to move stuff from Illustrator into Photoshop and keep the layers structure?
    Thanks for any advice.

    How did you bring the art into Photoshop?
    Try File > Export > PSD in Illustrator and tick the "Write Layers" option in teh second dialog window.
    Be aware though... you can't maintain layers and have traditional smart objects at the same time.
    If you want smart objects and layers, you need to select an AI layer, copy. Move to PS, create a new layer, paste. Then repeat for each AI layer. And finally realign all the layers in PS so they are positioned correctly.

  • It is possible to ckeck-out a drawing and converting into bitmap

    HI,
    it is possible to
    check out a drawing from dms and convert into bitmap image
    and upload the image in se78

    Hi Rani,
    from DMS point of view it is possible to convert an original to BMP format. Therefore you have to set up a conversion routine in customizing and link a converter to your system, which is able to convert the original in the desired format.
    First of all the converter has to be linked to the R/3 System by RFC connection in SM59. Please see
    the attached document which contains all necessary information about setting up the converter and conversion.
    Further customizing settings can be found in transaction SPRO under:
    Cross-Application Components
      > Document Management
          > Conversion of Original Application Files
    The conversion could be defined to be started in transaction CONV02, with status change or by using workflows. For using the conversion within workflows please see SAP note 687199 for further information.
    Best regards,
    Christoph
    P.S.: Please reward points for usefull information.

  • Import from sharepoint into ms sql

    When am importing data from SharePoint into SQL Server, am getting only 10 records where as it is having approx 10000 records. I'm using BIDS 2008. I'm not able to figure it out the issue. Can some one help me on this?

    Hi kdinuk,
    According to your description, you are missing some records while importing data from SharePoint into SQL Server.
    Based on my research, the issue always occurs when Error Output (under Connection Manager and Columns) within Source or Error Output (under Connection Manager and Mappings) with Destination Component is set to Ignore Failure or Redirect Row. Then the component
    will succeed, but only the successful rows will be inserted. So please check the Error Output on all your components in your Data Flow Task.
    Besides, for more details about how to import data from SharePoint into SQL Server, please refer to the following blog:
    http://dataqueen.unlimitedviz.com/2011/06/how-to-use-a-sharepoint-list-as-a-data-source-in-your-ssis-package/
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

Maybe you are looking for

  • Assigning value to a variable in Script Component.

    I'm pretty new to SSIS development and need to figure out a problem with assigning a value to a user defined variable. I created a pretty simple package. It reads a flat file, extracts date from a header record and subsequently uses derived column co

  • Selecting a column in Answers report based on user prompt/ apply filter

    I need to do the following in OBIEE Answers report (version 10.1.3.4.1): 1) Think of a simple table with dim TX_type and some measures like month_jan, month_feb, month_mar so the fact table looks like (column names) tx_type, month_jan, month_feb, mon

  • Check the hints used in SQL Query (Parallel, First_Rows)

    Hi, I have used above hints in my sql query and found no difference in execution time. I just want to know whether the hints are used in my sql are not. Could you please let me know where to check for it. Thanks in advance

  • Withholding Tax code and Value Postings from SD

    Hi All, Please provide me the expert views? its business requirement. Regards, SK Hi All, I have a scenario which needs to be posted to the G/L account withholding tax amount through Rebate agreement. We have already configured the Rebate commission

  • Cant get it to d/l

    I just purchased this and the directions say to connect the ipod to the computer via the USB cable. When I do that nothing happens. How do I get the music from Itunes to my ipod?