Change images on mouse click

hi,
cud anyone help me to change image in a JPanel in JFrame.On MouseClick event. the image should in an panel on mouseclick,plz explain with example source code.
thank u

I dvlp MyPanel to accept 2 image file name.
You can easy change to accept Image instead of file name.
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
public class Test {
public static void main(String args[]) {
JFrame f = new JFrame("Test");
MyPanel p = new MyPanel("YourFirstImage.gif", "YourSecondImage.gif");
p.add(new JButton("Click on Panel (not Button)"));
f.setContentPane(p);
f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
f.pack();
f.setVisible(true);
class MyPanel extends JPanel implements MouseListener {
Image image, image1, image2;
public MyPanel(String image1Name, String image2Name) {
//load image
try {
image1 = getToolkit().getImage(getClass().getResource(image1Name));
image2 = getToolkit().getImage(getClass().getResource(image2Name));
MediaTracker mt = new MediaTracker(this);
mt.addImage(image1, 0);
mt.addImage(image2, 0);
mt.waitForAll();
} catch (Exception e) { e.printStackTrace(); }
this.image1 = image1;
this.image2 = image2;
this.image = image1;
this.addMouseListener(this);
public void paintComponent(Graphics g) {
g.drawImage(image, 0, 0, this.getWidth(), this.getHeight(), this);
public void mouseClicked(MouseEvent e){
image = (image == image1) ? image2 : image1; // switch between image1, image2
repaint();
public Dimension getPreferredSize() {
Dimension dim = super.getPreferredSize();
int w = Math.max(image1.getWidth(this), image2.getWidth(this));
int h = Math.max(image1.getHeight(this), image2.getHeight(this));
w = Math.max(dim.width, w);
h = Math.max(dim.height, h);
return new Dimension(w, h);
public void mouseEntered(MouseEvent e) {}
public void mouseExited(MouseEvent e) {}
public void mousePressed(MouseEvent e) {}
public void mouseReleased(MouseEvent e) {}

Similar Messages

  • Create image on mouse click

    Hello,
    I'm trying to create an applet that will have a dot (any color) appear when the mouse is clicked. Most places have examples of buttons, but I am having a tough time figuring this one out.
    Thanks,
    -Rain

    Hi,
    you have to divide the process into several steps:
    get the image tag at the caret position
    read it' properties
    bring up a window with ooptions to change those properties
    remove the existing image tag
    place a new image tag with the new properties at the caret position
    alternately you can change the properties of the existing image tag.
    There a reloads of threads in this forum about how to change tag properties or the tag structure of a HTML document, so I omit this. Please try to do a search for such topics in this forum.
    A GUI (Java classes ImageDialog and ImagePreview) for entering image properties is available at http://www.calcom.de/eng/dev/index.htm
    Directly changing a table's width with the mouse is more complex, because you'd have to constantly write new width properties for the table and update the document while the mouse is moved. Probably better would be to bring up a dialog window to change the table properties instead.
    Hope this helps
    Ulrich

  • Change image on mouse event

    I would like to have an image change when when the mouse is over an element any help is aprresiated
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.*;
    import java.awt.geom.*;
    import java.io.*;
    * @author  tom
    public class CNP extends java.applet.Applet {
        File rcfile=null;
      java.io.BufferedReader br;
        Image img;
      int H;
      int W;
       Label labl(){
          img=getImage(getCodeBase(),"ide.gif");
        final Label label=new iLabel(img);
        Graphics gr=this.getGraphics();
    label.paint(gr);
        label.addMouseListener(new java.awt.event.MouseAdapter() {
                public void mouseClicked(java.awt.event.MouseEvent evt) {
                    label1MouseClicked(label,evt);
                 public void mouseExited(java.awt.event.MouseEvent evt) {
                    label1MouseExited(label,evt);
                public void mouseEntered(java.awt.event.MouseEvent evt) {
                    label1MouseEntered(label,evt);
        return label;   
    String lbl[]={"a","B","Cc","dDd","E"};
        int i=0;
        /** Initialization method that will be called after the applet is loaded
         *  into the browser.
        public void init() {
             try{
      java.io.BufferedReader br= new BufferedReader(new FileReader(rcfile));
      catch(Exception e){e.printStackTrace();}
             setLayout(null);
           for(i=0;i!=lbl.length;i++){
           CreateButton(i);
       public void paint(Graphics g){
        g.setColor(new Color(33,88,216,255));
           g.fillOval(63, 63, 74, 74);
       int x[]={0,100};
           int y[]={0,100};
    int R=75;
    float dx;
    float dy;
           int X=50;
           int Y=50;
           int Cx=100;
           int Cy=100;
           int n=lbl.length;
        void CreateButton(int i){
             Arc2D arc=new Arc2D.Double();
             int t=360/lbl.length;
      arc.setArcByCenter(Cx, Cy, R, 0, t*i, arc.OPEN);
      dx=Math.round(arc.getEndPoint().getX());
      X=Math.round(dx);
      dy=Math.round(arc.getEndPoint().getY());
      Y=Math.round(dy);
       Label l= labl();
        W=this.img.getWidth(null);
       H=this.img.getHeight(null);
    if(Cx>X){X=X-W;}
      if(Cy>Y){Y=Y-H; }
       this.add(l);
       l.setBounds(X,Y,W,H);
        void label1MouseClicked(Label l1,MouseEvent evt){
        javax.swing.JOptionPane.showMessageDialog(null,l1.getText()+" ("+evt.getX()+","+evt.getY()+")","CNP",1);
        void label1MouseEntered(Label l1,MouseEvent evt){
         img=getImage(getCodeBase(), "ide_hover.gif");       
       l1=new CNP.iLabel(img);
        l1.paint(this.getGraphics());
        void label1MouseExited(Label l1,MouseEvent evt){
        javax.swing.JOptionPane.showMessageDialog(null,l1.getText()+" ("+evt.getX()+","+evt.getY()+")","CNP",1);
        class iLabel extends Label{
    public Image image;
        iLabel(Image i){
        this.image=i;
    public void setImage(Image i){
    this.image=i;
    public void paint(Graphics g){
    super.paint(g);
    g.clearRect(0, 0, image.getWidth(null), image.getHeight(null));
        g.drawImage(this.image,0,0,this);
    }

    i got it to work with
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.*;
    import java.awt.geom.*;
    import java.io.*;
    * @author  tom
    public class CNP extends java.applet.Applet {
        File rcfile=null;
        java.io.BufferedReader br;
        Image img;
        int H;
        int W;
        Label labl(){
            img=getImage(getCodeBase(),"ide.gif");
            final iLabel label=new iLabel(img);
            Graphics gr=this.getGraphics();
            label.paint(gr);
            label.addMouseListener(new java.awt.event.MouseAdapter() {
                public void mouseClicked(java.awt.event.MouseEvent evt) {
                    label1MouseClicked(label,evt);
                public void mouseExited(java.awt.event.MouseEvent evt) {
                    label1MouseExited(label,evt);
                public void mouseEntered(java.awt.event.MouseEvent evt) {
                    label1MouseEntered(label,evt);
            return label;
        String lbl[]={"a","B","Cc","dDd","E"};
        int i=0;
        /** Initialization method that will be called after the applet is loaded
         *  into the browser.
        public void init() {
            try{
                java.io.BufferedReader br= new BufferedReader(new FileReader(rcfile));
            catch(Exception e){e.printStackTrace();}
            setLayout(null);
            for(i=0;i!=lbl.length;i++){
                CreateButton(i);  
        public void paint(Graphics g){
            g.setColor(new Color(33,88,216,255));
            g.fillOval(63, 63, 74, 74);  
        int x[]={0,100};
        int y[]={0,100};
        int R=75;
        float dx;
        float dy;
        int X=50;
        int Y=50;
        int Cx=100;
        int Cy=100;
        int n=lbl.length;
        void CreateButton(int i){
            Arc2D arc=new Arc2D.Double();
            int t=360/lbl.length;
            arc.setArcByCenter(Cx, Cy, R, 0, t*i, arc.OPEN);
            dx=Math.round(arc.getEndPoint().getX());
            X=Math.round(dx);
            dy=Math.round(arc.getEndPoint().getY());
            Y=Math.round(dy);
            Label l= labl();
            W=this.img.getWidth(null);
            H=this.img.getHeight(null);
            if(Cx>X){X=X-W;}
            if(Cy>Y){Y=Y-H; }
            this.add(l);
            l.setBounds(X,Y,W,H);   
        void label1MouseClicked(iLabel l1,MouseEvent evt){
            javax.swing.JOptionPane.showMessageDialog(null,l1.getText()+" ("+evt.getX()+","+evt.getY()+")","CNP",1);
        void label1MouseEntered(iLabel l1,MouseEvent evt){
            Graphics gr=this.getGraphics();
            img=getImage(getCodeBase(), "ide_hover.gif");
            Point p=l1.getLocation();
            l1.setCursor(new Cursor(Cursor.HAND_CURSOR));
            l1.setImage(img, p);
            l1.paint(gr);
        void label1MouseExited(iLabel l1,MouseEvent evt){
             Graphics gr=this.getGraphics();
            img=getImage(getCodeBase(), "ide.gif");
            Point p=l1.getLocation();
            l1.setImage(img, p);
            l1.paint(gr);
            this.repaint();
        class iLabel extends Label{
            public Image image;
            int ix=0;
            int iy=0;
            iLabel(Image i){
                this.image=i;
            public void setImage(Image i,Point p){
                this.image=i;
                this.ix=p.x;
                this.iy=p.y;
            public void paint(Graphics g){
                super.paint(g);
                g.clearRect(0, 0, image.getWidth(null), image.getHeight(null));
                g.drawImage(this.image,ix,iy,this);
    }

  • Inserting an Image on mouse clicked HELP

    Hi.
    I', trying to make a Tic tac toe game(if you do not understand please run this programme).
    The thing I want to happen is:
    the user clicks over a "sqare" and when mouse is released the image (X or O) appears on that position.
    I can't get my programme to do this.
    I'm using the MouseListener Interface to implement the mouse events, but when, for example, I click on one square no image is loaded on that position. what can I do?
    Here's my code.
    import java.awt.event.*;
    import javax.swing.*;
    import java.awt.*;
    public class Gato extends JFrame implements MouseListener{
         Container content = getContentPane();
         JTextArea texto = new JTextArea(1,150);
         Graphics2D g2d;
         Image cruz = Toolkit.getDefaultToolkit().getImage("cruz.gif");
         Image bola = Toolkit.getDefaultToolkit().getImage("bola.gif");
         public static void main(String [] coms){
              new Gato();
         public Gato(){
              content.add(texto, BorderLayout.SOUTH);
    setSize(300,300);
    setVisible(true);
    setResizable(false);
    setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    addMouseListener(this);
         public void paint(Graphics g){
              g2d = (Graphics2D)g;
              g2d.draw3DRect(100,50,1,200,true);
              g2d.draw3DRect(175,50,1,200,true);
              g2d.draw3DRect(35,111,200,1,true);
              g2d.draw3DRect(35,177,200,1,true);
              int x = 3;
              int y = 25;
              g2d.drawImage(cruz, x, y, this);
              x = 260;
              g2d.drawImage(bola, x, y, this);
         public void pon(int x, int y){
              g2d.drawImage(cruz, x, y, this);
         public void mousePressed(MouseEvent e){}
         public void mouseClicked(MouseEvent e){}
         public void mouseReleased(MouseEvent e){
              texto.append(" " + e.getX());
    pon(e.getX(),e.getY());
         public void mouseEntered(MouseEvent e){}
         public void mouseExited(MouseEvent e){}
    }

    Look at this:
    import java.awt.*;
    import java.awt.event.*;
    import java.math.*;
    public class TicTac extends Frame implements ActionListener
         Button   bx[]  = new Button[9];
         int      used;
         Font     f1    = new Font("System " , 1, 28);
         MenuItem ng    = new MenuItem("New Game");
    public TicTac() 
         super(" TicTacTo ");   
         setLayout(new GridLayout(3,3));
         addWindowListener(new WindowAdapter()
         {     public void windowClosing(WindowEvent ev)
              {     dispose();
                   System.exit(0);
         setBounds(60,60,159,179);
         for (int b = 0; b < bx.length; b++)
              bx[b] = new Button("");
              bx.setFont(f1);
              bx[b].setSize(50,50);
    bx[b].addActionListener(this);
         add(bx[b]);
         MenuBar mb = new MenuBar();
         Menu mm = new Menu("Option");
         ng.addActionListener(this);
         mb.add(mm);
         mm.add(ng);
         setMenuBar(mb);
         newboard();
         setVisible(true);
    public void newboard()
         for (int b = 0; b < bx.length; b++)
              bx[b].setLabel(".");
              bx[b].setEnabled(true);
         used = 0;
    public void actionPerformed(ActionEvent be)
         if (be.getSource() == ng)
              newboard();
              return;
         Button but = (Button)be.getSource();
         but.setLabel("X");
         but.setEnabled(false);
         used++;
         if (used != bx.length) Oplay();
    public synchronized void Oplay()
         int n = (int)(Math.random()*9);
         while (!bx[n].isEnabled()) n = (int)(Math.random()*9);
         bx[n].setLabel("O");
         bx[n].setEnabled(false);
         used++;
    public static void main (String[] args)
         new TicTac();

  • Manipulating an image on mouse click

    I've been tinkering with some code I found here:
    http://java.sun.com/docs/books/tutorial/uiswing/painting/example-swing/CoordinatesDemo.java
    It basically paints a dot on the point where the mouse is clicked.
    I've been trying to alter this by adding an image into the pane - my goal being that the dot would appear on top of the image. However the dot is still being painted behind the image and so it's not visible.
    Any ideas on this? I'm completely stumped. Thanks folks.

    That's normal.
    Every child of the panel is painted AFTER the paintComponent
    procedure is called, so that it overlaps the component background.
    Perhaps you should create your own image component that paints
    yout dot after having displayed the image, or you can overlap
    a trasparent (Jpanel derived) component over the image component
    and draw in its own paintComponent.
    For more info, read the chapter
    Creating an Gui with JFC-Swing/Swing features and Concepts/Painting,
    in the Java Tutorial.
    Regards
    Maurizio

  • Double image on mouse click

    Hi captivators
    I am editing a couple of demo slides. I have moved the
    background images up about 10 pixels as the action takes place
    right at the bottom of the screen. I have raised the mouse pointer
    in line with the buttons and all works fine until the mouse shows a
    click. When it clicks the old lower image appears on top of the new
    one creating a double image. How do I avoid this happening?

    Hi ntompkins
    What sounds like is happening is that maybe you took what was
    originally the background image, modified and reinserted as a
    standard image? If so, you may wish to try right-clicking and
    choosing "merge into background".
    Assuming you either already tried that and it isn't working
    or for some other reason it isn't working, you might try inserting
    a blank slide, configuring the background with the image, then
    select and copy all objects from the errant slide to the new.
    Finally, delete the new slide and maybe adjust the mouse position.
    Cheers... Rick

  • Change Color on mouse click

    Hi Guys.  I have followed Ned's code from another post, whereby if a text button is clicked, the color will change.  The code is like
    var clicked:Boolean = false;
    var clicked2:Boolean = false;
    btn1.addEventListener(MouseEvent.CLICK, btn1click);
    function btn1click(event:MouseEvent):void {
        clicked = true;
        var newColorTransform:ColorTransform = btn1.transform.colorTransform;
        if(clicked){
        newColorTransform.color = 0xc97f22;
        } else {
        newColorTransform.color = 0x000000;
        btn1.transform.colorTransform = newColorTransform;
        gotoAndStop(5);
    btn2.addEventListener(MouseEvent.CLICK, btn2click);
    function btn2click(event:MouseEvent):void {
        clicked2 = true;
        var newColorTransform:ColorTransform = btn2.transform.colorTransform;
        if(clicked2){
        newColorTransform.color = 0xc97f22;
        } else {
        newColorTransform.color = 0x000000;
        btn2.transform.colorTransform = newColorTransform;
        gotoAndStop(6);
    Now if I click on the first button, it changes color and stays like that, which is perfect.  If I click on btn2, this changes color and stays like it.  The problem is that if btn2 is pressed, it should change color and stay like it (as it is doing), but btn1 should return back to its normal color (black).  I am not sure how to achieve this.
    Any advise appreciated
    Cheers

    When you mention something is from another post it is helpful if you provide a link so that the context of the code offered can be understood. What you choose as a solution might not be the optimum choice.
    Use the following instead:
    var newColorTransform:ColorTransform = new ColorTransform();
    var btns:Array = new Array({btn:btn1, frameNum:5},{btn:btn2, frameNum:6});
    for(var i:uint=0; i< btns.length; i++){
        btns[i].btn.addEventListener(MouseEvent.CLICK, btnclick);
    function btnclick(evt:MouseEvent):void {
        var frameToGoTo:uint;
        for(var i:uint=0; i< btns.length; i++){
            if(evt.currentTarget == btns[i].btn){
                newColorTransform.color = 0xc97f22;
                frameToGoTo = btns[i].frameNum;
            } else {
                newColorTransform.color = 0x000000;
            btns[i].btn.transform.colorTransform = newColorTransform;

  • Change color with mouse click

    I have a textfield that has a red background color. How do i make it white by just clicking the textfield?

    See
    Component.setBackground
    MouseListener / MouseAdapter
    java.awt.Color

  • TreeSelectionListener detect if mouse click

    hi,
    i've got a JTree and I'm using a TreeSelectionListener to carry out different actions when the user clicks on nodes. however, sometimes i want to change the selection on the tree programmatically (i know how to do this bit), and for the action associated with clicking on the node not to happen.
    is it possible within the valueChanged method of the TreeSelectionListener to determine if the selection was changed by a mouse click or programmatically? or can anyone think of another way to approach this?
    cheers for any help!

    You can't do that with the event, but if you create a boolean variable named for example
    boolean programSelection = false;
    and when you change the selection programmatically you put the value to true. In the method valueChanged you have to test the value of programSelection like that :
    public void valueChanged(ChangeEvent e) {
       if (programSelection) {
          // the code when the selection come from the program
         programSelection = false;
       else {
          // the code when the selection come from the user
    }

  • Unable to select an image with right click of the mouse

    When in Library mode using grid view, right clicking on a thumbnail does not select the thumbnail, and previously selected items remain selected. If you then try to delete the item, you can inadvertently delete multiple items that you did not intend to delete and not the item you wanted to delete.
    Right clicking on an already selected image or one of a group of selected images works and all selected images can be deleted. However a right click on a non selected image should should drop any current selections and select only the image clicked. (This can be verified in Bridge)
    I am using Lightroom 1.3.1 in Windows XP SP2 with 2 gig of ram.

    Have you switched your mouse buttons i.e have you changed assignments to your mouse buttons in the control panel?
    If not, then clicking on an image will select it, CTRL-Click will select non-contiguous images, SHIFT-Click will select contiguous images.
    Right-clicking will show a context menu. (and the context menu will change if you have single multiple images selected: e.g if you select two images you will see a menu item Open in Compare that is not there if only a single image is selected, Delete Photo... becomes Delete Photos... etc)
    Also, in grid or filmstrip view you will see up to three levels of brightness on the frames around thumbnails:
    -lightest frame: the active image i.e. the one that will be opened if you go to develop mode, or will be used as "source" for synchronize command etc
    -medium: other images that you have selected.
    -darkest: images that are not selected.
    Selected images will also have a white frame immediately around the thumbnail.

  • Mouse clicks inside image in applet

    How can I respond to mouse clicks inside particular regions in an image loaded as part of an applet in a browser? ie, I want to send these clicks onto the server for the server to handle it and the server should change the image according to the mouse clicks.
    Thanks,

    /*  <applet code="ImageMouse" width="400" height="400"></applet>
    *  use: >appletviewer ImageMouse.java
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.image.BufferedImage;
    import java.io.*;
    import java.net.*;
    import javax.imageio.ImageIO;
    import javax.swing.*;
    public class ImageMouse extends JApplet
        JLabel label;
        public void init()
            ImageMousePanel panel = new ImageMousePanel();
            ImageMouser mouser = new ImageMouser(panel, this);
            panel.addMouseMotionListener(mouser);
            getContentPane().add(panel);
            getContentPane().add(getLabel(), "South");
        private JLabel getLabel()
            label = new JLabel(" ");
            label.setHorizontalAlignment(JLabel.CENTER);
            label.setBorder(BorderFactory.createTitledBorder("image coordinates"));
            Dimension d = label.getPreferredSize();
            d.height = 35;
            label.setPreferredSize(d);
            return label;
        public static void main(String[] args)
            JApplet applet = new ImageMouse();
            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 ImageMousePanel extends JPanel
        BufferedImage image;
        Rectangle r;
        public ImageMousePanel()
            loadImage();
            r = new Rectangle(getPreferredSize());
        protected void paintComponent(Graphics g)
            super.paintComponent(g);
            Graphics2D g2 = (Graphics2D)g;
            g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
                                RenderingHints.VALUE_ANTIALIAS_ON);
            int w = getWidth();
            int h = getHeight();
            int imageWidth = image.getWidth();
            int imageHeight = image.getHeight();
            r.x = (w - imageWidth)/2;
            r.y = (h - imageHeight)/2;
            g2.drawImage(image, r.x, r.y, this);
            //g2.setPaint(Color.red);
            //g2.draw(r);
        public Dimension getPreferredSize()
            return new Dimension(image.getWidth(), image.getHeight());
        private void loadImage()
            String s = "images/greathornedowl.jpg";
            try
                URL url = getClass().getResource(s);
                image = ImageIO.read(url);
            catch(MalformedURLException mue)
                System.err.println("url: " + mue.getMessage());
            catch(IOException ioe)
                System.err.println("read: " + ioe.getMessage());
    class ImageMouser extends MouseMotionAdapter
        ImageMousePanel panel;
        ImageMouse applet;
        boolean outsideImage;
        public ImageMouser(ImageMousePanel imp, ImageMouse applet)
            panel = imp;
            this.applet = applet;
            outsideImage = true;
        public void mouseMoved(MouseEvent e)
            Point p = e.getPoint();
            if(panel.r.contains(p))
                int x = p.x - panel.r.x;
                int y = p.y - panel.r.y;
                applet.label.setText("x = " + x + "  y = " + y);
                if(outsideImage)
                    outsideImage = false;
            else if(!outsideImage)
                outsideImage = true;
                applet.label.setText("outside image");
    }

  • Can't Download Images with Right-Click on Mouse

    I can't download images by right-clicking my mouse, like I do on my PC. For example, check out http://en.wikipedia.org/wiki/North_Dakota and look at the images of the flag, state seal and map near the top right corner of the page...
    When I place my cursor over any of these images on either my PC or my MacBook Pro, my cursor changes to a hand, indicating that the images are hyperlinked. If I right-click on an image, I can choose a SAVE AS command on my PC, but nothing happens on my MacBook Pro.
    If I left-click on a linked image, it simply zooms in, rather than taking me to another page. I'm using a small Kensington mouse.
    This could be a Firefox problem. I think I recall downloading some sort of extension that allows you to zoom in on images, and I suspect it's more or less taken over. If so, I'll have to track down the name of the extension and try and zap it.
    But I thought I'd check here first, just to see if other people have this same problem - or if you can suggest alternate strategies for downloading images.
    Thanks.

    Well, I found a novel solution - it's called Safari.
    I'll post on the Firefox forum to figure out why I
    can't download images with it, but it seems to work
    just fine with Apple's native browser. Thanks for all
    the tips.
    I just tried it, but I am using firefox 2.0 beta and I had no problems. Not sure what's going on. Have you tried any other pages or pics besides this one, which I don't think it would matter just wondering.

  • I have both Photoshop 4 and Photoshop 6 on my computer. When I am in Bridge and want to open an image by double clicking, it automatically opens in 6. I see, when I go to "open with" 6 is listed as "default" How can I change the "double click" defult to o

    I have both Photoshop 4 and Photoshop 6 on my computer. When I am in Bridge and want to open an image by double clicking, it automatically opens in 6. I see, when I go to "open with" 6 is listed as "default" How can I change the default to open an image with a double click in 4?

    You can associate files from the Bridge level and the Desktop level.
    In Bridge CS4, go to Preferences > File Type Associations and change it to Photoshop CS4 for the file types you want.
    If you want to open files from the Windows Desktop in CS4, these are the instructions:
    Do this from the Windows Desktop:
    If you want your image file to open in Photoshop and it doesn't, right click on it and choose
    Open with > Choose default program… select Photoshop CS4 or CS6 and checkmark "always use the selected program to open this type of file".

  • How do I change the cursor to image when you click on it?

    hi everyone,
    Iwould like a user to click on an image of a bottle, and the
    cursor to then turn into the bottle image. I have four bottles in
    total so I would like it to change whenever a user clicks on a
    different bottle image.
    Does anyone know how to do this at all?

    This has got nothing to do with Thunderbird.
    http://www.lmgtfy.com/?q=gmail+default+mail

  • Need a shortcut to "Allow pages to choose their own colors, instead of my selections above option preference" I know where it is and how to use it but I have to go through 7 mouse clicks to change it, then a few minutes later change it back. I also k

    Need a shortcut to "Allow pages to choose their own colors, instead of my selections above option preference" I know where it is and how to use it but I have to go through 7 mouse clicks to change it, then a few minutes later change it back. I also know the sequnce is alt t, alt o, alt c, alt a, then ok, ok. Got to be a way to make a one key short cut for this. I use a black background to reduce eye strain, but about 10% of the webpage I go to can't be send with black so I have to go into tools and hit 6 or 7 things to chnage it then after through with webpage have to do it all over at Not allow webpages to have own color. Very very cumbersome.
    == This happened ==
    A few times a week
    == made that way

    https://addons.mozilla.org/en-US/firefox/addon/toggledocumentcolors-198916/
    The above addon will solve your problem.
    Shortcut to toggle user color/page color :- Ctr+Shift+C

Maybe you are looking for

  • Nokia 5610 with dead(?) screen

    Hey guys I seem to have a problem! I was uploading some mp3 to my newly bought Nokia 5610, I got it 3 weeks ago. I installed the latest software etc etc. Now here we go: I was uploading the mp3's and at some point I had to go to college, and I though

  • Duplicate messages and mixed up headers in message list from IMAP server dovecot 2-2.2.16

    These may be two different problems, but they happen about the same time and resolution work arounds work for both. 1) My inbox occasionally fills up with duplicates of most (but not all) messages. There seems to be no rhyme or reason behind what get

  • Jsp----microsoft access---image

    Hi everyone, I am trying to save an image in a Microsoft Access database, so i can make a query to that image using jsp, and display the image in the .jsp. The problem is that I don't know what data type to declare in "access" when i am creating the

  • Subscription and online number, yet paying monthly...

    I have been a happy Skype user for quite some time, so I thought I would get an online number and a yearly subscription (landlines Sweden). Turns out though, that I am still paying about 9 EUR/month for the premium stuff. I thought I would qualify fo

  • Is it possible to copy my OS X discs to one DVD?

    I have the 3 OS X disc's that came wit my macbook plus itunes for my laptop plus iLIFE.. so what i wanted to do was throw away those 5 cd's and put them all into one DVD-R? 1. is that possible and how is it done? with win xp you jus make a copy of di