How to create a image as a component

Hi
Thanks for all the help.
Hope you can help me on this one also.
I have a few dynamic pages .In each of this page i have a logo(a .jpg file) to be displayed at the top of each page. how do i make an image as a component in the portal & use it in my dynamic pages.
Kindly reply
Regards
Sushant

Hi,
You can create an image as a shared component. But you cannot use this image directly on the dynamic page. The image should be used in a template and this template can be used in the dynamic page or any other component. But the problem with dynamic pages is that it does not support templates in release 1 and 2. It would be available only in the next release. The best way would be is to pick up the image from the mid tier.
Thanks,
Sharmila

Similar Messages

  • Create an Image from a Component

    Can anybody tell me how to create an Image from a Component?
    I intend to create an Image from a JTable now but I want to have a more generic solution of course to be able to create an Image from any Java / Swing component (Applet, JList, JButton, ...).
    Thank you,
    Dirk

    2 ways:
    1) java.awt.Toolkit.createScreenCapture(Rectangle bounds)
    2) This:
         public static BufferedImage grabByPaint(Component comp) {
              boolean visible = comp.isVisible();
              // if not visible, need to make visible to make sure sizes are correct. 
              if(!visible) {
                   comp.setVisible(true);
              Dimension size = comp.getSize();
              BufferedImage bi = new BufferedImage(size.width, size.height, BufferedImage.TYPE_INT_ARGB);
              Graphics2D g2d = bi.createGraphics();
              comp.paintAll(g2d);
              if(!visible) {
                   comp.setVisible(false);
              g2d.dispose();
              return bi;
         }

  • How to create transparent image at run-time?

    How to create transparent image at run-time? I mean I want to create a (new) transparent image1, then show other (loaded) transparent image2 to image1, then show image1 to a DC. The problem is - image1 has non-transparent background...

    i'm not sure, but you can set the alpha value to 0 in all pixels which are 'in' the background..
    greetz
    chris

  • How to create and call a COM component in Java

    Hi All,
    can you suggest how to create and call a COM component..or if have any sample simple application can you send it to me...i will try to develop my project.
    actually i am configuring a OCR Engine using SDK which is in VB .Net when i contacted their support they told that if i have any sample COM based component Project they will help me...
    So please can you help in this.
    Thanks in advance.

    As said by my fellow posters Java Devolopment Environment (Except Microsoft implementation of JVM,this is no longer supported by MS themseleves) does not provide an built-in support to serve this cause.
    If you are looking to devolop a custom based solution the below is a good place to start with where end user is talking about Java <=> JNI <=> Native <=> COM connectivity.
    [http://bloggershetty.blogspot.com/2004/12/java-jni-com-activex-bridge-lots-of.html]
    However,if you are looking for ready made solutions ?
    Implementation any one of the solutions stated below might serve your cause.
    Open Source Solutions:
    [http://j-interop.org/]
    [http://www.danadler.com/jacob/]
    Commercial Solutions:
    [http://javacombridge.com/]
    [http://www.jnbridge.com/]
    [http://www.nevaobject.com/j2cdetails.asp?kw=java%20com%20bridge]
    [http://j-integra.intrinsyc.com/]
    Hope this might help :)
    REGARDS,
    RaHuL

  • How to create report image like artwork demo

    Dear Pakars
    How to create report image like artwork demo ?
    Thanks
    Imansyah

    Hello,
    Are you asking how to include images in a report? If so, take a look at the declarative blob support documentation -
    http://www.oracle.com/technology/obe/apex/apex31nf/apex31blob.htm
    Hope this helps,
    John.
    Blog: http://jes.blogs.shellprompt.net
    Work: http://www.apex-evangelists.com
    Author of Pro Application Express: http://tinyurl.com/3gu7cd
    REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone!

  • How to create Edit Image in my form

    hi All,
    I have a form with header and detail, in my detail block i need to add Edit Image in my form. When i click on this i should be able to open one of my text column.
    can any one please help me how to create new images....

    Siva,
    There is a different Technology Stack associated with the Enterprise Business Suite (EBS). amitphynyl is correct with the description of how to create a button with the edit.ico assigned to it, but with the EBS, you will want to speak to your DBA to get a list of all the Icons that are available as you will have more icons with the EBS than are available with a standard install of Forms Builder 6i. I would also suggest you ask your DBA to give you a copy of all the Icons so you can add them to your Forms Builder installation so they will be available to you during design of your Form.
    I would also recommend that you review the Oracle Applications User Interface Standards for Forms-Based Products guide in the Oracle Applications Documentation web site to ensure your Custom Form conforms to Oracle guidelines.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • How to create a hint for a component(awt),thanks

    How to create a hint for a component(awt),the component of awt has not the property.

    If you are talking about a tooltip, this is going to be hard.
    You are probably going to have to use a mouseMotionListener to get the event that the mouse is over the component and then a Timer to fire the showTooltip event if the mouse hasn't moved in some amount of time.

  • How to create an image in an applikation

    very very very very simple question:
    how to create an image in an applikation!?thanks in advance!

    Image image=createImage(width,height)check out the IMAGE class in the API. as you said, this is simple stuff, thus you should be able to easily find the answer.

  • Creating an image of a component

    hi
    i'm working on a small applet. i need to create an image of any component (like JLabel) before it is shown on the screen.
    can i do it?

    Try:
    Image getComponentImage(Component comp) {
        BufferedImage imgBuf = new BufferedImage(comp.getWidth(),comp.getHeight(), BufferedImage.TYPE_INT_ARGB_PRE);
        Graphics gr = imgBuf.createGraphics();
        comp.paint(gr);
        return imgBuf;
    }Graeme

  • How to create an image viewer

    i need to know how to create an image viewer would appreciate
    help thanks

    you can use loadMovie() to load a jpg image into flash (and
    if you're using flash 8 you can load other image formats into
    flash) and use it to create an image viewer.

  • How to create an image from another one with midp1.0 as in midp 2.0

    hi:
    we can create an image from part of another one in midp2.0 width the following method
    createImage(Image image, int x,int y,int width,int height,int transform)
    but have to work with midp1.0, then how?
    regards

    but i have six icons in one picture, (tow row ,three column, each size 14*14)
    it's ok to get the top-left icon with the following code
    Image image = Image.createImage("/myicon.png");
    Image tmp = Image.createImage(14, 14);
    Graphics g = tmp.getGraphics();
    g.drawImage(image, 0, 0, Graphics.TOP|Graphics.LEFT);
    but how to get other icon?
    regards

  • How to create an image with a transparent shape

    Hi
    This should be easy -
    The end result I want is this:
    a png which is mostly black (or any colour) but with a defined shape in it which is transparent.
    I have the shape. I select it. I seem to be able to make a mask from this (a selection which I can copy and move about). But what I can't figure out how
    is how to create a new image which is filled except for this masked area which is transparent
    Any help gratefully received.
    Thanks
    --Justin Wyllie

    Open a blank, new file with foreground color green
    Type text
    Open effects palette, and in the drop-down go to bevels, then select "Simple Emboss" - it is the second one in my program. Apply
    Still in he effects palette, in the drop-down, go to visibility, select "Hide". Apply
    Double click the f icon on the text layer in the layers palette to bring up the Style settings dialog, and add a small stroke to better define the letters.

  • How to create custom(or) user defined component in SAPTAO

    Hi,
       Please provide me some document or steps on how to create custom component in sap tao.
    Thanks a lot in advance.
    Regards,
    Sudha

    Hi,
    If you want create any custom components, you should use SAP QTP to create it.
    Here are the simple steps:
    i) Go to QTP -> Click on New - > Select Scripted Component - > ((Select SAP_Doc) area (i.e. whatever application area you have created for SAP TAO installation)) -> Record or Write a script based on your requirement & save
    ii) Go to QC -> BPT -> open above component and insert the parameters and call these values in QTP script level (either way you can do)
    iii)  Create a datasheet and declare the parameters in datasheet and call this sheet whenever you have required.
    Good luck.
    Ram

  • How to create thumbnail images on the fly from JSP or servlet?

    Hi all,
    Iam new to this forum. I need a solution for the problem iam facing in building my site. Ihave groups and briefcase section in my site. I allow users to upload files and pictures.
    When they upload pictures i need to create thumbnail for them on the fly.
    Is there any taglibs or java source to do this from JSP or servlets.
    It would be very greatful if i can get an early answer.
    Please let me know if there is any other forum where i can get better answer, if not here?
    thnx.

    Here is how you can create dynamic images:
    http://developer.java.sun.com/developer/JDCTechTips/2001/tt0821.html#tip2
    However, if you want to create gifs/jpegs and save them to the disk it depends from where you want to create the images. It is different if you are creating from another image or just drawing one from scratch etc.. But in the end you will probably need to use one of the imageencoder classes and write the result to the disk with the file io classes.

  • How to create  an image

    hi
    i have image data in a bytearray that is in either gif or jpeg format, how can i create an image using the byte array
    thanks in advance
    have a nice time

    Image img = Toolkit.getDefaultToolkit().createImage(imageByes);

Maybe you are looking for

  • How do I "contract" my selection of contiguous files in the same direction (up and down) on Mac?

    In Windows, Mac OSX, and Bridge on Windows, when I hold SHIFT and navigate with up and down arrows, I can select more files or fewer files in the direction I am going. However, doing the same thing in Bridge CC on the Mac expands my selection on the

  • PLS   where i can get the 6140/6540 mib file

    thanks .

  • Help on JSP Basic

    Hi ALL , Can any one help me on Basic JSP. Question: I have a jsp page called page.jsp and 123.jsp.. in 123.jsp i have a Hyper link Called HLINK if user click that link ... contents in the page.jsp as to be displayed in the 123.jsp page just below th

  • Scedule manager

    Hello friends, Has anyone worked on Schedule Manager? I'm looking to perform the period end steps in product costing using the schedule manager. I'm quite confused about different things like flow definition, work lists etc.. Can someone suggest me t

  • SAVE EXCEPTIONS when fetching from cursors by BULK COLLECT possible?

    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production Hello, I'm using an Cursor's FETCH by BULK COLLECT INTO mydata... Is it possible to SAVE EXCEPTIONS like with FORALL? Or is there any other possibility to handle exceptions