Show an image created in an applet

Hello all,
I do an applet that creates me an image in a BufferedImage. The problem I has, is that I wanto to show the image in a new webBrowser and I don't want to certificate the applet so I don't want save the image to my disk an then shows What I would have to do? Upload it to the web server? How can I do this?

I Too Suffering from the same problem. If any One Have the solution to the problem then please help me

Similar Messages

  • Really need to show an image in this applet...

    Hi,
    I need to display an image in my applet as a sort of "Start Screen" like you get on games.
    But I'm damned if I can get it to work, my tutor provided the unifinished shell of a program, and it seems that I need to display this image before any... panels.. or whatever it is... are initiated. So I could either create a new one, just to show this image, then make it go away when the image does, or, have it popup as part of a message box, or something.
    I stumbled on a splash screen feature, found in Java 1.6, but although I'm using 1.6, my university still uses 1.5, so it's a no go.
    Ideally, it would be a popup window I think, more like a fancy about box than a title screen. But I don't know how to do that either, so any help would be greatly appreciated ^^
    Thanks

    Look into addNotify() and MediaTracker.

  • Create Image from Stream in Applet via Servlet

    First of all, I apologize if this isn't posted to the proper forum, as I am dealing with several topics here. I think this is more of an Image and I/O problem than Applet/Servlet problem, so I thought this forum would be most appropriate. It's funny...I've been developing Java for over 4 years and this is my first post to the forums! :D
    The problem is I need to retrieve a map image (JPEG, GIF, etc) from an Open GIS Consortium (OGC) Web Map Server (WMS) and display that image in an OpenMap Applet as a layer. Due to the security constraints on Applets (e.g., can't connect to a server other than that from which it originated), I obviously just can't have the Applet create an ImageIcon from a URL. The OpenMap applet will need to connect to many remote WMS compliant servers.
    The first solution I devised is for the applet to pass the String URL to a servlet as a parameter, the servlet will then instantiate the URL and also create the ImageIcon. Then, I pass the ImageIcon back to the Applet as a serialized object. That works fine...no problems there.
    The second solution that I wanted to try was to come up with a more generic and reusable approach, in which I could pass a URL to a servlet, and simply return a stream, and allow the applet to process that stream as it needs, assuming it would know what it was getting from that URL. This would be more usable than the specific approach of only allowing ImageIcon retrieval. I suppose this is actually more of a proxy. The problem is that the first few "lines" of the image are fine (the first array of buffered bytes, it seems) but the rest is garbled and pixelated, and I don't know why. Moreover, the corruption of the image differs every time I query the server.
    Here are the relevant code snippets:
    =====================Servlet====================
        /* Get the URL String from the request parameters; This is a WMS
         * HTTP request such as follows:
         * http://www.geographynetwork.com/servlet/com.esri.wms.Esrimap?
         *      VERSION=1.1.0&REQUEST=GetMap&SRS=EPSG:4326&
         *      BBOX=-111.11361,3.5885315,-48.345818,71.141304&
         *      HEIGHT=480&...more params...
         * It returns an image (JPEG, JPG, GIF, etc.)
        String urlString =
            URLDecoder.decode(request.getParameter("wmsServer"),
                              "UTF-8");
        URL url = new URL(urlString);
        log("Request parameter: wmsServer = " + urlString);
        //Open and instantiate the streams
        InputStream urlInputStream = url.openStream();
        BufferedInputStream bis = new
            BufferedInputStream(urlInputStream);
        BufferedOutputStream bos = new
            BufferedOutputStream(response.getOutputStream());
        //Read the bytes from the in-stream, and immediately write them
        //out to the out-stream
        int read = 0;
        byte[] buffer = new byte[1024];
        while((read = bis.read(buffer, 0, buffer.length)) != -1) {
            bos.write(buffer, 0, buffer.length);
        //Flush and close
        bos.flush();
        urlInputStream.close();
        bis.close();
        bos.close();
        .=====================Applet=====================
        //Connect to the Servlet
        URLConnection conn = url.openConnection();
        conn.setUseCaches(false);
        conn.setRequestProperty("header", "value");
        conn.setDoOutput(true);
        //Write the encoded WMS HTTP request
        BufferedWriter out =
            new BufferedWriter( new OutputStreamWriter(
                conn.getOutputStream() ) );
        out.write("wmsServer=" + URLEncoder.encode(urlString, "UTF-8"));
        out.flush();
        out.close();
        //Setup the streams to process the servlet response
        BufferedInputStream bis = new
            BufferedInputStream(conn.getInputStream());
        ByteArrayOutputStream bos = new ByteArrayOutputStream();
        //Read the bytes and immediately write to the out-stream
        int read = 0;
        byte[] buffer = new byte[1024];
        while((read = bis.read(buffer, 0, buffer.length)) != -1) {
            bos.write(buffer, 0, buffer.length);
        //Flush and close
        bis.close();</code>
        bos.flush();</code>
        byte[] imageBytes = bos.toByteArray();
        //Create the Image/ImageIcon
        Toolkit tk = Toolkit.getDefaultToolkit();
        Image image = tk.createImage(imageBytes);
        imageIcon = new ImageIcon(image);
        Could this be an offset problem in my buffers? Is there some sort of encoding/decoding I am missing somewhere?
    Thanks!
    Ben

    Without having a probing look, I was wondering why you do the following...
    while((read = bis.read(buffer, 0, buffer.length)) != -1) {
    bos.write(buffer, 0, buffer.length);
    while((read = bis.read(buffer, 0, buffer.length)) != -1) {
    bos.write(buffer, 0, buffer.length);
    }Your int 'read' holds the number of bytes read in but you then specify buffer.length in your write methods?!? why not use read? otherwise you will be writing the end of the buffer to your stream which contains random memory addresses. I think thats right anyway...
    Rob.

  • Upon launch of Lightroom after initial instalation a warning came up that said lightroom needs to create temporary files and cant open.  The it opened and the catalog i imported will not show the images.  How can I give permission? Running windows 8.1 64

    Upon launch of Lightroom after initial installation a warning came up that said lightroom needs to create temporary files and cant open.  Then it opened and the catalog i imported will not show the images.  How can I give permission? Running windows 8.1 64 bit.  I have avast virus software.

    Upon launch of Lightroom after initial installation a warning came up that said lightroom needs to create temporary files and cant open.  Then it opened and the catalog i imported will not show the images.  How can I give permission? Running windows 8.1 64 bit.  I have avast virus software.

  • When I create a DVD slide show, the images on TV are 4:3 instead of 16:9. Fix? (Using version 11.)

    When I create a DVD slide show, the images on TV are 4:3 instead of 16:9. Fix? (Using version 11.)

    Hi Christina,
    I used it because other facets of my work in graphics require conversion, not just FCP, so I am used to popping it open quickly using it on the fly, in the field when shooting. I back up, then convert typically on my laptop while it sits on the seat of my pickup while I am photographing the next portion of the training. I do have the files backed up (in ordered structure as shot and preserved on the cards) both on my laptop, also mirrored in the RAID and once again on a second external firewire LaCie and make sure that every little file is in there as it should be. Thanks for the info. on that though, appreciate it. Will probably switch to using FCP to that level of Log and Capture in the future because it seems more basic. I am not sure using L&C would make any difference on the problem I seem to be having here. I will create a small sample file and give it a try for future reference. Again, thank you.
    Up until this week the  Quicktime conversions I have been creating and composing from have been compressed in H.264 (720 X 480 to fit our LMS stage), and have been working well without a hitch. And 8 of the 11 of these sequences are still exported to a true 16:9 without a hitch. They are sharp, bright and the color is great. The three orphans are also sharp with good color, however squished from side to side. It simply makes no sense that data that has been saved identically, edited identically and exported with identical settings would change in mid-stream like that.
    Thanks for taking the time to reply. I do appreciate that very much.

  • Rotate Image Created with createImage() ?

    I've been looking around online for a way to do this, but so far the only things I have found are 50+ lines of code. Surely there is a simple way to rotate an image created with the createImage() function?
    Here's some example code with all the tedious stuff already written. Can someone show me a simple way to rotate my image?
    import java.net.*;
    import java.awt.*;
    import java.awt.geom.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class RotImg extends JApplet implements MouseListener {
              URL base;
              MediaTracker mt;
              Image myimg;
         public void init() {
              try{ mt = new MediaTracker(this);
                   base = getCodeBase(); }
              catch(Exception ex){}
              myimg = getImage(base, "myimg.gif");
              mt.addImage(myimg, 1);
              try{ mt.waitForAll(); }
              catch(Exception ex){}
              this.addMouseListener(this);
         public void paint(Graphics g){
              super.paint(g);
              Graphics2D g2 = (Graphics2D) g;
              g2.drawImage(myimg, 20, 20, this);
         public void mouseClicked(MouseEvent e){
              //***** SOME CODE HERE *****//
              // Rotate myimg by 5 degrees
              //******** END CODE ********//
              repaint();
         public void mouseEntered(MouseEvent e){}
         public void mouseExited(MouseEvent e){}
         public void mousePressed(MouseEvent e){}
         public void mouseReleased(MouseEvent e){}
    }Thanks very much for your help!
    null

    //  <applet code="RotationApplet" width="400" height="400"></applet>
    //  use: >appletviewer RotationApplet.java
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.geom.AffineTransform;
    import java.awt.image.BufferedImage;
    import javax.swing.*;
    public class RotationApplet extends JApplet {
        RotationAppletPanel rotationPanel;
        public void init() {
            Image image = loadImage();
            rotationPanel = new RotationAppletPanel(image);
            setLayout(new BorderLayout());
            getContentPane().add(rotationPanel);
        private Image loadImage() {
            String path = "images/cougar.jpg";
            Image image = getImage(getCodeBase(), path);
            MediaTracker mt = new MediaTracker(this);
            mt.addImage(image, 0);
            try {
                mt.waitForID(0);
            } catch(InterruptedException e) {
                System.out.println("loading interrupted");
            return image;
    class RotationAppletPanel extends JPanel {
        BufferedImage image;
        double theta = 0;
        final double thetaInc = Math.toRadians(5.0);
        public RotationAppletPanel(Image img) {
            image = convert(img);
            addMouseListener(ml);
        public void rotate() {
            theta += thetaInc;
            repaint();
        protected void paintComponent(Graphics g) {
            super.paintComponent(g);
            Graphics2D g2 = (Graphics2D)g;
            g2.setRenderingHint(RenderingHints.KEY_INTERPOLATION,
                                RenderingHints.VALUE_INTERPOLATION_BICUBIC);
            double x = (getWidth() - image.getWidth())/2;
            double y = (getHeight() - image.getHeight())/2;
            AffineTransform at = AffineTransform.getTranslateInstance(x,y);
            at.rotate(theta, image.getWidth()/2, image.getHeight()/2);
            g2.drawRenderedImage(image, at);
        private BufferedImage convert(Image src) {
            int w = src.getWidth(this);
            int h = src.getHeight(this);
            int type = BufferedImage.TYPE_INT_RGB; // options
            BufferedImage dest = new BufferedImage(w,h,type);
            Graphics2D g2 = dest.createGraphics();
            g2.drawImage(src,0,0,this);
            g2.dispose();
            return dest;
        private MouseListener ml = new MouseAdapter() {
            public void mousePressed(MouseEvent e) {
                rotate();
    }

  • Show an Image

    Hello!
    My question is probably stupid, but I've got some problems to show an image in a jPanel (or others Containers).
    There are a lot of tutorials for showing an image in applets, but it's difficult to have good explanations for an application.
    I know I should use GetImage and Toolkit but I don't know how.
    I'm sure it's quite simple, so
    Can anyone give me some code samples?
    Thank you for your replies.

    hi,
    you can create a jlabel and add an image to that and then place the jlabel into a jpanel.
    import javax.swing.*;
    import java.awt.event.*;
    class ShowImage extends JFrame {
         JPanel panel = new JPanel();
         JLabel label = new JLabel(new ImageIcon("add.gif"));
         public static void main(String args[]) {
              ShowImage obj = new ShowImage();
              obj.display();
         void display() {
              panel.add(label);
              getContentPane().add(panel);
              setSize(100,100);
              addWindowListener(new WindowHandler());
              setVisible(true);
         class WindowHandler extends WindowAdapter {
              public void windowClosing(WindowEvent e) {
                   dispose();
    }

  • I forgot my admin password for my macbook and my macbook doesnt allowme to go on single user or boot up in safe mode or boot up with the option key all it does is show a image of a globe blinking everytime i try to do something

    please people help me i brought this macbook from a friend and now its ****** up its a macbook late 2006 and it dosesnt allow me to do anything everytime i click on a key to go on single user terminal or boot up cd or run on safe mode it shows a image of a globe(earth)

    Somehow the HDD is screwed up. Data saving issue is not directly Toshiba related issue and before you spend time here discussing about such things I recommend you to ask someone with good PC knowledge what can be done about data saving.
    When the HDD is in the notebook again start notebook as first step set BIOS to default settings.
    After doing this install recovery image. After doing this you will have clean preinstalled OS and everything should work properly again.
    I hope you will be able to do this using HDD recovery option.
    How to do this you can find on http://aps2.toshiba-tro.de/kb0/HTD1303440001R01.htm
    Have you maybe created recovery discs?

  • Resizing JFrame on button click to show an image on the JFrame

    Dear All,
    I have a JFrame which has an empty label. On button click I want to set an icon for the label and want the JFrame to be resized to show that icon. I am using frame.pack() and I am not using any other sizing function. The code that I have right now, prints the image on the panel, but does not resize the frame to show the image. Pleae could someone help.package gui;
    import java.awt.Color;
    import java.awt.Dimension;
    import java.awt.Font;
    import java.awt.Toolkit;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.event.ItemEvent;
    import java.awt.event.ItemListener;
    import java.awt.event.KeyEvent;
    import java.awt.event.KeyListener;
    import java.awt.event.MouseEvent;
    import java.awt.event.MouseListener;
    import javax.swing.ImageIcon;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.JTextArea;
    public class ComponentDemo extends JPanel implements ActionListener,
    ItemListener, MouseListener, KeyListener {
         private JTextArea textarea;
         private JButton button;
         private final static String newline = "\n";
         private JLabel imageIcon;
         public ComponentDemo() {
              button = new JButton("JButton welcomes you  to CO2001");
              button.addActionListener(this);
              add(button);
              textarea = new JTextArea(10, 50);
              textarea.setEditable(false);
              addMouseListener(this);
              textarea.addKeyListener(this);
              JScrollPane scrollPane = new JScrollPane(textarea);
              add(scrollPane);
              imageIcon = new JLabel();
              add(imageIcon);
              setBackground(Color.pink);
              new JScrollPane(this);
          * Create the GUI and show it. For thread safety, this method should be
          * invoked from the event-dispatching thread.
         private static void createAndShowGUI() {
              // Create and set up the window.
              JFrame frame = new JFrame("Simple FrameDemo");
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
              frame.setLocation(700, 200);
              // get the content pane and set the background colour;
              frame.add(new ComponentDemo());
         //     frame.setSize(screenSize);
              // frame.getContentPane().setBackground(Color.cyan);
              // Display the window.
              frame.pack();
              frame.setVisible(true);
              frame.setResizable(true);
         public static void main(String[] args) {
              // Schedule a job for the event-dispatching thread:
              // creating and showing this application's GUI.
              javax.swing.SwingUtilities.invokeLater(new Runnable() {
                   public void run() {
                        createAndShowGUI();
         @Override
         public void actionPerformed(ActionEvent e) {
              // TODO Auto-generated method stub
              if (e.getSource() instanceof JButton) {
                   // System.out.println(e.getSource());
                   String text = ((JButton) e.getSource()).getText();
                   textarea.append(text + newline);
                   textarea.setBackground(Color.cyan);
                   textarea.setForeground(Color.BLUE);
                   textarea.setCaretPosition(textarea.getDocument().getLength());
                   imageIcon.setIcon(createImageIcon("SwingingDuke.png",
                   "Image to be displayed"));
         @Override
         public void itemStateChanged(ItemEvent arg0) {
              // TODO Auto-generated method stub
         @Override
         public void mouseClicked(MouseEvent arg0) {
              textarea.append("A Mouse click welcomes you to CO2001" + newline);
              textarea.setBackground(Color.green);
              textarea.setCaretPosition(textarea.getDocument().getLength());
         @Override
         public void mouseEntered(MouseEvent arg0) {
              // TODO Auto-generated method stub
         @Override
         public void mouseExited(MouseEvent arg0) {
              // TODO Auto-generated method stub
         @Override
         public void mousePressed(MouseEvent arg0) {
              // TODO Auto-generated method stub
         @Override
         public void mouseReleased(MouseEvent arg0) {
              // TODO Auto-generated method stub
         @Override
         public void keyPressed(KeyEvent e) {
              System.out.println(e.getKeyChar());
              textarea.append("The key " + e.getKeyChar()
                        + " click welcomes you to CO2001" + newline);
              textarea.setBackground(Color.YELLOW);
              textarea.setFont(new Font("Arial", Font.ITALIC, 16));
              textarea.setCaretPosition(textarea.getDocument().getLength());
         @Override
         public void keyReleased(KeyEvent e) {
              System.out.println(e.getKeyChar());
              // textarea.append("The key "+
              // e.getKeyChar()+" click welcomes you to CO2001" + newline);
              // textarea.setBackground(Color.green);
              // textarea.setCaretPosition(textarea.getDocument().getLength());
         @Override
         public void keyTyped(KeyEvent e) {
              // TODO Auto-generated method stub
              System.out.println(e.getKeyChar());
              // textarea.append("The key "+
              // e.getKeyChar()+" click welcomes you to CO2001" + newline);
              // textarea.setBackground(Color.blue);
              // textarea.setCaretPosition(textarea.getDocument().getLength());
         /** Returns an ImageIcon, or null if the path was invalid. */
         protected ImageIcon createImageIcon(String path, String description) {
              java.net.URL imgURL = getClass().getResource(path);
              if (imgURL != null) {
                   System.out.println("found");
                   return new ImageIcon(imgURL, description);
              } else {
                   System.err.println("Couldn't find file: " + path);
                   return null;
    }

    myJPanel.setPerferredSize(new Dimension(new_width, new_hight));
    myJFrame.pack();

  • IPad wont show .jpg images correctly

    My new iPad wont show .jpg images correctly. They all get a yellow/blue filter almost like a negative photo. This is in Safari, Maps,Youtube and every App using .jpg images. Gifs, and png, viewing video etc is fine. Also the home screen background/wallpaper gets this problem.
    BUT saved .jpgs from Safari strangely enough look fine in Photos. (Thumbnails stil look bad though.)
    I thought it had to be a software issue, but reseting my device with newest OS (3.2) is not helping.
    Any others with the same problem?

    Thanks for your reply. I have not created any JPGs, or transfered them to the iPad. I just surf with Safari and all .jpg's are getting this strange colors. When starting Maps the satellite mode gets wrong colors. The background on the home screen are the ones that came with the iPad. Strange thing is that when restoring it with software reset, the background is ok. When choosing a new (even choosing the same one) they get wrong colors when going to the home screen. (They all look good when choosing)
    It looks like the iPad is not doing the final steps on rendering the images. (And also have a short blink when being displayed) However as I said, all images look good when viewing fullscreen in the Photos App. Even the ones saved from Safari which looked bad in Safari.

  • Crystal report xi r2 can't show control image

    i use vs2008 to develop asp.net
    Crystal report xi r2 can't show control image , not show print , export and all control image and when i click
    print or export image it error but other control are work. i run web application by debug mode in vs2008
    please help me to solve this problem.
    thank for advance

    Hi,
    You are facing issue as you are using non compatible environment.
    VS 2003 is only compatible with CR 9.1 (Bundle version which comes with VS), CR XI R1 and CR10.
    VS 2005 is only compatible with CR 10.2 (Bundle version which comes with VS), CR XI R2 and CR 2008.
    VS 2008 is only compatible with CR 10.5 (Bundle version which comes with VS) and CR 2008 SP0 and SP1
    You can download platform supported guide from the following link which will help you to create compatible environment:
    [https://websmp105.sap-ag.de/bosap-support]
    or search for BusinessObjects note #1279888 - How to find supported platform guide for any platform?
    Note can be searched from [here|https://www.sdn.sap.com/irj/sdn/businessobjects-notes] 
    Hope this helps
    Regards,
    Shweta

  • Image,Text drag in applet

    Hai there,
    I want to allow a user to show an image and /or text on applet
    and must allow it to be dragged.
    I am able to do them separately oe. can drag image or text but
    when both are present they act as single unit while dragging.
    How should i allow each one to be dragged separately ?
    Should i use seperate threads for both of them?

    //  <applet code="DragTest" width="400" height="400"></applet>
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.font.*;
    import java.awt.image.BufferedImage;
    import java.io.IOException;
    import javax.imageio.ImageIO;
    import javax.swing.*;
    import javax.swing.event.MouseInputAdapter;
    public class DragTest extends JApplet
        public void init()
            DragPanel dragPanel = new DragPanel(getImage());
            DragMeister listener = new DragMeister(dragPanel);
            dragPanel.addMouseListener(listener);
            dragPanel.addMouseMotionListener(listener);
            getContentPane().setLayout(new BorderLayout());
            getContentPane().add(dragPanel);
         private BufferedImage getImage()
            String path = "images/Bird.gif";
            ClassLoader cl = DragTest.class.getClassLoader();
            BufferedImage image = null;
            try
                image = ImageIO.read(cl.getResourceAsStream(path));
            catch(IOException ioe)
                System.err.println("read error: " + ioe.getMessage());
            return image;
        public static void main(String[] args)
            JApplet applet = new DragTest();
            JFrame f = new JFrame();
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.getContentPane().add(applet);
            f.setSize(400,400);
            f.setLocation(200,200);
            applet.init();
            f.setVisible(true);
    class DragPanel extends JPanel
        BufferedImage image;
        String text;
        Rectangle imageRect;
        Rectangle textRect;
        public DragPanel(BufferedImage image)
            this.image = image;
            text = "hello world";
            imageRect = new Rectangle(120, 200, image.getWidth(), image.getHeight());
        protected void paintComponent(Graphics g)
            super.paintComponent(g);
            Graphics2D g2 = (Graphics2D)g;
            g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
                                RenderingHints.VALUE_ANTIALIAS_ON);
            Font font = g2.getFont().deriveFont(Font.ITALIC, 24f);
            g2.setFont(font);
            FontRenderContext frc = g2.getFontRenderContext();
            LineMetrics lm = font.getLineMetrics(text, frc);
            if(textRect == null)
                int w = (int)font.getStringBounds(text, frc).getWidth();
                int h = (int)(lm.getAscent() + lm.getDescent());
                textRect = new Rectangle(60, 40, w, h);
            g2.setPaint(Color.blue);
            g2.drawString(text, textRect.x, textRect.y + lm.getAscent());
            g2.drawImage(image, imageRect.x, imageRect.y, this);
            //g2.setPaint(Color.red);
            //g2.draw(textRect);
            //g2.draw(imageRect);
        public void setRect(Rectangle r, int x, int y)
            r.setLocation(x,y);
            repaint();
        public Rectangle[] getRects()
            return new Rectangle[] { textRect, imageRect };
    class DragMeister extends MouseInputAdapter
        DragPanel dragPanel;
        Rectangle selectedRect;
        Point offset;
        boolean dragging;
        public DragMeister(DragPanel dp)
            dragPanel = dp;
            offset = new Point();
            dragging = false;
        public void mousePressed(MouseEvent e)
            Point p = e.getPoint();
            Rectangle[] rects = dragPanel.getRects();
            for(int j = 0; j < rects.length; j++)
                if(rects[j].contains(p))
                    selectedRect = rects[j];
                    offset.x = p.x - rects[j].x;
                    offset.y = p.y - rects[j].y;
                    dragging = true;
                    break;
        public void mouseReleased(MouseEvent e)
            dragging = false;
        public void mouseDragged(MouseEvent e)
            if(dragging)
                int x = e.getX() - offset.x;
                int y = e.getY() - offset.y;
                dragPanel.setRect(selectedRect, x, y);
    }

  • RH9 Proj Mgr not showing the images

    I am importing topics from one RH9 project into another. The topics come in fine, with images intact. However the images are not going into the Proj Mgr "Images" folder. In fact they cannot be seen anywhere via the Project Manager (yes I have selected Show All file types and yes I have tried toggling the Proj Mgr view).
    RH does create subfolders within the Images node that are named after the topic folders into which I import the topics, however these show up as being empty. Why does RH9 create them and then not use them?
    Windows Explorer shows me that the physical image files are sitting in the <topic name>_files folder that gets created when I import the topic. However, these files are not visible via the project manager.
    If I cannot see the image files in the Project Manager, how can I move them into the Images folder? Is there an option I need to set to make the imported images visible in the Project Manager?

    In Windows Explorer I have:
    Folder containing the imported HTM files
    |-> Subfolder(s) named after the folder(s) from which the topics were imported, with "_files" added to the folder name(s), containing the images
    In Project Manager I see just the top level folder as above, containing imported HTM files. If I toggle to the view that shows an "Images" folder, I see a subfolder under "Images" with the same name as the topic folder but it appears empty.
    Hope I'm not being too dense here, but "rename" what folder to what name?

  • Photoshop problem (not showing the image)

    hy,
    i just installed photoshop on my new laptop and it does not show any images when i open them.
    like you can see in teh image that i posted i have a picture opened (its also so in a layer)
    i can use photoshop but i dont see anyting changing in the normal area( is does change in the layer box.)
    i tried with different pictures
    pleas help

    Chris Cox wrote:
    And my money would be on a video card driver that needs to be updated. Disabling OpenGL drawing should avoid the issue temporarily, but the bug is in the video card driver.  (we've seen this a lot with older drivers)
    where can i find the disabling OpenGL Drawing?
         i have a NVIDIA GeForce GT 540M
    My money is on your document window being off screen. 
    At some point you may have had a secondary monitor attached which you have since disconnected, or you drastically changed your monitor resolution.
    Trashing your preferences should fix it instantly:
    To re-create the preferences files for Photoshop, start the application while holding down Ctrl+Alt+Shift (Windows) or Command+Option+Shift (Mac OS). Then, click Yes to the message, "Delete the Adobe Photoshop Settings file?"
    i tried this but i did not work. (however i do work with diferent screens)
    thanks already for you efforts

  • Wrong image refresh in java applet AND Windows 7

    I'm managing since few days a java applet that takes an image from an industrial product and shows it in a browser (simple web server).
    There is following issue: the image is not correctly loaded and refreshed in its own window if just opened but only if the applet is running on Windows 7. The issue is solved as soon as I reduce the window to icon (minimize) and then resize it. I'm looking into java documentation on how to manage the image rendering, maybe I have to override some update or redraw method more, but it is taking time and I'm still learning. NOTE that the window opened does show the issue only when the windows size is not completely shown in the monitor.
    Meanwhile I'm wandering if some of you faced and solved similar problem.
    Thank you in advance,
    Elena

    Thank you Nitin for your quick reply!
    These are the calling of the functions in the code. As you can see, before to show the image, we are managing a zoom/unzoom by mouse wheel and an addition of writings data on the image itself. All is working fine except on W7:
    public void paint(Graphics g)
         //System.out.println("[ImageFrame::paint my paint!!!]");
         this.PaintImage(g);
    public void update(Graphics g)
         // System.out.println("[ImageFrame::update]");
         this.repaint();
    public void PaintImage(ImageInfo imageInfo, float fps)
         if (imageInfo != null)
              if (this.getImageInfoRef() == null){
                   this.setVisible(true);
              this.setTitle("Image Viewer (" + imageInfo.bufferedImage.getWidth() + "x" + imageInfo.bufferedImage.getHeight() + ") ");
              this.resizeImageFrame((int) (imageInfo.bufferedImage.getWidth() * zoomFactor), (int) (imageInfo.bufferedImage.getHeight() * zoomFactor));
              this.lastFps = fps;
              this.setImageInfoRef(imageInfo);
              //System.out.println("this.getWidth(): " + this.getWidth() + " this.getHeight(): " + this.getHeight() + " zoomFactor: " + zoomFactor);////
              this.PaintImage(this.getGraphics());
    public synchronized void PaintImage(Graphics g)
         ImageInfo locImageInfo = getImageInfoRef();
         if (locImageInfo != null)
              try
                   this.resizeImageFrame((int) (locImageInfo.bufferedImage.getWidth() * zoomFactor), (int) (locImageInfo.bufferedImage.getHeight() * zoomFactor));
                   BufferedImage bufferedImage = this.resizeBufferedImage(locImageInfo.bufferedImage, zoomFactor);
                   this.overlayCodeInfo(bufferedImage, locImageInfo.decInfoStruct, zoomFactor);
                   this.overlayPointerInfo(bufferedImage, locImageInfo.scaling, zoomFactor, this.crossX, this.crossY);
                   this.overlayFrameRateInfo(bufferedImage, this.lastFps);
                   Image img = Toolkit.getDefaultToolkit().createImage(bufferedImage.getSource());
                   boolean retdraw;
                   retdraw = g.drawImage(img, frameUpperBondarySizeX, frameUpperBondarySizeY, this);
              catch (Exception ex)
                   System.out.println("[ImageFrame::PaintImage] Exception: " + ex);
    Thank you again
    Elena

Maybe you are looking for