Updating image

I am having problems with following code
I need to create a mehod outside the GUi class constructor which will update the pic JPanel.
The update will just write numbers on top of the displayed picture on the Jpanel pic.
Sorry for the mess
import java.awt.event.*;
import javax.swing.*;
import java.awt.*;
public class GUI extends JFrame
final ImageIcon icon;
JPanel pic,menu, input;     
JTextArea area;
JTextField tf;
String tfs="";//string received from Text field
boolean Enter;//is true when user enters something.
int gameStage=0;//This variable represents the different game states
//0=the start getting no. of players.
//1=getting names of the players
//2=Occupying territory at the start of the Game
//3=Start of the turn
//4=Game finished player who rules all the map wins unless someone has left the game in which case player with most countries wins
public GUI()     {
super(" RISK-The world conquest game");                    
     army= new armies();
     Enter=false;
     icon = new ImageIcon("Risk.jpg");
     //initialise the three Panels
     //add Risk map to the Panel pic
     pic = new JPanel()     {               
public void paintComponent(Graphics g){     
          Dimension d = getSize();                    
g.drawImage(icon.getImage(), 0, 0, d.width, 402, null);     
          setOpaque( false );                    
super.paintComponent(g);          
     //add a textarea to the Menu Panel     
     menu=new JPanel();
     area=new JTextArea(8,71);
     area.setEditable(false);
     menu.add(area);
     //add a textfield to the Input Panel     
     input=new JPanel();
     tf=new JTextField(71);
     tf.addActionListener(new textListener());
     input.add(tf);
     //give the Panels a Border
     pic.setBorder(BorderFactory.createCompoundBorder(
BorderFactory.createLineBorder(Color.black),
pic.getBorder()));
menu.setBorder(BorderFactory.createCompoundBorder(
BorderFactory.createLineBorder(Color.black),
menu.getBorder()));
input.setBorder(BorderFactory.createCompoundBorder(
BorderFactory.createLineBorder(Color.black),
input.getBorder()));
     //Inititalise the Frame
     //add Panels to Frame
     Dimension size;
     //add menu
     getContentPane().add(menu);
     size=menu.getPreferredSize();
menu.setBounds( 0,404, size.width,size.height);
//add input
getContentPane().add(input);
size=input.getPreferredSize();
input.setBounds( 0,542, size.width,size.height);
//add Pic
     getContentPane().add(pic, BorderLayout.CENTER);
class textListener implements ActionListener{
public void actionPerformed(ActionEvent evt){
//textfield.getText();
Enter=true;
tfs=tf.getText();
tf.setText("");
}

HERE'S A SHORTHER VERSION EASIER TO THE EYES
import java.awt.event.*;
import javax.swing.*;
import java.awt.*;
public class GUI extends JFrame
final ImageIcon icon;
JPanel pic,menu, input;     
JTextArea area;
JTextField tf;
public GUI()     {
super(" RISK-The world conquest game");                    
     icon = new ImageIcon("Risk.jpg");
     //initialise the three Panels
     //add Risk map to the Panel pic
     pic = new JPanel()     {               
public void paintComponent(Graphics g){     
          Dimension d = getSize();                    
g.drawImage(icon.getImage(), 0, 0, d.width, 402, null);     
          setOpaque( false );                    
super.paintComponent(g);          
     //add a textarea to the Menu Panel     
     menu=new JPanel();
     area=new JTextArea(8,71);
     area.setEditable(false);
     menu.add(area);
     //add a textfield to the Input Panel     
     input=new JPanel();
     tf=new JTextField(71);
     tf.addActionListener(new textListener());
     input.add(tf);
          getContentPane().add(menu);
     size=menu.getPreferredSize();
menu.setBounds( 0,404, size.width,size.height);
//add input
getContentPane().add(input);
size=input.getPreferredSize();
input.setBounds( 0,542, size.width,size.height);
//add Pic
     getContentPane().add(pic, BorderLayout.CENTER);
class textListener implements ActionListener{
public void actionPerformed(ActionEvent evt){
//textfield.getText();
Enter=true;
tfs=tf.getText();
tf.setText("");
}

Similar Messages

  • Updated image is not continuing with the State Restore Phase

    MDT 2010 Update 1
    Our MDT guru quit about a month ago.   I've done basic stuff here and there
    But have never updated an image..
    1.  I deployed our current image to a Vmware workstation.  Added about 200 updates. Nothing else done.
         I than rebooted and logged in as local admin and ran litetouch.wsf in a command prompt.
         And ran the "Sysprep and Capture image" task sequence.
         This sysprep'd and imaged with no errors to the captures folder.
    2.  I than moved that updated image to the "Operating Systems" folder on the deployment share.  Renamed the old .wim file and renamed the new one to be the same as the old one..    (Not completely sure this is the correct
    way to do this)  But couldn't find any info on how this is done)
    I than proceeded to reimage a machine with the updated .wim.
    It gets all the way to the State Restore phase and just stops.   After the final reboot.  I logon with the local admin account as usual and it does not continue.   the Minint and _SMSTaskSequence folder are still there..  If
    I let it set for hours nothing happens...
    I compared the BDD.log file for both images.    They seem to be identical up until the State Restore phase is supposed to start.
    I see NO errors in the BDD log file...
    So I am lost as in what to do to try and remedy this issue..
    Info From Sharepoint

    Its the new WIM that is not continuing...
    I did try the import.   and it did the same thing.
    here is the ending of the BDD.log file
    ZTIConfigure COMPLETED.  Return Value = 0    ZTIConfigure    4/22/2014 12:00:53 PM    0 (0x0000)
    ZTIConfigure processing completed successfully.    ZTIConfigure    4/22/2014 12:00:53 PM    0 (0x0000)
    Microsoft Deployment Toolkit version: 5.1.1642.01    ZTIdrivers    4/22/2014 12:00:53 PM    0 (0x0000)
    The task sequencer log is located at X:\windows\TEMP\SMSTSLog\SMSTS.LOG.  For task sequence failures, please consult this log.    ZTIdrivers    4/22/2014 12:00:53 PM    0 (0x0000)
    Write all logging text to \\bimaemg1mdtx64\deploymentshare$\MININT-C1QJ4FN    ZTIdrivers    4/22/2014 12:00:53 PM    0 (0x0000)
    Validating connection to \\bimaemg1mdtx64\deploymentshare$\MININT-C1QJ4FN    ZTIdrivers    4/22/2014 12:00:53 PM    0 (0x0000)
    Already connected to server bimaemg1mdtx64 as that is where this script is running from.    ZTIdrivers    4/22/2014 12:00:53 PM    0 (0x0000)
    No driver copying needs to be performed during the Lite Touch postinstall phase.    ZTIdrivers    4/22/2014 12:00:53 PM    0 (0x0000)
    Updating downlevel OS configuration.    ZTIdrivers    4/22/2014 12:00:53 PM    0 (0x0000)
    Vista identified, skipping update of Device Path    ZTIdrivers    4/22/2014 12:00:53 PM    0 (0x0000)
    ZTIdrivers processing completed successfully.    ZTIdrivers    4/22/2014 12:00:53 PM    0 (0x0000)
    Microsoft Deployment Toolkit version: 5.1.1642.01    ZTINextPhase    4/22/2014 12:00:53 PM    0 (0x0000)
    The task sequencer log is located at X:\windows\TEMP\SMSTSLog\SMSTS.LOG.  For task sequence failures, please consult this log.    ZTINextPhase    4/22/2014 12:00:53 PM    0 (0x0000)
    Write all logging text to \\bimaemg1mdtx64\deploymentshare$\MININT-C1QJ4FN    ZTINextPhase    4/22/2014 12:00:53 PM    0 (0x0000)
    Validating connection to \\bimaemg1mdtx64\deploymentshare$\MININT-C1QJ4FN    ZTINextPhase    4/22/2014 12:00:53 PM    0 (0x0000)
    Already connected to server bimaemg1mdtx64 as that is where this script is running from.    ZTINextPhase    4/22/2014 12:00:53 PM    0 (0x0000)
    Property PHASE is now = STATERESTORE    ZTINextPhase    4/22/2014 12:00:53 PM    0 (0x0000)
    ZTINextPhase COMPLETED.  Return Value = 0    ZTINextPhase    4/22/2014 12:00:53 PM    0 (0x0000)
    ZTINextPhase processing completed successfully.    ZTINextPhase    4/22/2014 12:00:53 PM    0 (0x0000)
    Property DestinationLogicalDrive is now =     LiteTouch    4/22/2014 12:00:53 PM    0 (0x0000)
    LTI initiating task sequence-requested reboot.    LiteTouch    4/22/2014 12:00:53 PM    0 (0x0000)
    Info From Sharepoint

  • For all Jedi Masters: How can I update images in ScrollingImagePanels ?????

    I have posted an old topic but now i understand my error.
    Please people!!!! I think it is very simple, but i am not getting results at updating images in ScrollingImagePanels.
    My ScrollingImagePanel in a JInternalFrame, and the JInternalFrame is in a JDesktopPane.
    In my code i try to remove the actual ScrollingImagePanel and create a new other. But the are no references to the ScrollingImagePanel in the else block. The code doesn't compile. Please, see the code below for a good compreension:
    public void atualiza(){
    if (ziboro == false){ //no images displayed yet
         ziboro = true;     
         JInternalFrame teste = new JInternalFrame("teste",true,true,true,true);
    teste.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
    teste.addInternalFrameListener(this);
    teste.setLocation(10,10);
    teste.setSize(new Dimension(200,200));
    ScrollingImagePanel FlipVPanel = new ScrollingImagePanel(imagemBufa, 800, 800);
    teste.getContentPane().add(FlipVPanel);
    displayPanel.add(teste);
    teste.setVisible(true);
    teste.moveToFront(); return;
    else{
    System.out.println("Jedi!");
    teste.getContentPane().remove(FlipVPanel);//This part is my problem
    ScrollingImagePanel FlipVPanel = new ScrollingImagePanel(imagemBufa, 800, 800);
    teste.getContentPane().add(FlipVPanel);
    teste.setVisible(true);
    teste.moveToFront();
    return;
    Thank you for your atention!
    Poxa se vc entende portugu�s e quiser e souber me ajudar eu ia ficar agradecido pra caramba!

    Ah! I'm sorry. Probably I couldn't explain you my problem. So let me give you some background.
    We used to generate the preview of all the pages in an InDesign document using the export functionality. But we found that, it's a slow process especially when the document uses images that are huge in size (can even be 2 or more GB). So we decided that since InDesign already has the preview (we can see this even the image link is broken), why shouldn't we use this?
    But while doing this, I realized that I can't get the preview of other pages except the first page.
    So, can we say the script can't generate preview images of all the pages (I'm not talking about the individual images placed in a page), or the script is OK but it can do that only for CS5?
    Best Regards,
    -Arafat

  • How do I correctly update images on my Gallery page in Adobe Muse 2011-2013?

    I am trying to update images on my Gallery page  at: www.glennmcfall.com. When I add new images those new images are not active. When I click on the thumbnail (when I use Preview Page in Browser) the slideshow image appears , when I click on that image a larger image or video should appear but doesn't. I noticed when an image is active an image of a hand appears when hovering over the art/photo/video but this hand does not appear when I am trying to access the largest image. What do I need to do to correct this? I am using Adobe Muse 2011-2013 version.

    Hi
    Can you provide steps to follow for replication ?
    I checked the site , but which thumbnails exactly shows this behavior etc ?
    Thanks,
    Sanjit

  • Updating images in Indesign

    Is it  > really < necessary to manually update images in Indesign when you have changed them? If you have changed a batch can you not just auto update the way you always could in that thing we used to use??
    Thanks!

    I'm having the same exact problem, except in CS6- probably the same program. I'm updating everything now, I'll let you know how it goes.

  • How  to update image in adobe form

    Good Day
    I am trying to update image in adobeform. i used object library->image->and double clicked it and i got a popup and given the path. i got my image there
    but when i am running my adobeform in url  I am unable to see the image on it.  is it  because the path is from my desktop.  there is no binding done with any field on the context of adobeform.. do i need to upload the image in se78 and then do binding....
    pls help
    Regards

    hi battula,
    1.upload the image in se78
    2.Get the xstring of image by function module
    data img_ x_string type  xstring.
    data img_string type string.
    CALL METHOD cl_ssf_xsf_utilities=>get_bds_graphic_as_bmp
       EXPORTING
         p_object       = 'GRAPHICS'    " SAPscript Graphics Management: Application object
         p_name         =  'LOGO'   " Name of image
         p_id           =  'BMAP'   " SAPscript Graphics Management: ID
         p_btype        =  'BCOL'   " SAPscript: Type of graphic
       RECEIVING
        p_bmp          =    img_x_string.
    and convert this xstring to string by function module
    CALL FUNCTION 'SSFC_BASE64_ENCODE'
                     EXPORTING
                       bindata                        = V_FIELD
    *                BINLENG                        = BINLENG
                    IMPORTING
                      B64DATA                        =  img_string.
    *               EXCEPTIONS
    *                 SSF_KRN_ERROR                  = 1
    *                 SSF_KRN_NOOP                   = 2
    *                 SSF_KRN_NOMEMORY               = 3
    *                 SSF_KRN_OPINV                  = 4
    *                 SSF_KRN_INPUT_DATA_ERROR       = 5
    *                 SSF_KRN_INVALID_PAR            = 6
    *                 SSF_KRN_INVALID_PARLEN         = 7
    *                 OTHERS                         = 8
    3.bind the img_string to imageField in  adobe form ..
    if you want to update image then update image in se78 keeping name same.
    4.and write also javascript code
    on initialization event of ImageField
    this.access = "readOnly";
    hope it will help.
    regards
    Jitendra..

  • Iphoto updating images from Mac to iPad

    Hi
    When I have edited photos on my mac in iPhoto, I then plug in my iPad to sync the new edited photos into the same event, but the updated images that I have edited will not update on the iPad? It used to do this but not anymore, not sure if I have done something on my syncing, of which I get really confused with.
    Thank you
    Sheena

    This is a long shot but close iPhoto, go to your Pictures folder and open the iPhoto package with the Finder as shown in this screenshot
    Look for a folder named iPod Photo Cache
    Move it to the Trash in the Dock. That's a folder that will be recreated then next time you sync.
    Launch iPhoto and try syncing the iPad again.

  • Passing values to next page on Update image click?

    Hi Everyone,
    I have developed one OAF page which has onw table data to show. The last column is Update Image icon.
    Columns are like this: Eno, enmae, comm, address, salary, update.
    On clicking on update icon on any row the corresponding Eno and Ename should be passed to next Update page and these two values has to be displayed on teh Update page.
    How can i do that?
    Please help...
    Thanks.

    PPR event on Update Image would do the magic for you.
    Go to the properties of the Image icon and select below
    1) Action Type : fireAction
    2) Event : updateEmp (This event needs to be captured in the page CO)
    3) Parameters :
    a)pEmpNo : ${oa.current.EmpNoID} (EmpNoID is the view attribute for Employee Number. You keep proper name of your VO attribute here)
    b)pEmpName : ${oa.current.EmpName} (EmpName is the view attribute for Employee Name. You keep proper name of your VO attribute here)
    c) Add more parameters if you want to pass maore
    4) In processFormRequest of the page catch the event 'updateEmp' and forward to the next page
    String eventRaised = pageContext.getParameter("event");
    if ("updateEmp".equalsIgnoreCase(eventRaised)) {
    HashMap actionHashMap = new HashMap();
    String pEmpNo= pageContext.getParameter("pEmpNo");
    String pEmpName = pageContext.getParameter("pEmpName");
    actionHashMap.put("pParamEmpNo", "{!!" + pageContext.encrypt(pEmpNo)); --always encrypt
    actionHashMap.put("pParamEmpName", "{!!" + pageContext.encrypt(pEmpName ));
    pageContext.setForwardURL(include the next page function/URL and other parameters along with actionHashMap);
    5) In the next page CO, get the passed parameters in processRequest using
    String pEmpNo= pageContext.getParameter("pParamEmpNo");
    String pEmpName = pageContext.getParameter("pParamEmpName");
    --Do your other stuff on how to use these parameters
    Hope this will direct you properly.
    Regards,
    Peddi

  • Best way to update images using PHP / MySQL?

    HI
    I want to update images using PHP/MySQL, so users can update their images and maybe some other files but mainly images.
    thanks

    How messed up is this code?!
    <?php
    //connect to database
    $con = mysql_connect("testhost","testuser","pass");
    // file properies
    $file = $_FILES['image']['tmp_name'];
    if (!isset($file))
    echo "please select an image";
    else {
        $id = $_REQUEST['id_display'];
        $image = ($_FILES['image']['tmp_name']) ? file_get_contents ($_FILES['image']['tmp_name']) : '';
        $image_name = ($_FILES['image']['name']) ? addslashes($_FILES['image']['name']): '';
        $image_size = ($_FILES['image']['tmp_name']) ? getimagesize($_FILES['image']['tmp_name']): '';
        if ($image_size == FALSE)
        echo "You have not selected an image.";
        else {
            mysql_select_db("test_display", $con);
            mysql_query("UPDATE testtable SET image = '$image', imagename = '$image_name' WHERE id_display='$id'");
    ?>
    And the upload page....
    /*Update code */ /*End update code */                            

  • Please Great Masters: how to update images in ScrollingImagePanels ????????

    I have posted an old topic but now i understand my error.
    Please people!!!! I think it is very simple, but i am not getting results at updating images in ScrollingImagePanels.
    My ScrollingImagePanel in a JInternalFrame, and the JInternalFrame is in a JDesktopPane.
    In my code i try to remove the actual ScrollingImagePanel and create a new other. But the are no references to the ScrollingImagePanel in the else block. The code doesn't compile. Please, see the code below for a good compreension:
    public void atualiza(){
    if (ziboro == false){ //no images displayed yet
    ziboro = true;
    JInternalFrame teste = new JInternalFrame("teste",true,true,true,true);
    teste.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
    teste.addInternalFrameListener(this);
    teste.setLocation(10,10);
    teste.setSize(new Dimension(200,200));
    ScrollingImagePanel FlipVPanel = new ScrollingImagePanel(imagemBufa, 800, 800);
    teste.getContentPane().add(FlipVPanel);
    displayPanel.add(teste);
    teste.setVisible(true);
    teste.moveToFront(); return;
    else{
    System.out.println("Jedi!");
    teste.getContentPane().remove(FlipVPanel);//This part is my problem
    ScrollingImagePanel FlipVPanel = new ScrollingImagePanel(imagemBufa, 800, 800);
    teste.getContentPane().add(FlipVPanel);
    teste.setVisible(true);
    teste.moveToFront();
    return;
    Thank you for your atention!
    Poxa se vc entende portugu�s e quiser e souber me ajudar eu ia ficar agradecido pra caramba!

    I have posted an old topic but now i understand my
    error.
    Please people!!!! I think it is very simple, but i am
    not getting results at updating images in
    ScrollingImagePanels.
    My ScrollingImagePanel in a JInternalFrame, and the
    JInternalFrame is in a JDesktopPane.
    In my code i try to remove the actual
    ScrollingImagePanel and create a new other. But the
    are no references to the ScrollingImagePanel in the
    else block. The code doesn't compile. Please, see the
    code below for a good compreension:
    public void atualiza(){
    if (ziboro == false){ //no images displayed yet
    ziboro = true;
    JInternalFrame teste = new
    JInternalFrame("teste",true,true,true,true);
    teste.setDefaultCloseOperation(WindowConstants.DISPOSE_
    N_CLOSE);
    teste.addInternalFrameListener(this);
    teste.setLocation(10,10);
    teste.setSize(new Dimension(200,200));
    ScrollingImagePanel FlipVPanel = new
    ScrollingImagePanel(imagemBufa, 800, 800);
    teste.getContentPane().add(FlipVPanel);
    displayPanel.add(teste);
    teste.setVisible(true);
    teste.moveToFront(); return;
    else{
    System.out.println("Jedi!");
    teste.getContentPane().remove(FlipVPanel);//This part
    is my problem
    ScrollingImagePanel FlipVPanel = new
    ScrollingImagePanel(imagemBufa, 800, 800);
    teste.getContentPane().add(FlipVPanel);
    teste.setVisible(true);
    teste.moveToFront();
    return;
    Thank you for your atention!
    Poxa se vc entende portugu�s e quiser e souber me
    ajudar eu ia ficar agradecido pra caramba! Ol� Ninja.
    N�o testei isto que te vou dizer, mas parece-me que o problema � o seguinte:
    Tens um if onde declaras a vari�vel local "ScrollingImagePanel FlipVPanel". Ora, o que acontece � isto, "if(ziboro == true)" o programa salta para o "else", ou seja, n�o leu "ScrollingImagePanel FlipVPanel = ...", logo n�o sabe o que � o "FlipVPanel". A solu��o passa, parece-me, por definir FlipVPanel a um n�vel mais elevado, talvez como membro da classe.
    Experimenta isto; se n�o resultar, avisa.

  • How can I force update image sequences?

    I am using Premiere to composite various image sequences from a 3D program, Blender.  Many times I export a draft version from Blender, import the sequence to Premiere, place it in the time line, then I find that I want to make some changes in Blender and re-render some of the frames.  Of the frames that I re-render, Premiere only updates some of them.
    I did a test where I re-rendered a section with a different background color to the scene.  In Premiere it updated the first three frames, then the fourth was the old image, 5th and 6th were new, 7th was old, 8th and 9th were new, and so on.  It did this for the entire updated image sequence, using a combination of old and new frames.
    I did the above test three times.  The first time I saw mixed frames, the second time everything imported fine, the third time I got the mixed frames again.
    If I restart premiere, then it goes through the "media pending" screen for all of my media and it then shows the correct updated frames, but that would be inconvenient to have to restart premiere every time I want to see my new frames.
    I am using Premiere Pro CS5.0.3, on a 2.66 Ghz Quad-Core Mac Pro with 8GB of RAM.  The files are located on an eSATA RAID 5 array.
    Is there a way I can force Premiere to update the frames in the image sequences?
    Does anyone else have these problems?  What do you do when dealing with many image sequences that you update frequently?
    Thanks for any help.

    Is there a way I can force Premiere to update the frames in the image sequences?
    Three choices.
    1. Don't leave Premiere open while rendering in another
    application (this is what I do).
    Overwritten files will update when you launch Premiere.
    2. Right-click your image sequence in the Project window,
    select "Make Offline...>Media Files Remain on Disk>OK.
    Then, right-click your image sequence in the Project window,
    select "Link Media...
    3. Close then re-open your project without exiting Premiere.
    File>Close (Ctrl>W), then re-open same project.

  • Any way for one VI to dynamically update images shown in another VI's Image Display control?

    I've just discovered (in LV v7.0) that, while I can wire to it, I cannot write image data to a "value" input terminal of a property node associated with an Image Display. When the VI runs I get this error:
    "IMAQ Vision: (Hex 0xBFF6051A) The Image Display control does not support writing this property node."
    (I must admit that I have to wonder why we are allowed to wire to it, if all it does is generate this error)
    Is there any way for one VI to dynamically update images shown in another VI's Image Display control?
    I am not interested in using IMAQWindDraw windows.

    OK, I have found one way to simultaneously access one VI's image data within another VI without the use of globals. I don't know if it makes use of a known feature of image data that will be with us forever or if it is a bug that will disappear sometime in the future...
    It seems that if I create an image data stream in one VI using IMAQ CREATE and name the data stream "ABC" and then create an image data stream in another VI using IMAQ CREATE and also name that data stream "ABC" then in fact they are both the same data streams and they can be read or written by either VI.
    Using this feature I can write the common data stream in one VI and using a shared occurrence or semaphore let the other VI know when it is OK to display the data from the common stream.
    This method requires that the displaying VI needs to have a while loop around the image display which is not nearly as simple as a display that is updated automagically by another VI writing to a VALUE input that is referenced back to the Image Display. I'd still like to know if there is some way to make that work.
    One corollary to this is that if you have several image data streams in use in a system (they can be in totally separate VI's, running independently) and you don't want them tromping on each other's image data then you need to make sure that they (the image data streams) get created with different names. An example of a place where this might bite you (and where I discovered this "feature") is to have multiple copies of the same VI with different names to do image acquisition and display from multiple cameras. Being copies of the same VI, they all had the same image data stream names, defined as constants, within them. When they were run simultaneously, the image data from all of the multiple cameras randomly appeared in all of the image displays. I don't know if this feature would hold up if the separate VI's were turned into separate executables and then run. Do any of you know if this sharing of image data streams with common names works across executables running on the same machine?

  • Can I create a template PDF (or other file) in InDesign, that my client can update images in?

    I've designed a brochure for a client, and they would like to know if I can make a version where they will be able to swap out the images (and text) to update it for future projects.
    This is perfectly fine by me, as I am taking on other clients and may not be able to do this for them in the future. I also know how to create the text in this way, as I can set up each header and body as a separate "form" they can fill in with Reader and save... however, I don't know how to make it possible for them to edit/replace the images without them having something like Acrobat.
    Is it possible to create an interactive frame they can "upload" an image to and then save the PDF? They are a small business, so I'd rather not tell them they have to buy additional software. I'd also like to make it as easy for them as possible.
    I am also aware, however, that even if an image can be embedded, a PDF may not be able to resize an image to fit within such a frame. I can, however, write an exe that will resize the images for them if needed. I just don't know how to get them into the PDF...
    A template like this would probably be simple in HTML, but unfortunately the design of the brochure is beyond my ability to reproduce in Dreamweaver, and I also assume printing an HTML document would be a nightmare for the print shop lol.
    Thank you for any help or answers, they are much appriciated

    You can use the same forms method for images, but it gives you no control over postioning in the frame or scaling/cropping.
    The bottom line here really is that this kind of editing should be done in ID, and if they want to do it they probably should invest in a license, even if it's just a month-to-month subscription when they need it.

  • How to update image files in web pages generated by servlet without redeploying

    HI,
    I have a servlet which generates html pages with images. Those images changes
    as they are graph generated regularly. They are placed in s directory where the
    application is deployed. It is necessary because I have made some security constraints
    for the location of those files. However it seems that when I deploy my application
    on WLS all files contained in the application directory are cached, and when for
    ex. I delete some of them they are still appear in generated html pages. only
    Redeployment of application updates the state of those files.
    Is there a way to make the application to be aware of any changes in images files
    and to load updated ones??
    i would be interested in a situatioin like with default WLS servelt (DefaultWeb
    Application) where any new files are seen as soon as they are placed in Default
    WebApplication directory.
    Is there a way to periodically redeploy application from CLI?
    thx in advance
    Michal

    889096 wrote:
    Hello!
    In SQL Developer when we run htp package then we see the generated code in OWA Output, But how to invoke or show the webpage by Oracle tools/plsql program.
    and
    Without copying the code and save it to textfile.html and open it with browser.
    I heard it is possible by configuring Apache server.
    Please give me brief details, as i am beginner with ORACLE 10g
    And
    If you are using the htp package, you are presumably developing for an application server? Can the people who set that up not help you with your development environment?
    Setup is too complicated to cover here. Check out the Oracle HTTP Server documentation on oracle's documentation pages.
    Briefly, you need to install Oracle HTTP Server and then configure a data access desciptor to connect to your database.
    How to see the generated code in "QUEST TOAD"? I am not able to see OWA output in TOADYou will have to ask this question in a Toad forum.

  • Update images in an HTML overlay

    I edited the images in my HTML overlay, but the filenames are the same. Is there a clever way to force Content Viewer to update the images?

    I edited the images in my HTML overlay, but the filenames are the same. Is there a clever way to force Content Viewer to update the images?

  • Updating images on a second monitor

    I am sending 4 different fringe patterns to a second monitor using a VI whose front panel I've configured to open on that monitor.  I'm then using a camera to capture these images. This works reasonably well with the exception that I am limited to updating the image every 200 millisecs before the camera image quality begins to degrade,although not all images are affected int he same way. The resolution on my second monitor is set to 1280 x 720 and the refresh rate is 60Hz. My graphics card is an nVidia K2000 quadro. 
    Ideally I would like to update the image every 100msecs and still obtain acceptable image quality. Any suggestions as to how I might be able to speed up my image display and capture without image degradation?  
    Thanks LW   
    Attachments:
    RIM_GetImages.vi ‏23 KB
    Fringes.docx ‏601 KB

    I'm not sure that I understand your suggestion. I am using the image in the subVI to display my fringe pattern on a second monitor. I don't want to create an image of my subVI front panel or save it anywhere. The for next loop in my subVI displays my sequence of fringe patterns in the image window which is expanded to fill the whole of the monitor. My second monitor is a pattern generator in effect.
    There seems to be a limit as to how fast I can update the displayed image before I start to see image corruption from the camera. As of now I'm not sure what the root cause is. It could be that LV takes some time to send the image to the monitor, maybe it's windows not responding in a timely fashion to an instruction to update the image, maybe the it's the camera, the graphics card or the fact I'm using a subVI. Given that computer games must be updating monitors at high frequencies routinely I'm puzzled as to why a monitor update rate greater than once every 200 millisecs should be causing me problems. 
    Is there a way that LV can write an image directly to a monitor and bypass any delay brintroduced by windows?

Maybe you are looking for

  • My iphone 5 is not charging

    My iphone 5 is not holding a charge at all. 1 month old

  • RCA to iphone cable question.

    I'm looking for anyone who might have any advice on this item: http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&ssPageName=STRK:MEWAX:IT&item=2703 23357361 I have aux input for my car's stereo and would like to use the cable for charger and stereo input

  • Cloning of database to same host give error, unable to re-create online log

    clone the database to same host oracle version: 9.2.0.5 os HP target db: tardb catlog catlog auxiliary: auxbr After running this script, I am getting error unable to re-create online log. RMAN-00571: ==================================================

  • JAXM: SOAP evelope format

    My web service requests a soap envelope like the one below: <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.or

  • Photoshop CS5 on a 32 bit PC

    Isn't it possible to install the Photoshop CS5 on a computer running a 32 bit Windows 7?