SAPSCript - Inserting a graphic dunamically with ABAB-Code?

Hello,
I want to insert a graphic dynamically from my ABAB-printprogram. It should not be inserted in a specific window. And the graphic should not be predefined in the layoutset. Is there a possibility to do this. Thanks for your help. Regards, Lars.

Hello Vinod,
we try to print a testlogo in the background of the printing form, depending on the SAP-System running. Is there a possibility for dynamically printing this graphic in the background without changing any existing layoutset. If not, we have to change every page in every layoutset and we have quit a lot of layoutsets. So we were thinking about the possibility of solving this problem with ABAP code, maybe in a function module. Regards, Lars.
P.S.: May it be possible printing a graphic that was transformed to a textelement with the function 'PRINT_TEXT'.

Similar Messages

  • How to insert a shoutbox and a counter in a flash file with html code?

    How to insert a shoutbox and a counter in a flash file with
    html code?
    Code shout box
    <!-- BEGIN MYSHOUTBOX.COM CODE -->
    <iframe src="
    http://489676.myshoutbox.com/"
    width="152" height="300" frameborder="0"
    allowTransparency="true"></iframe>
    <!-- END MYSHOUTBOX.COM CODE-->
    Code compteur
    <script type="text/javascript" src="
    http://www.123compteur.com/counterskinable01.php?votre_id=268303"></script><noscript><a
    href="
    http://www.123compteur.com"
    target="_blank">compteur</a></noscript>

    thx =D

  • Inserting an image into Clearbox with html code

    Hi guys,
    I am using Clearbox to make pop up boxes so I can use text and images in it and I am editing them with html code.
    This is the code that I have (default for clearbox html)
    <div class="item"><a href="htmlcontent" rel="clearbox[gallery=Gallery,,width=400,,height=200,,html=&lt;br /&gt;&lt;strong&gt;&lt;font size=&quot;4&quot; color=&quot;#999&quot;&gt;BRC Food!&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;You can use most of html codes. For more information, please check the 'Professional usage' on www.clearbox.hu!&lt;/strong&gt;,,title=HTML content]"><img  src="images/brc_food_1.jpg" alt="html content" /></a></div>
    This code works fine, but I also want to add an image to it.
    <img src="images/brc_food.jpg" alt="BRC Food" width="500" height="334">
    Can anyone tell me how I would add the above together. Just inserting it into the code does not work, and I have also tried replacing the
    &lt; INSTEAD OF < / &gt; INSTEAD OF > / &quot; INSTEAD OF "
    Any help would be appreciated

    Whenever I deploy Fancybox on a page, I usually throw "the whole enchilada", to use a food analogy, in there:
    I link to every possible script from Fancybox just in case I'll need it.
    <script type="text/javascript" src="fancybox/lib/jquery-1.9.0.min.js"></script>
    <script type="text/javascript" src="fancybox/lib/jquery.mousewheel-3.0.6.pack.js"></script>
    <script type="text/javascript" src="fancybox/source/jquery.fancybox.js"></script>
    <link rel="stylesheet" type="text/css" href="fancybox/source/jquery.fancybox.css" media="screen">
    <link rel="stylesheet" type="text/css" href="fancybox/source/helpers/jquery.fancybox-buttons.css">
    <script type="text/javascript" src="fancybox/source/helpers/jquery.fancybox-buttons.js"></script>
    <link rel="stylesheet" type="text/css" href="fancybox/source/helpers/jquery.fancybox-thumbs.css">
    <script type="text/javascript" src="fancybox/source/helpers/jquery.fancybox-thumbs.js"></script>
    <script type="text/javascript" src="fancybox/source/helpers/jquery.fancybox-media.js"></script>
    <script type="text/javascript" src="fancybox/lib/fancybox_definitions.js"></script>
    That last one "fancybox_definitions" is simple a remote file I made from the inline styiling I found in thwe Fancybox demo page:
    It reads as follows:
    // JavaScript Document
    $(document).ready(function() {
    *  Simple image gallery. Uses default settings
    $('.fancybox').fancybox();
    *  Different effects
    // Change title type, overlay closing speed
    $(".fancybox-effects-a").fancybox({
    helpers: {
    title : {
    type : 'outside'
    overlay : {
    speedOut : 0
    // Disable opening and closing animations, change title type
    $(".fancybox-effects-b").fancybox({
    openEffect  : 'none',
    closeEffect     : 'none',
    helpers : {
    title : {
    type : 'over'
    // Set custom style, close if clicked, change title type and overlay color
    $(".fancybox-effects-c").fancybox({
    wrapCSS    : 'fancybox-custom',
    closeClick : true,
    openEffect : 'none',
    helpers : {
    title : {
    type : 'inside'
    overlay : {
    css : {
    'background' : 'rgba(85,164,194,0.85)'
    // Remove padding, set opening and closing animations, close if clicked and disable overlay
    $(".fancybox-effects-d").fancybox({
    padding: 0,
    openEffect : 'elastic',
    openSpeed  : 150,
    closeEffect : 'elastic',
    closeSpeed  : 150,
    closeClick : true,
    helpers : {
    overlay : null
    *  Button helper. Disable animations, hide close button, change title type and content
    $('.fancybox-buttons').fancybox({
    openEffect  : 'none',
    closeEffect : 'none',
    prevEffect : 'none',
    nextEffect : 'none',
    closeBtn  : false,
    helpers : {
    title : {
    type : 'inside'
    buttons     : {}
    afterLoad : function() {
    this.title = 'Image ' + (this.index + 1) + ' of ' + this.group.length + (this.title ? ' - ' + this.title : '');
    *  Thumbnail helper. Disable animations, hide close button, arrows and slide to next gallery item if clicked
    $('.fancybox-thumbs').fancybox({
    prevEffect : 'none',
    nextEffect : 'none',
    closeBtn  : false,
    arrows    : false,
    nextClick : true,
    helpers : {
    thumbs : {
    width  : 50,
    height : 50
    *  Media helper. Group items, disable animations, hide arrows, enable media and button helpers.
    $('.fancybox-media')
    .attr('rel', 'media-gallery')
    .fancybox({
    openEffect : 'none',
    closeEffect : 'none',
    prevEffect : 'none',
    nextEffect : 'none',
    arrows : false,
    helpers : {
    media : {},
    buttons : {}
    *  Open manually
    $("#fancybox-manual-a").click(function() {
    $.fancybox.open('1_b.jpg');
    $("#fancybox-manual-b").click(function() {
    $.fancybox.open({
    href : 'iframe.html',
    type : 'iframe',
    padding : 5
    $("#fancybox-manual-c").click(function() {
    $.fancybox.open([
    href : '1_b.jpg',
    title : 'My title'
    href : '2_b.jpg',
    title : '2nd title'
    href : '3_b.jpg'
    helpers : {
    thumbs : {
    width: 75,
    height: 50
    Copy that block of code and save it into a js file with the name "fancybox_definitions" in the fancybox/lib folder.
    Then add the other "calls" to Fancybox files to your header.  It should work from there.

  • HT1539 my daughter has taken the insert page with redemption code out of the dvd case and we cannot find it.  is there any way i can still download my digital copy of the movie in itunes?

    We Have managed to lose the insert page that came with our dvd and digital copy.  Is there a way i can still download the digital copy without the redemption code?

    Please please help me, if you know how.

  • Iris Pro and Bootcamp (Have graphical ISSUES with COD AW)

    Hello everybody!
    I'm having a graphics-issue when playing CoD AW on Windows 8.1 Enteprise.
    Im using a 21,5 iMac with Boot Camp.
    Have the latest Intel Drivers 10.18.10.3960
    The game runs good! But sometimes just for a few seconds my screen turns out like this.. And then dissapears.
    Heres a picture about it...
    Pls help
    Regards and Merry X-mas!

    Google is your friend. Easy? Probably not but it appears doable. Proceed at your own risk.
    http://arstechnica.com/information-technology/2012/11/no-support-no-problem-inst alling-windows-8-on-a-mac-with-boot-camp/

  • Inserting a Graphic in adobe form using SFP

    Hi all,
           by using Form & Interface in SFP Transaction
           i want to display a logo(image) not by using url(not images from hard disk), i want to use the image which is present in the sap (ie., i want to use the images in se78).  How can i achieve this????
    I used the following procedure, even though i couldnt achieve:
    1.      Select an existing node in the context, under which you want to create a graphic node.
           2.      In the context menu of the node, choose Create ® Graphic.
           3.      The system creates a graphic node under the selected node. Enter the required data about the graphic in the Properties window under the form context.
    You can choose from the following graphic types:
    ○       Graphic Reference
    Choose this option if you want to insert a graphic from its address (URL). The URL can point to a Web server or to a file system. You must be able to access the graphic at the specified URL. This means that you may have to configure appropriate access rights for Adobe Document Services (ADS). Graphics stored in MIME Repository cannot be accessed through a URL. To use these graphics, choose Graphic Content.
    ○       Graphic Content
    Choose this option if you want to specify graphic content using a field. This field contains all image information at runtime. The graphics must be in MIME Repository.
           4.      The entries you need to make depend on whether you chose Graphic Reference or Graphic Content in the last step.
    ○       If you have chosen Graphic Reference as your graphic type, enter the URL of the graphic.
    Note
    In Adobe LiveCycle Designer, you can choose whether the system gets the graphic at runtime, or whether the graphic is embedded in the form. For more information, see the online help in Adobe Designer.
    ○       If you have specified Graphic Content as your graphic type, you must do the following:
    ■       In Field, enter a field name from the interface.  The field must have the type STRING (graphical data is Base64-coded) or XSTRING (for binary-coded graphical data).
    ■       Enter a valid MIME type, such as u2019image/bmpu2019.
           5.      Under Conditions, enter the prerequisites that need to be met before the graphic node is processed at runtime and displayed in the form.
    I cant get the image....................................
    Please provide the step by step details.....
    Thanks,
    Vichu

    The correct code is as follows,
    REPORT  ZTEST_GRAPHIC_MIME.
              Data Declaration           ***
    DATA: fm_name TYPE funcname,                              " Captures the Generated Function Module name
          w_sfpoutputparams TYPE sfpoutputparams,             " Print and Spool Dialog settings
          w_docparams TYPE sfpdocparams.                      " Print and Spool Dialog settings
    DATA: w_binary TYPE xstring,                              " Contains converted logo
          w_base64 TYPE string,                               " Contains image type
          v_name type STXBITMAPS-TDNAME.                      " Contains logo name which is in se78
              Function Modules            ***
    CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'                   " Will contain the name of generated Function Module Name...
      EXPORTING
        I_NAME                     = 'ZTEST_GRAPHIC'
    IMPORTING
        E_FUNCNAME                 = fm_name
      E_INTERFACE_TYPE           =
    CALL FUNCTION 'FP_JOB_OPEN'                               " To Open the Form for Printing...
      CHANGING
        IE_OUTPUTPARAMS       = w_sfpoutputparams
    EXCEPTIONS
       CANCEL                = 1
       USAGE_ERROR           = 2
       SYSTEM_ERROR          = 3
       INTERNAL_ERROR        = 4
       OTHERS                = 5
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    v_name = 'ENJOY'.                                         " Name of the logo as in se78
    w_base64 = 'image/bmp'.                                   " Image Type
    CALL METHOD CL_SSF_XSF_UTILITIES=>GET_BDS_GRAPHIC_AS_BMP  " Get a BDS Graphic in BMP Format (Using a Cache)
      EXPORTING
        P_OBJECT       = 'GRAPHICS'
        P_NAME         = v_name                               " Name of the logo as in se78
        P_ID           = 'BMAP'
        P_BTYPE        = 'BCOL'                               " BCOL'( whether the image is in color or black and white )
      RECEIVING
        P_BMP          = w_binary
      EXCEPTIONS
        NOT_FOUND      = 1
        INTERNAL_ERROR = 2
        others         = 3
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION fm_name                                     " Generated Adobe Form Function Module(/1BCDWB/SM00000173)...
      EXPORTING
        /1BCDWB/DOCPARAMS        = w_docparams
        GRAPHIC_BINARY           = w_binary
        GRAPHIC_BASE64           = w_base64
    IMPORTING
      /1BCDWB/FORMOUTPUT       =
    EXCEPTIONS
       USAGE_ERROR              = 1
       SYSTEM_ERROR             = 2
       INTERNAL_ERROR           = 3
       OTHERS                   = 4
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'FP_JOB_CLOSE'                              " To Close The Form For Printing
    IMPORTING
      E_RESULT             =
    EXCEPTIONS
       USAGE_ERROR          = 1
       SYSTEM_ERROR         = 2
       INTERNAL_ERROR       = 3
       OTHERS               = 4
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

  • FI-Stand reopt with t.code

    please send all standard report in FI with t.Code
    Thanks in Advance
    Regards
    Praveen

    Hi
    List of Standard Reports
      REKH0004 SAP demo program that shows how to do 2D, 3D, and 4D graphics.
    RGUGBR00 Substitution/Validation utility
    RHGEN00 Regen PD and PA inconsistencies
    RHGRENZ0 Delimit IT1000 and related 1001s. Program will delete any 1001 infotypes whose start date is after the delimit date.
    RHGRENZ1
    Extend the end date on delimited records. Very useful when you delimit a bunch of records incorrectly, and need to change the end date.
    RHGRENZ2 Delimit IT1001 only.
    RKCTSEAR Search source code for up to two strings. Also see RSRSCAN1 and RPR_ABAP_SOURCE_SCAN.
    RPDTRA00 List all HR transactions.
    RPR_ABAP_SOURCE_SCAN Search ABAP code for a string. Has many more options for selecting the ABAPs to search than RSRSCAN1 or RKCTSEAR.
    RPUAUD00 HR Report to list all logged changes for an employee. Uses the PCL4 Audit Cluster.
    RPUAUDDL HR Report to delete audit data from the PCL4 Audit Cluster.
    RPUDELPN Delete all info for an employee number, including cluster data and infotypes
    RPUP1D00/10 View/Delete data from PCL1 Cluster
    RPUP2D00/10 View/Delete data from PCL2 Cluster
    RPUP3D00/10 View/Delete data from PCL3 Cluster
    RPUP4D00/10 View/Delete data from PCL4 Cluster
    RSABAPIV Mass print/display of ABAP/4 help text
    RSAVGL00 Table adjustment across clients
    RSBDCBTC Submit a BDC job with an internal batch number and wait for the end of the batch input session.
    RSBDCDRU Prints the contents of a Batch Input session. No options for error transactions only.
    RSBDCOS0 Execute UNIX commands. Looks similar to the old SAPMSOS0 program that disappeared in 3.0
    RSBDCSUB Release batch input sessions automatically
    RSBTCDEL Clean the old background job records
    RSSDOCTB R/3 Table Manual - prints a list of all fields in the selected tables with the field name and the field documentation.
    RSCLTCOP Copy tables across clients
    RSDBCREO Clean batch input session log
    RSINCL00 Extended program list
    RSNASTED Process message control output for entries in the NAST table
    RSORAREL Get the Oracle Release
    RSPARAM Display all instance parameters
    RSPO0041 Removing old spooling objects
    RSRSCAN1 Search source code for a given string. Will also search includes. Also see RKCTSEAR and RPR_ABAP_SOURCE_SCAN.
    RSSNAPDL Clean the old ABAP error dumps
    RSTBSERV Compare a contents of a table between clients
    RSTXFCON Converts SAPScript page formats
    RSTXSCRP Save a SAPScript layout set to disk, and load it back into SAP.
    RSTXSCRP Transport SAPscript files across systems
    RSTXSCRP Upload and download SAPScript layout sets
    RSTXTPDF4 Pass the spool number of a report's output to this program to have the output converted to PDF format.
    RSTXTRAN Add standard texts to a transport so they can be moved between systems.
    RSUSR003 Check the passwords of users SAP* and DDIC in all clients
    RSUSR006 List users last login
    RSWBO052 Change development class of a sapscript (provided by Alan Cecchini)
    RSWBO060 put objects into a request and transport it to any other system
    Please assign points if helpful.
    Regards,
    Nitin Aggarwal

  • HELP! Run-time Error with this code.

    I'm having problem with the code below. But if I were to remove the writer class and instances of it (writeman), then there are no problems. Can some1 pls tell me why the writer class is giving problems. Btw, no compilation errors, only errors at run-time..........
    import java.applet.*;
    import java.awt.*;
    import java.awt.event.MouseListener;
    import java.awt.event.*;
    public class HelloWorld extends Applet
    public static String MyString = new String("Hello");
    Graphics f;
    public void init()
    Changer Changer1 = new Changer();
    writer writeman = new writer();
    setBackground(Color.red);
    setForeground(Color.green);
    addMouseListener(Changer1);
    writeman.paintit(f);
    public void paint(Graphics g)
    g.drawString(MyString,10 ,10);
    public class Changer implements MouseListener
    public void mouseEntered(MouseEvent e)
    setBackground(Color.blue);
    MyString = "HI";
    paint(f);
    repaint();
    public void mouseExited(MouseEvent e)
    setBackground(Color.red);
    repaint();
    public void mousePressed(MouseEvent e){};
    public void mouseReleased(MouseEvent e){};
    public void mouseClicked(MouseEvent e){};
    public class writer
    public void paintit(Graphics brush)
    brush.drawString("can u see me", 20, 20);

    I assume the exception you are getting is a NullPointerException...
    When you applet is loaded, it is initialised with a call to init... the following will then occur...
    HelloWorld.init()
    writeman.paintit(f)
    // f has not been initialised, so is null
    brush.drawString("can u see me", 20, 20)
    // brush == f == null, accessing a null object causes a NullPointerException!
    The simplest way to rectify this is to not maintain your own reference to the Graphics object. Move the writer.paintit(f) method to the HelloWorld.paint(g) method, and pass in the given Graphics object. Also, change the paint(f) call in Changer to repaint(), which will cause the paint method to be called with a valid Graphics object - which will then be passed correctly to writer.
    Hope this helps,
    -Troy

  • Can anybody help me with this code?

    I am a beginner to J2ME. The following is a small program I wrote just for test.
    Theoretically, in my opinion, I shall see in the screen a number increase from 1 to 29999 rapidly after execute the code. But instead, it displays nothing but only displays 29999 after several seconds . Can some body point out what's wrong with this code? Thanks.
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    public class Test extends MIDlet{
    int x=1;
    String b="";
    private Display display;
    public Test() {
    display = Display.getDisplay(this);
    public void startApp() {
    MyCanvas mc = new MyCanvas() ;
    display.setCurrent(mc) ;
    while(x<30000){
    b=String.valueOf(x);
    mc.repaint();
    x++;
    public void pauseApp() {
    public void destroyApp(boolean unconditional) {
    class MyCanvas extends Canvas{
    public void paint(Graphics g){
    g.drawString(b,10,10,0);

    thanks, I have already got the answer. you are right, if repaint in a high speed the screen will show nothing. here is the code for it, thanks the expert of nokia forum.
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    //Counter
    //Need to know when a number has been painted and need to wait a for a fraction of a sec before
    //painting the next number. This wait also allows other events like "Exit" to be processed
    //Use double buffering to avoid flicker
    //Paint in a different thread to keep the UI responsive
    public class MyMIDlet extends MIDlet{
    int x=1;
    String b="";
    private Display display;
    Thread t = null;
    MyCanvas mc = null;
    public MyMIDlet() {
    display = Display.getDisplay(this);
    public void startApp() {
    mc = new MyCanvas();
    t = new Thread(mc) ;
    display.setCurrent(mc) ;
    b=String.valueOf(x);
    t.start();
    public void callbackPaintDone(){
    try{
    //provides the delay between every repaint and also time to react to Exit
    synchronized(this){
    wait(1);
    }catch(Exception e){}
    paintNextNumber();
    private void paintNextNumber(){
    if(x<30000){
    x++;
    b=String.valueOf(x);
    mc.doPaint = true; //signals that next number can be painted
    public void pauseApp() {
    public void destroyApp(boolean unconditional) {
    class MyCanvas extends Canvas implements Runnable{
    Image buf = null;
    Graphics bg = null;
    public boolean doPaint = true;
    public MyCanvas(){
    buf = Image.createImage(getWidth(),getHeight());
    bg = buf.getGraphics();
    public void paint(Graphics g){
    bg.setColor(255,255,255);
    bg.fillRect(0,0,getWidth(),getHeight());
    bg.setColor(0);
    bg.drawString(b,10,10,0);
    g.drawImage(buf,10,10,Graphics.TOP|Graphics.LEFT);
    // Callback for next number to be painted
    MyMIDlet.this.callbackPaintDone();
    public void run(){
    while(true){
    if(doPaint){ //only paints when a number has been painted, and next one is ready to be painted
    doPaint = false;
    repaint();
    serviceRepaints();

  • HELP!! Process exited with exit code 128.

    Hi all,
    I am using JDeveloper 10G to develop a struts project. I use the struts-tiles.tld to construct the layout.
    &lt;tiles:insert page="classicLayout.jsp" flush="true"&gt;
    &lt;tiles:put name="title" value="User and Assigned Role" /&gt;
    &lt;tiles:put name="header" value="menuTemplate.jsp" /&gt;
    &lt;tiles:put name="menu" value="TestPoint.jsp" /&gt;
    &lt;tiles:put name="body" value="ARM001800.jsp" /&gt;
    &lt;tiles:put name="footer" value="DebugPage.jsp" /&gt;
    &lt;/tiles:insert&gt;
    However, when I run the project, then the OC4J Server terminated with this error code : Process exited with exit code 128.
    What happen??
    PS: I tried to remove the last 2 tags: body and footer. The Server did not terminate, but with some exceptions which related to tiles library.

    This type of error may occur because of developers mistake.
    This error occurs when any function is called recursively in a loop.
    The server calls the same function again and again in a loop and hence the server goes in infinite loop. This gives the error "Process exited with exit code 128".
    You need to check your code thoroughly for such mistake.
    Nital.
    i-engineering.com

  • JScrollPane, what is wrong with my code?

    Hi, I appreciated if you helped me(perhaps by trying it out yourself?)
    I wanted my JScrollPane to display what is drawn on my canvas (which may be large)by scrolling, but it says it doesn't need any vertical and horizontal scroll bars. Here is the code that has this effect
    import javax.swing.*;
    import java.awt.*;
    public class WhatsWrong extends JApplet{
    public void init(){
    Container appletCont = getContentPane();
    appletCont.setLayout(new BorderLayout());
    JPanel p = new JPanel();
    p.setLayout(new BorderLayout());
    p.add(new LargeCanvas(),BorderLayout.CENTER);
    int ver = ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED;
    int hor = ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED;
    JScrollPane jsp = new JScrollPane(p,ver,hor);
    appletCont.add(jsp,BorderLayout.CENTER);
    class LargeCanvas extends Canvas{
    public LargeCanvas(){
    super();
    setBackground(Color.white);
    public void paint(Graphics g){
    g.drawRect(50,50,700,700);
    and the html code:
    <html>
    <body>
    <applet code="WhatsWrong" width = 300 height = 250>
    </applet>
    </body>
    </html>
    What shall I do?
    Thanks in advance.

    What is wrong with your code is that your class, LargeCanvas must implement the Scrollable interface in order to be scrolled by a JScrollPane.
    A comment regarding your use of Canvas and Swing components: The Java Tutorial recommends that you extend JPanel to do custom painting. Canvas is what they call a "heavyweight" component and they recommend not to mix lightweight (Swing) components and heavyweight components.
    There is a lot more information on custom painting on the Java Tutorial in the Lesson "Creating a GUI with Swing.

  • I cannot insert a graphic image in a new composition: win 7, tb 24

    At times when composing a new e-mail I cannot insert a graphic image in the message. I have tried both the Insert button and the Insert icon. This does not happen all the time; but, when it does happen I can't seem to make it work. My system is a Win 7 with Thunderbird 24.3.0.5. I have tried inserting different graphic images and have tried all combinations in the Image Properties pop-up window.
    I have closed and reopened Thunderbird. I have restarted my system. I have closed all windows except Thunderbird. Nothing helps. Help! Thank you, Bill Gray

    Bill Gray here again. I find that if I open another Write window, then copy/paste my entire e-mail from the initial window -- I can insert graphics into the new window.
    What happens in Thunderbird to make this happen? This has happened a number of times. But, at least now I know that I can open a new Write window and get around the problem. Yet, I am still stuck with the nagging question: Why does this happen?
    Thank you and God bless, Bill Gray

  • Problem with ALT codes on Apple Wired Keyboard

    May I just note, I have posted this in the "Boot Camp" forum, but run the normal Windows 7 on my computer. I was unable to find a forum purely for Apple hardware.
    I am using a Apple Wired Keyboard (MB110B/B) -- British-bought -- on a Windows 7 PC, and I are having some issues with ALT codes. The array of symbols I have to type (pi, sigma, etc) becomes tiresome to insert via the Character Map (on Win7). Basically, entering "alt" (left handside) then 227 does not insert "π" but rather "Ò". alt + 228 (Σ) inserts õ
    I don't know if this problem is common for Apple keyboard users on Windows, but is there a way to alter this.
    Thanks, Jordan.

    For a third opinion, be cautious of using a dishwasher as the temperature can get pretty high. If the spill is on the 456 on the number pad, you can try holding the keyboard vertically, soak just that part in distilled water for several minutes to disolve the spill material. Run some denatured (rubbing) alcohol over the numpad, then dry with a hair dryer.
    You could also try to remove the key caps...slip dental floss under the key caps in two loops, one from the top one from the bottom. Pull the key caps off one at a time, the wipe the area clean...see if there is any material sticking that needs to be cleaned off.
    I do not know what keyboard you have or how it does the switching, but most keyboards today do not use mechanical switches. The switches are sealed capacitance switches so if you clean all the material from the keyboard it may work again.
    Or, if you don't feel like going to this much trouble, a visit to your friendly Apple Retailer to purchase a new one may be a good idea.

  • Should I do this with Java Code or Stored Procs ? (for best performance)

    Hi All,
    I need to decide where should I implement my business logic, in Java code or Stored procs.
    Here is the requirement :
    - One Order has 70 products (Order_Table )
    - Can be duplicate products, so I have to do summarize / grouping by product
    - For every product, I have to check, if it is entitled for a Bonus product, then I have to Insert one to Bonus_Table.
    - This is done when/after the transaction is SAVED (COMMIT)
    The question is, which one has better PERFORMANCE :
    (1) Create a rowsetIterator on the Order details (70 products) and call a stored procedure to do the logic for every single product (so that the Insert to Bonus_Table done in stored proc). means the stored proc will be called 70 times.
    OR
    (2) After the transaction is COMMITted, call the stored procs ONCE to do the logic for all the products at once.
    OR
    (3) I do all the logic with Java Code within ADF
    Given the requirement above, which approach is most efficient / best performance ?
    Thank you very much,
    xtanto

    Problem with this is that you ask 100 people and you probably get 100 different answers. ;o)
    Many would say that you push as much business logic into the database with your data; others might say you only put data in your database and your business logic is kept on the application server.
    In reality your would probably have a mix of both and your decision would probably be influenced by your own background ...
    Can't be more precise than that.
    Grant

  • Cannont update E70 nad bug with phone code after b...

    launch NokiaSoftwareUpdate v1.4.39pl
    accept and start update to software 3.0633.09.04 ( using USB cable)
    time remaning 15 mintes ... nokia have white screen , during proceed to 9 minutes , and e70 is reset after reset , on e70 screen show :
    AFE_TEST_SERVER ,w19_06,(c) NMP
    test mode
    nokia
    update show information with 2 steps about put out a battery ,
    after hard reset phone is run but its a problem with PHONE CODE
    after i configure a phone i change default code to my code xxxxxx
    but after bad update code is reset to unknown code
    other bug i found my personal code enter when i change a phone code and enter twice new code show me msg error [-6]
    but old code enter correctly becouse if i use another code then after put twice new code show me message a invalid code .

    Can you please try generating and re-inserting the FB code on your page. The FB Likebox at the above link doesn't load for me from any of the mobile devices nor through a desktop. You can get the code here.
    https://developers.facebook.com/docs/reference/plugins/like-box/
    I was referring to the following Facebook Page URL that you are currently pulling the Streams and Likes for - http://www.facebook.com/phillyweddingdj which appears to be invalid. If you generate the code for it at the above mentioned plugin page, the preview doesn't generate. Visiting this link takes you to FB homepage instead.
    This is how the Likebox code should look like with minimum customization that you need to insert through Object -> Insert HTML option, notice the highlighted part that needs to be modified with a valid FB Page URL:
    <div id="fb-root"></div>
    <script>(function(d, s, id) {
    var js, fjs = d.getElementsByTagName(s)[0];
    if (d.getElementById(id)) return;
    js = d.createElement(s); js.id = id;
    js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
    fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));</script>
    <div class="fb-like-box" data-href="http://www.facebook.com/myfbpage" data-width="292" data-show-faces="true" data-stream="true" data-header="true"></div>
    </div>
    Thanks,
    Vinayak

Maybe you are looking for