Help with BufferedImage - Graphics updating

Hello All-
I will try to explain the best I can, still new to Java2D so little confused
Hopefully the explanation makes a little bit of sense....
I have a tabbedPane, one tab with no graphics and the other tab full of graphics
The tab with the graphics on it is basically a bunch of rectangles that will change color depending on real time data I am pulling from a Mysql DB
For sake of performance I only want to have to repaint those rectangles when the data from the DB changes (i.e. repaint the rectangles when the bit changes from 1=good to 0=bad)
Any help on how to start implementing this would be absolutely wonderful
or if I could explain something any better please ask.
Thank you in advance
Janduzerbots

If you're thinking of just grabbing the graphics image of some component on the fly for rendering, that
wouldn't work well. Here is a link to some tips on doing your own drawing.
Again, yes, you may have to define your own component class. The only other alternative I can think of is to have a JLabel
that has an ImageIcon that holds your BufferedImage, and you update this by calling repaint after updating
the BufferedImage.

Similar Messages

  • Help with Adobe Reader update installation on mac book pro

    am trying to update adobe reader 9.4.6 to the latest version on my mac book pro. Am able to download the updtae to 10. whatever and proceed with installation. At the step where I am asked to choose the adobe reader file, I select the file and then the process stops and I get a message that installation has failed and i am to contact the software manufacturer.

    I figured it out. Thanks!
    The key, during both life and death, is to recognize illusions as illusions, projections as projections, and fantasies as fantasies. In this way we become free.
    Date: Mon, 10 Sep 2012 04:54:45 -0600
    From: [email protected]
    To: [email protected]
    Subject: Help with Adobe Reader update installation on mac book pro
        Re: Help with Adobe Reader update installation on mac book pro
        created by Nikhil.Gupta in Adobe Reader - View the full discussion
    How exactly are you trying to update your Adobe Reader 9.4.6Try the following link to download latest Adobe Raeader: http://get.adobe.com/reader/
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4686315#4686315
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4686315#4686315. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Adobe Reader by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Help with BufferedImage and JPanel

    I have a program that should display some curves, but thats not the problem, the real problem is when i copy the image contained in the JPanel to the buffered image then i draw something there and draw it back to the JPanel. My panel initialy its white but after the operation it gets gray
    Please if some one could help with this
    here is my code divided in three classes
    //class VentanaPrincipal
    package gui;
    import java.awt.BorderLayout;
    import java.awt.FlowLayout;
    import java.awt.GridBagConstraints;
    import java.awt.GridBagLayout;
    import java.awt.Insets;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.image.BufferedImage;
    import javax.swing.BorderFactory;
    import javax.swing.JButton;
    import javax.swing.JLabel;
    import javax.swing.JSeparator;
    import javax.swing.border.LineBorder;
    import javax.swing.JMenuItem;
    import javax.swing.JPanel;
    import javax.swing.JMenu;
    import javax.swing.JMenuBar;
    * This code was edited or generated using CloudGarden's Jigloo
    * SWT/Swing GUI Builder, which is free for non-commercial
    * use. If Jigloo is being used commercially (ie, by a corporation,
    * company or business for any purpose whatever) then you
    * should purchase a license for each developer using Jigloo.
    * Please visit www.cloudgarden.com for details.
    * Use of Jigloo implies acceptance of these licensing terms.
    * A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
    * THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
    * LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
    public class VentanaPrincipal extends javax.swing.JFrame {
              //Set Look & Feel
              try {
                   javax.swing.UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
              } catch(Exception e) {
                   e.printStackTrace();
         private JMenuItem helpMenuItem;
         private JMenu jMenu5;
         private JMenuItem deleteMenuItem;
         private JSeparator jSeparator1;
         private JMenuItem pasteMenuItem;
         private JLabel jLabel4;
         private JLabel jLabel5;
         private JLabel jLabel3;
         private JLabel jLabel2;
         private JLabel jLabel1;
         private JButton jSPLineButton;
         private JButton jHermiteButton;
         private JButton jBezierButton;
         private JPanel jPanel2;
         private JPanel jPanel1;
         private JMenuItem jResetMenuItem1;
         private JMenuItem copyMenuItem;
         private JMenuItem cutMenuItem;
         private JMenu jMenu4;
         private JMenuItem exitMenuItem;
         private JSeparator jSeparator2;
         private JMenu jMenu3;
         private JMenuBar jMenuBar1;
          * Variables no autogeneradas
         private int botonSeleccionado;
         * Auto-generated main method to display this JFrame
         public static void main(String[] args) {
              VentanaPrincipal inst = new VentanaPrincipal();
              inst.setVisible(true);
         public VentanaPrincipal() {
              super();
              initGUI();
         private void initGUI() {
              try {
                        this.setTitle("Info3 TP 2");
                             jPanel1 = new pizarra();
                             getContentPane().add(jPanel1, BorderLayout.WEST);
                             jPanel1.setPreferredSize(new java.awt.Dimension(373, 340));
                             jPanel1.setMinimumSize(new java.awt.Dimension(10, 342));
                             jPanel1.setBackground(new java.awt.Color(0,0,255));
                             jPanel1.setBorder(BorderFactory.createCompoundBorder(
                                  new LineBorder(new java.awt.Color(0, 0, 0), 1, true),
                                  null));
                             BufferedImage bufimg = (BufferedImage)jPanel1.createImage(jPanel1.getWidth(), jPanel1.getHeight());
                             ((pizarra) jPanel1).setBufferedImage(bufimg);
                             jPanel2 = new JPanel();
                             getContentPane().add(jPanel2, BorderLayout.CENTER);
                             GridBagLayout jPanel2Layout = new GridBagLayout();
                             jPanel2Layout.rowWeights = new double[] {0.0, 0.0, 0.0, 0.0};
                             jPanel2Layout.rowHeights = new int[] {69, 74, 76, 71};
                             jPanel2Layout.columnWeights = new double[] {0.0, 0.0, 0.1};
                             jPanel2Layout.columnWidths = new int[] {83, 75, 7};
                             jPanel2.setLayout(jPanel2Layout);
                                  jBezierButton = new JButton();
                                  jPanel2.add(jBezierButton, new GridBagConstraints(1, 0, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
                                  jBezierButton.setText("Bezier");
                                  jBezierButton.setFont(new java.awt.Font("Tahoma",0,10));
                                  jBezierButton.addActionListener(new ActionListener() {
                                       public void actionPerformed(ActionEvent evt) {
                                            bezierActionPerformed();
                                  jHermiteButton = new JButton();
                                  jPanel2.add(jHermiteButton, new GridBagConstraints(1, 1, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
                                  jHermiteButton.setText("Hermite");
                                  jHermiteButton.setFont(new java.awt.Font("Tahoma",0,10));
                                  jSPLineButton = new JButton();
                                  jPanel2.add(jSPLineButton, new GridBagConstraints(1, 2, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
                                  jSPLineButton.setText("SP Line");
                                  jSPLineButton.setFont(new java.awt.Font("Tahoma",0,10));
                                  jLabel1 = new JLabel();
                                  jPanel2.add(jLabel1, new GridBagConstraints(0, 3, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
                                  jLabel1.setText("Posicion Mouse");
                                  jLabel2 = new JLabel();
                                  jPanel2.add(jLabel2, new GridBagConstraints(1, 3, 1, 1, 0.0, 0.0, GridBagConstraints.NORTH, GridBagConstraints.NONE, new Insets(12, 0, 0, 0), 0, 0));
                                  jLabel2.setText("X:");
                                  jLabel3 = new JLabel();
                                  jPanel2.add(jLabel3, new GridBagConstraints(1, 3, 1, 1, 0.0, 0.0, GridBagConstraints.SOUTH, GridBagConstraints.NONE, new Insets(0, 0, 12, 0), 0, 0));
                                  jLabel3.setText("Y:");
                                  jLabel4 = new JLabel();
                                  jPanel2.add(jLabel4, new GridBagConstraints(2, 3, 1, 1, 0.0, 0.0, GridBagConstraints.NORTH, GridBagConstraints.NONE, new Insets(12, 0, 0, 0), 0, 0));
                                  jLabel4.setText("-");
                                  jLabel5 = new JLabel();
                                  jPanel2.add(jLabel5, new GridBagConstraints(2, 3, 1, 1, 0.0, 0.0, GridBagConstraints.SOUTH, GridBagConstraints.NONE, new Insets(0, 0, 12, 0), 0, 0));
                                  jLabel5.setText("-");
                   this.setSize(600, 400);
                        jMenuBar1 = new JMenuBar();
                        setJMenuBar(jMenuBar1);
                             jMenu3 = new JMenu();
                             jMenuBar1.add(jMenu3);
                             jMenu3.setText("Archivo");
                                  jSeparator2 = new JSeparator();
                                  jMenu3.add(jSeparator2);
                                  exitMenuItem = new JMenuItem();
                                  jMenu3.add(exitMenuItem);
                                  exitMenuItem.setText("Exit");
                                  jResetMenuItem1 = new JMenuItem();
                                  jMenu3.add(jResetMenuItem1);
                                  jResetMenuItem1.setText("Reset");
                             jMenu4 = new JMenu();
                             jMenuBar1.add(jMenu4);
                             jMenu4.setText("Edit");
                                  cutMenuItem = new JMenuItem();
                                  jMenu4.add(cutMenuItem);
                                  cutMenuItem.setText("Cut");
                                  copyMenuItem = new JMenuItem();
                                  jMenu4.add(copyMenuItem);
                                  copyMenuItem.setText("Copy");
                                  pasteMenuItem = new JMenuItem();
                                  jMenu4.add(pasteMenuItem);
                                  pasteMenuItem.setText("Paste");
                                  jSeparator1 = new JSeparator();
                                  jMenu4.add(jSeparator1);
                                  deleteMenuItem = new JMenuItem();
                                  jMenu4.add(deleteMenuItem);
                                  deleteMenuItem.setText("Delete");
                             jMenu5 = new JMenu();
                             jMenuBar1.add(jMenu5);
                             jMenu5.setText("Help");
                                  helpMenuItem = new JMenuItem();
                                  jMenu5.add(helpMenuItem);
                                  helpMenuItem.setText("Help");
              } catch (Exception e) {
                   e.printStackTrace();
         private void bezierActionPerformed(){
              botonSeleccionado = 1;
              ((pizarra) jPanel1).setTipoFigura(botonSeleccionado);
              ((pizarra) jPanel1).pintarGrafico();
    //class graphUtils
    package func;
    import java.awt.Image;
    import java.awt.Point;
    import java.awt.image.BufferedImage;
    public class graphUtils {
         public static void dibujarPixel(BufferedImage img, int x, int y, int color){
              img.setRGB(x, y, color);
         public static void dibujarLinea(BufferedImage img, int x0, int y0, int x1, int y1, int color){
            int dx = x1 - x0;
            int dy = y1 - y0;
            if (Math.abs(dx) > Math.abs(dy)) {          // Pendiente m < 1
                float m = (float) dy / (float) dx;     
                float b = y0 - m*x0;
                if(dx < 0) dx = -1; else dx = 1;
                while (x0 != x1) {
                    x0 += dx;
                    dibujarPixel(img, x0, Math.round(m*x0 + b), color);
            } else
            if (dy != 0) {                              // Pendiente m >= 1
                float m = (float) dx / (float) dy;
                float b = x0 - m*y0;
                if(dy < 0) dy = -1; else dy = 1;
                while (y0 != y1) {
                    y0 += dy;
                    dibujarPixel(img, Math.round(m*y0 + b), y0, color);
         public static void dibujarBezier(BufferedImage img, Point puntos, int color){
    //class pizarra
    package gui;
    import javax.swing.*;
    import sun.awt.VerticalBagLayout;
    import sun.security.krb5.internal.bh;
    import java.awt.Color;
    import java.awt.Graphics;
    import java.awt.Graphics2D;
    import java.awt.Image;
    import java.awt.Point;
    import java.awt.event.MouseEvent;
    import java.awt.event.MouseListener;
    import java.awt.image.BufferedImage;
    import java.util.ArrayList;
    import func.graphUtils;
    * esta clase pizarra extiende la clase JPanel y se agregan las funciones de pintado
    * y rellenado que se muestra en pantalla dentro del panel que se crea con esta clase
    * @author victorg
    public class pizarra extends JPanel implements MouseListener{
         private int tipoFigura;
         BufferedImage bufferImagen;
         Image img;
         Graphics img_gc;
         private Color colorRelleno, colorLinea;
         private Point puntosBezier[] = new Point[3];
         public pizarra(){
              super();          
              addMouseListener(this);
              //this.setBackground(Color.BLUE);
              colorLinea = Color.BLUE;
         public void setTipoFigura(int seleccion){
              // se setea para ver si es bezier, hermite, SP line
              tipoFigura = seleccion;
         public void setTipoRelleno(int seleccion){
         public void setColorRelleno(Color relleno){
              colorRelleno = relleno;          
         public void setColorLinea(Color linea){
              colorLinea = linea;
         public void setBufferedImage(BufferedImage bufimg){
              bufferImagen = bufimg;
         public void pintarGrafico(){
              Graphics g = this.getGraphics();     
              g.setColor(colorLinea);
              //accion ejecutada cuando se selecciona para graficar un poligono
              if(tipoFigura == 1){// bezier
                   if(bufferImagen == null){
                        //mantiene guardada la imagen cuando la pantalla pasa a segundo plano
                        bufferImagen = new BufferedImage(getWidth(), getHeight(), BufferedImage.TYPE_INT_RGB);
                        this.setBackground(Color.WHITE);                                                  
                        bufferImagen = (BufferedImage)createImage(getWidth(), getHeight());
                        //bufferImagen = this.createImage(getWidth(), getHeight());
                   //g.drawImage(bufferImagen,0,0,this);
                   graphUtils.dibujarLinea(bufferImagen,10, 10, 50, 50, colorLinea.getRGB());
                   g.drawImage(bufferImagen,0,0,this);
         protected void paintComponent(Graphics g) { // llamado al repintar
              //setBackground(colorFondo);
              super.paintComponent(g);
    //          Graphics2D g2 = (Graphics2D)g;          
    //          g2.drawImage(bufferImagen, 0,0, this);          
    //          g2.dispose();     
         public void mouseClicked(MouseEvent arg0) {          
         public void mousePressed(MouseEvent arg0) {
              // TODO Auto-generated method stub
         public void mouseReleased(MouseEvent arg0) {
              // TODO Auto-generated method stub
         public void mouseEntered(MouseEvent arg0) {
              // TODO Auto-generated method stub
         public void mouseExited(MouseEvent arg0) {
              // TODO Auto-generated method stub
    }

    1) Swing related questions should be posted in the Swing forum.
    Custom painting should be done in the paintComponent(..) method. You created a "pintarGraphico" method to do the custom painting, but that method is only execute once. When Java determines that the panel needs to be repainted, the paintComponent() method is executed which simply does a super.paintComponent(), which in turn simply paints the background of the panel overwriting you custom painting.

  • Please help with BufferedImage

    hi,
    I'm making a space invaders game and need some help with image buffering. I so far have classes for:
    ImageHandler - which should handle the loading of images
    GameEntities - which contains methods for the ship movements etc
    AlienEntitiy - which will draw an alien and have methods for its movement, shooting etc.
    SpaceInvaders - which extends Canvas and handles the main game
    The problem is that when I create a new alien which has a call to the setImageName(String name) method, which should call the getImage(String imageName) method in ImageHandler, a null pointer exception is thrown.
    I have searched my code and can't trace the error (by the way, this is the first ime I've used buffered image). Can someone PLEASE help.
    Here's my code:
    package InvadersGame;
    import java.awt.image.BufferedImage;
    import java.io.PrintStream;
    import java.util.HashMap;
    import javax.imageio.ImageIO;
    public class ImageHandler
        private HashMap images;
        public ImageHandler()
            images = new HashMap();
        public BufferedImage loadImage(String name)
            try
                java.net.URL url = null;
                url = getClass().getResource(name);
                return ImageIO.read(url);
            catch(Exception e)
                System.exit(0);
                System.out.println("image not found");
                return null;
        public BufferedImage getImage(String name)
            BufferedImage image = (BufferedImage)images.get(name);
            return image;
        public HashMap getImages()
            return images;
        public void setImages(HashMap val)
            images = val;
    }and
    package InvadersGame;
    import java.awt.Graphics;
    import java.awt.*;
    import java.awt.image.BufferedImage;
    import java.awt.Graphics2D;
    public class GameEntities {
        private double x, y;
        private int width, height;
        private String imageName;
        private boolean deletionMark = false;
        private SpaceInvaders invaders;
        private ImageHandler imageHandler;
        public GameEntities(SpaceInvaders invaders)
            this.invaders = invaders;
            imageHandler = invaders.getImageHandler();
        public double getX()
            return x;
        public double getY()
            return y;
        public int getWidth()
            return width;
        public int getHeight()
            return height;
        public Rectangle getBounds()
            return new Rectangle((int)x, (int)y, width, height);
        public void setX(int x)
            this.x = x;
        public void setY(int y)
            this.y = y;
        public void setWidth(int width)
            this.width = width;
        public void setHeight(int height)
            this.height = height;
        public boolean deletionMarked()
            return deletionMark;
        public void setDeletionMarkedTrue(boolean value)
            deletionMark = value;
       public String getImageName()
            return imageName;
        public void setImageName(String name)
            imageName = name;
            BufferedImage image = imageHandler.getImage(imageName);
            height = image.getHeight();
            width = image.getWidth();
        public boolean collidesWith(GameEntities other)
            Rectangle thisEntity = new Rectangle();
            Rectangle otherEntity = new Rectangle();       
            thisEntity.setBounds((int)this.getX(), (int)this.getY(), this.getWidth(), this.getHeight());
            otherEntity.setBounds((int)other.getX(),(int)other.getY(), other.getWidth(), other.getHeight());
            return thisEntity.intersects(otherEntity);
        public void move(){}
        public void paint(Graphics2D g)
             g.drawImage(imageHandler.getImage(imageName), (int)x, (int)y, invaders);
    }and
    package InvadersGame;
    import java.awt.*;
    import java.awt.geom.*;
    import java.awt.event.*;
    import java.awt.Graphics2D;
    import java.lang.Math;
    import java.util.Random;
    public class AlienEntity extends GameEntities {
        double x, y;
        int alienType;
        int speedx = 2;
        int speedy = 2;
        public AlienEntity(SpaceInvaders invaders)
            super(invaders); 
            setImageName("alien4.gif");
        public void move()
            y = y + speedy;      
    }and finally..
    package InvadersGame;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.Graphics2D;
    import java.awt.geom.*;
    import java.util.ArrayList;
    import java.util.Random;
    import java.awt.image.BufferStrategy;
    public class SpaceInvaders extends Canvas{
        JPanel panel;
        //AlienEntity al, al2;
        Graphics2D g2;
        boolean gameRunning = true;
        ArrayList<GameEntities> entitiesList;
        AnimationThread thread;
        AlienEntity alien;
        private BufferStrategy buffer;
        ImageHandler imageHandler;
        class AnimationThread extends Thread
            public void run()
                while(true)
                    //paintAlien();
                    try
                        sleep(50);
                    catch(InterruptedException e){}
        public SpaceInvaders()
            super();
            imageHandler = new ImageHandler();
            JFrame window = new JFrame("Space Invaders");
            JPanel panel = (JPanel)window.getContentPane();
            setBounds(0, 0, 800, 600);
            panel.add(this);
            window.setBounds(0, 0, 800, 600);
            window.setVisible(true);         
            window.addWindowListener(new WindowAdapter()
                public void windowClosing(WindowEvent e)
                    System.exit(0);
            setFocusable(true);
            this.createBufferStrategy(2);
            buffer = getBufferStrategy();
            thread = new AnimationThread();  
           paintAlien();
        public void paintAlien()
            Graphics2D g = (Graphics2D)buffer.getDrawGraphics();
            g.setColor(Color.black);
            g.fillRect(0, 0, getWidth(), getHeight());
            alien = new AlienEntity(this);
            alien.paint(g);
            buffer.show();
        public void setBufferstrategy(BufferStrategy buffer)
            buffer = buffer;
        public ImageHandler getImageHandler()
            return imageHandler;
        public static void main(String[] args)
            SpaceInvaders canvas = new SpaceInvaders();  
            canvas.thread.start();
    }Can someone please take the time an give me some pointers.
    Cheers

    I've tracked the problem to this bit of the code in the ImageHandler class:
    public BufferedImage loadImage(String name)
            try
                java.net.URL url = null;
                url = getClass().getResource(name);
                System.out.println(url); //to check whether the image was found
                return ImageIO.read(url);           
            catch(Exception e)
                System.exit(0);
                System.out.println("image not found");
                return null;
        For some reason the url = getClass().getResource(name); equals null even though the name I supply as an argument is exactly the same as the file name (alien4.gif).
    I'm not too sure whether the problem's with my code or the way netbeans is setup. Can someone please help.

  • Color printing help with large graphics Reader 11.0.3

    Good morning!  We recently upgraded to 11.0.3.  Windows 7 64-bit.  We've had issues printing large color graphics from Reader 11.
    For example, the PDF will have an intricate purple graphic with matching purple text blocks underneath.  Print preview shows correctly, but when printed the graphic prints brown instead of purple.  The purple text blocks print correctly.  This seems to happen sporadically, but seems to be with complex graphics.
    Documents from all other apps print OK and if we open this .pdf from Acrobat X Standard and export it to a .png file the colors print correctly. 
    The graphic files come from a myriad of sources and customers and we don't have control over the way the documents are originally saved or what apps are used to create the artwork. 
    Any idea why the graphics colors aren't printing and if there are settings we can adjust in Reader 11 so they will print correctly?
    We've tried:
    - Printing to several printers with different drivers and all yield the same results.  (Toshiba eStudio 3530c with PCL6 and PS drivers, Epson Artisan 835, HP OfficeJet 8600, Samsung CLX-6200x)
    - Adjusting the Overprint Preview settings under File -> Preferences and setting "Simulate Overprinting" under the Advanced button in the print preview window.
    - Selecting "Print As Image" under the Advanced button in the print preview window.
    - Adjusting the Document Color Options under File -> Preferences -> Accessibility.
    Thanks in advance for any help!

    Fastest thing you can try: use Windows Explorer to navigate to C:\Program Files (x86)\Adobe\Reader 11.0\Reader, then double-click on Eula.exe and accept the license agreement.
    If that doesn't work, you can try using this tool to first remove all traces of Reader from your computer:
    http://labs.adobe.com/downloads/acrobatcleaner.html
    Then, you can download the full offline Reader installer from
    http://get.adobe.com/reader/enterprise/
    After downloading, restart your computer and run the installer before doing anything else.

  • I need help with a software update problem??

    I recently got a new macbook pro and I was doing a software update last night as it was required but then when it started to do the update the computer installed the software and then a barring noise came from the mac and it tried to restart 4 times before it eventually came back on. The software trying to install was Fireware 800 I think. Can anyone help with this?

    Try MacBook notebook forum to talk to other users, or OS Software (Lion or Snow Leopard)
    Does not sound like an Apple OS update though.
    http://support.apple.com/downloads/
    https://discussions.apple.com/community/notebooks
    http://www.apple.com/support/macbookpro

  • Need help with "Nokia Software Updater"...Plz

    hi
    plz help me
    every time i try to install
    and it gave me this MSG
    " Error 2738.Could not access VBScript run time for custom action."
    my Lap work with W.vista
    and i have N95-8GB
    plz i need a help to update my phone

    Please do a search on this forum for "6280 software update" and you will have your answer.
    Many people have written here about Nokia software updater that tries to flash their 6280 phones with V6.10 (intended for the 6288) and then breaks their phones.
    I myself was busy downloading the firmware for a friends 6280 that was just minutes away from being flashed with 6.10 when I came across messages on many sites telling about the issue with the software updater and 6280 phones. I managed to save that 6280 from sure doom.
    If you also searched before hand you would not have this trouble.
    You need to take the phone to a nokia Service centre to have it flashed now and get it into a working state.

  • Not exactly iweb - need help with a graphic for my site

    This doesn't fit anywhere so dumping it here. I drew by hand a graphic I want to use with iweb to put on my site as my site's logo. Main problem is that getting the background transparent isn't working well as when it was scanned the scanner didn't back the background "pure" white. I have tried adjusting the whitepoint and setting the color depth down, but still no good. I don't know a ton about graphic program use. I have an older copy of graphic converter that came on this powerbook when i got it. I would be fine having the graphic loose the marker look and have solid fill colors - just I am not good enough with computer drawing tools to do it on the computer! So I either need to get a volunteer to help me out, or some help with some detailed instructions to get this to work out... (also I am broke so no cost/shareware is only option here)
    many thanks!!!!
    I can get you a scanned jpg of the pic if needed.

    THANK YOU/___sbsstatic___/migration-images/migration-img-not-avail.png so the tolerance makes it not care so much about the gradations in color? what else is tolerence good for?
    I have a cleaner copy now after someone suggested GIMP, so played with it last night - though couldn't figure out transparency - that was clear on converter- just not cooperative till these wonderful directions.
    So now I know how to do it without messing with the pic, and with messing with it - both good lessons and got a bit brighter color out of the deal.
    many thanks for the straightforward and clear directions, they worked perfectly/___sbsstatic___/migration-images/migration-img-not-avail.png extra strars for you/___sbsstatic___/migration-images/migration-img-not-avail.png

  • Need help with buying graphics card and ram for MSI 865PE NEO 2-V

    Hi,
    I want to buy 1GB of ram for motherboard MSI 865PE NEO 2-V I need help with finding correct parts.
    I also want to buy 512Mb or 1GB graphics card.
    as i said before i need help with finding correct ones so they match motherboard, I would appreciate if any one would post link to cheap and fitting parts.
    I found graphics card allready, i just need to know if it will fit.
    the card is
    NVIDIA GeForce 7600 GS (512 MB) AGP Graphics Card
    Thanks for help.

    here you can see test reports for your mobo:
    http://www.msi.com/product/mb/865PE-Neo2-V.html#?div=TestReport

  • Please help with RAID driver update.

    I need a little help with updating my RAID drivers. I have P55-GD65 motherboard and some SATA2 hard drives connected in RAID arrays. I am running Win7 64bit.
    I already downloaded and installed:
    “Intel P55 AHCI / RAID Drivers Ver: 8.9.0.1023”
    from the MSI support web page. The setup file installed the “Matrix Storage Manager” and  the “Matrix Storage Console”
    On the same web page I see another download link:
    “Intel Matrix Storage Manager Driver Ver: 9.5.0.1037”
    It looks like I already installed the manager with the previous driver. Do I need to install this one too? What is the difference between both?
    Also when I open the “Intel Matrix Storage Manager Driver Ver: 9.5.0.1037” I see 2 executable files:
    “iata_cd.exe” and “iata_enu.exe”
    I read the “Readme.txt” provided, but I couldn't find information on what is the difference between the EXE files and which one I should use.

    Quote
    I read the “Readme.txt” provided, but I couldn't find information on what is the difference between the EXE files and which one I should use.
    Use either one.  It doesn't matter in a functional way.

  • Help with Footers (New Update Glitch)

    Hi there,
    I'm in need of some urgent help with my website as upon publishing with the new update installed all my footers have changed.
    I now have massive gaps between where my content ends and the footer begins on almost every page. Example.
    Pages which are attached to the Master pages are not reading the same footer positions now. For example, my home page footer begins at nearly 1300 but the master it's attached to it should be closer to 950..... Everything was fine until the update today.
    Any help would be appreciated. Thanks!

    Maybe I can explain this a little better, issue is still going on, spoke with an Adobe representative but didn't get any helpful advice, actually got no advice other than to send the file in.
    So here's my home page: you can see the gap between the content and the footer (with the footer starting at around 1300.
    But then here's the Master page it's attached to, the footer is set to start way higher, this is happening on every one of my pages.

  • Help with automating "System Update"

    edit:
    please help - who do I contact in Lenovo / IBM to get real help with this ?
    this is a corporate project and I need to resolve this as soon as possible.
    does anyone from Lenovo actually read this forum?
    I've opend a support call in Lenovo's helpdesk (via email) but no reply except an automated one for... like a week.
    help! help! help! we don't mind paying for it, we NEED to resolve this.
    any help at all would be greatly appretiacted. please point me at the right direction?
    sorry for this venting but really, I just need to get a move on this already... :-0
    can anyone at all help ?
    any idea where I can find more information / expert assistance ?
    thanks for any help...
    -Shay
    Hi,
    I've been able to fully automate System Update distribution using Group Policy. this works perfectly.
    I am now trying to achive the same functionality using scritps.
    the problem: I get quite a few prompts for "License Agreement" - not the "master" initial one, only a few for the different installs.
    here's my setup:
    1. a local server is the repository.
    2. I import a .reg file before installing "System Update" using an automated install.
    3. after a restart, a command runs on the local machine.
    here are the details:
    registry settings:
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Lenovo\System Update]
    "LanguageOverride"="EN"
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Lenovo\System Update\UserSettings\General]
    "IgnoreLocalLicense"="YES"
    "DisplayLicenseNotice"="NO"
    "DisplayLicenseNoticeSU"="NO"
    "ExtrasTab"="NO"
    "RepositoryLocation1"="***my internal server here ****"
    "RepositoryLocation2"=""
    "RepositoryLocation3"=""
    "NotifyInterval"="36000"
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Lenovo\System Update\UserSettings\Scheduler]
    "SchedulerAbility"="YES"
    "SchedulerLock"="LOCK"
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Lenovo\MND\TVSUAPPLICATION]
    *** network drive mapping here, this part works ***
    also, I use this command to run the updates:
    call "C:\Program Files\Lenovo\System Update\tvsu.exe" /CM -search A -action INSTALL -IncludeRebootPackages 1,3,4 -noicon
    I am just about desperate... I would REALLY REALLY appreciate any help, hint etc :-)
    Thanks for ...even trying... lol
    regards,
    Shay
    Message Edited by catman2u on 03-18-2008 05:04 AM
    Message Edited by catman2u on 03-25-2008 02:41 AM

    catman2u wrote:
    does anyone from Lenovo actually read this forum?
    From the Communiy Rules in the Welcome section....
     Objectives of Lenovo Discussion Forums
    These communities have been created to provide a high quality atmosphere in which users of Lenovo products and services may share experiences and expertise. While members from Lenovo may participate at intervals to engage in the discussions and offer advice and suggestions, this forum is not designed as a dedicated and staffed support channel. This is an informal and public forum, and Lenovo does not guarantee the accuracy of information and advice posted here -- see important Warranty information below.
    No amount of ranting is going to get you anything more than you will achieve with a clear exposition of your issue... so you might want to try doing that instead of ranting and assuming that everyone already knows what you know etc etc.
    Cheers,
    Bill
    I don't work for Lenovo

  • Need help with my graphic calculator!!!

    Hello everybody!! I need help with my little program I made.... The problem is that I am unable to use to calculate but it is possible to compile the code!! What should I do?? Thanks in advance.
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    class Aritmetik extends JFrame implements ActionListener{
         private JLabel l1 = new JLabel("Tal1: ", JLabel.LEFT);
         private JLabel l2 = new JLabel("Tal2: ", JLabel.LEFT);
         private JLabel l3 = new JLabel("Resultat",JLabel.LEFT);
         private JLabel l4 = new JLabel(" ", JLabel.RIGHT);
         private JTextField t1 = new JTextField(" ",10);
         private JTextField t2 = new JTextField(" ",10);
         private JButton b1 = new JButton("+");
         private JButton b2 = new JButton("-");
         private JButton b3 = new JButton("*");
         private JButton b4 = new JButton("/");
         public Aritmetik(){
              Container v = getContentPane();
              v.setLayout(new GridLayout(5,2));
              v.add(l1);
              v.add(t1);
              v.add(l2);
              v.add(t2);
              v.add(b1);
              v.add(b2);
              v.add(b3);
              v.add(b4);
              v.add(l3);
              v.add(l4);
              b1.addActionListener(this);
              b2.addActionListener(this);
              b3.addActionListener(this);
              b4.addActionListener(this);
              pack();
              setVisible(true);
              setDefaultCloseOperation(EXIT_ON_CLOSE);
         public void actionPerformed(ActionEvent e){
              int tal1 = Integer.parseInt(t1.getText());
              int tal2 = Integer.parseInt(t2.getText());
                   if(e.getSource() == b1){
              if(t1.getText().equals("") || t2.getText().equals(""))
                                       JOptionPane.showMessageDialog(null, "Mata in tal!");
                   else{
                        l3.setText("Resultat ");
                   l4.setText(" " + (tal1+tal2));
                   else if(e.getSource() == b2){
                        int sub = tal1-tal2;
                        l4.setText(" " + (sub));
                   else if(e.getSource() == b3){
                        int multi = tal1*tal2;
                        l4.setText(" " + (multi));
                   else if(e.getSource() == b4){
                        int div = tal1/tal2;
                        l4.setText(" " + (div));
                   public static void main(String[] arg){
                   Aritmetik A =new Aritmetik();

    Here is your problem:
    public void actionPerformed(ActionEvent e){
      int tal1 = Integer.parseInt(t1.getText().trim());  // add the trim()
      int tal2 = Integer.parseInt(t2.getText().trim());  // add the trim()
      if(e.getSource() == b1){
        if(t1.getText().equals("") || t2.getText().equals(""))
          JOptionPane.showMessageDialog(null, "Mata in tal!");
        else{
          l3.setText("Resultat ");
          l4.setText(" " + (tal1+tal2));
      }... Better ...
    public void actionPerformed(ActionEvent e)  throws NumberFormatException {
      String tala = t1.getText().trim();
      String talb = t2.getText().trim();
      if ( tala == null  ||  "".equals(tala)  ||  talb == null  ||  "".equals(talb) ) {
        JOptionPane.showMessageDialog(null, "Mata in tal!");
        return();
      int tal1 = Integer.parseInt(tala);
      int tal2 = Integer.parseInt(talb);
      if(e.getSource() == b1){
        l3.setText("Resultat ");
        l4.setText(" " + (tal1+tal2));
      else if(e.getSource() == b2){
        int sub = tal1-tal2;
        l4.setText(" " + (sub));
      else if(e.getSource() == b3){
        int multi = tal1*tal2;
        l4.setText(" " + (multi));
      else if(e.getSource() == b4){
        int div = tal1/tal2;
        l4.setText(" " + (div));
    }Message was edited by:
    abillconsl

  • I have a hp a6814y computer and need help with a graphics card

    okay i wanna upgrade my hp with an actual graphics card, so i can play games without it lagging. i mainly play rts games, like command and conquer generals, etc and about to get company of heros. now i need to know what kind of card i can put in this computer. i would like to put this one in 
    http://www.newegg.com/Product/Product.aspx?Item=N82E16814102824
    i hear people say the min is 300watts and some say 450watts. but then idk, if this card can hook up to my power supplie.
    i just need help getting a very good card for this computer without updating the power supplie

    Hi,
    Check with Athena as they maintain a PC Cross Reference list and see if the power supply that you have selected is compatible with your PC.
    HP DV9700, t9300, Nvidia 8600, 4GB, Crucial C300 128GB SSD
    HP Photosmart Premium C309G, HP Photosmart 6520
    HP Touchpad, HP Chromebook 11
    Custom i7-4770k,Z-87, 8GB, Vertex 3 SSD, Samsung EVO SSD, Corsair HX650,GTX 760
    Custom i7-4790k,Z-97, 16GB, Vertex 3 SSD, Plextor M.2 SSD, Samsung EVO SSD, Corsair HX650, GTX 660TI
    Windows 7/8 UEFI/Legacy mode, MBR/GPT

  • I need help with the Security Update 2006-002!

    Security update has really screwed up the two systems I've installed it on:
    1) My G4 PowerBook refused to reboot after the update, getting only as far as the initialApple screen. Rebooting with a 10.4 install disk and using Disk Utilities to try to repair the disk either results in an "Unable to unmount disk" error, or if Repair does proceed, it is unable to repair the disk. I get a "Invalid node structure" error message, then a "Rebuilding B-Tree" message, then a "The Voluma Macintosh HD could not be repaird" message, and Repair quits with a "Error: the underlying task reported failure on exit" message.
    2) On my Dual 2 GHz G5 desktop, Safari appears to be unable to load more than six URL:s in 6 tabs; I read about 20 webcomics all organized in a bookmarks folder, and my usual practice is to select "Open in tabs" to open them all at once. Heretofore Safari has opened all the tabs and all the URLs without a hitch. After the update it will open all the ttabs but only about the first six sites load - all the rest just sit there spinning their wheels.
    Also it has hosed iChat on my Dsktop. iChat will open, but will not send or receive chats, and will not open the buddy window.
    Also Also, the system frequently hangs, seizing up anywhere from 30 seconds to a few minutes, then resuming normally. Safari seems to be the culprit, but I can't really tell.
    I need an update to recover from the effects of the last update.

    I'm not very knowledgeable on macs yet being a new user (switcher) However, there appear to have been too many problems for too many people and too many systems associated with this update for it to be co-incidental. Take a look through the topics since the update appeared. My computer is brand new. The update did something that screwed something in the startup file (or whatever) The nice man in India helped me get the computer going by removing all sorts of wonderous things, this after his colleague in Cork had sent me all sorts of stuff to my work address to try out when I got home, like pram and nvram (which only made things worse) and other things. Now my computers fixed. Except that there's now no printer, it won't find the drivers off the install discs and any driver I load from canon isn't recognised or a script isn't recognised. I bought this thing to get away from problems like this on PCs!!!!
    iMac Intel 20"   Mac OS X (10.4.4)  

Maybe you are looking for

  • Is there a way to retrieve an Apple ID using the backup email?

    Hi! So I have an iPad mini that I purchased about a year ago and I activated it with an apple ID that was under by brother's name. Recently I updated iTunes on it and it reset. I have to put the apple ID that i activated it with but I can't remember

  • Hierarchy column in Prompt

    Hi all, I am using Project hierarchy column in dashboard prompt. Levels in this hierarchy are total ->project group-> project subgroup->projects. created a report with project hierarchy and Budget. My requirement is when i select project group in pro

  • PlayBook only red light comes on when connected to charger/usb and then nothing else HELP PLEASE !!!!

    got a playbook which all of a sudden starting doing this tried the debricking method tried connecting ot my mac without the battery and still nothing doesnt connect and also tried on pc but still nothing someone please help i need to get up and runni

  • Condition type for rounding-off

    Dear all, Is there any pricing condition for rounding off the PO values, For example if the total PO Value is comes Rs 5990/- & i want to make it Rs 6000/-.In the same way i want to deduct some amount to make the rounding off like total PO Value come

  • Mac pro 1.1 2006 universal black  power lead uk

    Hi as i am new to Mac could using the wrong power cable cause the mac pro to go into power safe mode ? i get a message on my screen saying DIGITAL INPUT IN POWER SAVE MODE,PRESS COMPUTER POWER BUTTON AND ANY KEY ON KEYBOARD OR MOVE MOUSE TRIED IT BUT