Help!! jdk1.4 is doing strange things.......bug?

hi just installed new jdk 1.4.....and my program doesn't work anymore..........The program always 'hangs' at the statement prepareImage.......if i use jdk1.3 there ain't no problem anymore...Is this a bug..?
package eralia;
import java.awt.*;
import java.awt.image.*;
import java.io.*;
import java.awt.print.*;
import javax.swing.*;
import java.util.*;
public class PrintModule implements Printable, ImageObserver {
PrintModule()
protected Vector Images = new Vector();
protected Vector lines = new Vector();
protected boolean printFlag = true, checked=false;
Image awtImage = null;
int imgwi=90;
int imghe=36;
public void clearAll()
Images = null;
Vector lines = null;
printFlag = true;
checked=false;
awtImage = null;
public void setChecked(boolean bool)
checked = bool;
public void loadImage(String filename,Integer wi, Integer ht, Integer xpos, Integer ypos)
Vector Im = new Vector();
Image awtImage = null;
try{
checked=false;
awtImage = Toolkit.getDefaultToolkit().getImage(filename);
if (awtImage==null) System.out.println("oh noooooooooo"+awtImage.toString());
while (!checked){checked = Toolkit.getDefaultToolkit().prepareImage(awtImage,90,36,this);//90.36
                  System.out.println(checked);}
Im.addElement(awtImage);
Integer imageWidth = wi;
Integer imageHeight = ht;
Im.addElement(imageWidth);
Im.addElement(imageHeight);
Im.addElement(xpos);
Im.addElement(ypos);
Images.addElement(Im);
if((imageWidth.intValue() <0 )|| (imageHeight.intValue() <0)) {printFlag = false;}
}catch(Exception x){x.printStackTrace();}
public void loadString(String line, int xpos, int ypos, String Font, int FontPix, String style)
Vector el = new Vector();
el.addElement(line);
el.addElement(new Integer(xpos));
el.addElement(new Integer(ypos));
el.addElement(Font);
el.addElement(new Integer(FontPix));
el.addElement(style);
lines.addElement(el);
public void print() {
PrinterJob pj = PrinterJob.getPrinterJob();
pj.setPrintable(this);
initPaper(pj);
//Include this statement if you need the print dialog
//pj.printDialog();
try{
if (checked)pj.print();
}catch(Exception e){System.out.println(e);}
public void initPaper(PrinterJob printJob)
PageFormat pgFormat = printJob.defaultPage();
Paper paper = pgFormat.getPaper();
// paper units equivalent to 0.3"
double DEFAULT_MARGIN = 0.1*72;
double w=6.2496;
double h=24552;
//paper.setSize(w,h);
paper.setImageableArea( DEFAULT_MARGIN,
DEFAULT_MARGIN,
(paper.getWidth()-(2*DEFAULT_MARGIN)),
(paper.getHeight()-(2*DEFAULT_MARGIN)));
pgFormat.setPaper(paper);
printJob.setPrintable(this,pgFormat);
public int print(Graphics g, PageFormat f, int pageIndex){
if(pageIndex >= 1) return Printable.NO_SUCH_PAGE;
Graphics2D g2d = (Graphics2D) g;
g2d.translate(f.getImageableX(), f.getImageableY());
for (int i=0;i<Images.size();i++)
printImage(g2d, (Vector)Images.elementAt(i));
for (int i=0;i<lines.size();i++)
printString(g2d, (Vector)lines.elementAt(i));
return Printable.PAGE_EXISTS;
public void printString(Graphics2D g2d, Vector string){
if((string == null)|| (g2d == null)) return;
int x = ((Integer)string.elementAt(1)).intValue();
int y = ((Integer)string.elementAt(2)).intValue();
if ((String)string.elementAt(5)=="PLAIN")
g2d.setFont(new Font((String)string.elementAt(3), Font.PLAIN,
((Integer)string.elementAt(4)).intValue()));
else {
g2d.setFont(new Font((String)string.elementAt(3), Font.BOLD,
((Integer)string.elementAt(4)).intValue()));
if (checked)g2d.drawString((String)string.elementAt(0),x,y);
public void printImage(Graphics2D g2d, Vector image){
if(((Image)image.elementAt(0) == null)|| (g2d == null))
{return;}
int wid = ((Integer)image.elementAt(1)).intValue();//imageWidth;
int ht = ((Integer)image.elementAt(2)).intValue();//imageHeight;
int x = ((Integer)image.elementAt(3)).intValue();//printLoc.x;
int y = ((Integer)image.elementAt(4)).intValue();//printLoc.y;
if (checked)g2d.drawImage((Image)image.elementAt(0),x,y,wid,ht, null);
public boolean imageUpdate(Image img,int infoflags,int x,int y,int width,int height)
if (printFlag = false) print();
return true;}
And another question.....I use JBuilder....when i compile the program and run it under jbuilder everything works fine......When i 'pack' it with installanywhere...install it...and execute it....not everything works fine.....strange...
Anybody ideas.....?

OH ! Boy its gonna be fun...
problem like this is with me also..
i have written some code with many classes..and i am trying to delete some elements from defaultlistmodel ..
It is throwing error ArrayindexoutofBoundExcp. with 1.4 beta3 but not with 1.2.2 ..
I have pasted this question in Swing topic , java language topic and to SUN bug contaniner also..
Sorry baby !
Sanjeev Dhiman

Similar Messages

  • Help! Ipod does strange things when connected to a comp!

    hey guys,
    ok my Ipod seems to not be able to work when connected to a computer.
    My Ipod mini doesnt work at all when connected to a computer. After charging my Ipod for afew hours (i've noted it hasnt hit full power yet an will be waiting now till it is fully charged again till i retry) but i connect my ipod through a usb port (tried mulitple ports) and it immediately goes from almost full battery to saying "do not disconnect" then it starts audibly beeping and the screen changes to the screen telling me there is no battery power left.
    The Ipod is not even charging while connected to the computer apart from the 1st few seconds of being connected. The ipod then stays on the screen of the graphic of the empty battery with the exclamation point.
    Nowhere do i see the computer or Itunes recognising the ipod being connected, i only hear the sound the computer makes wen it disconnects after the ipod crashes.
    Ipod only malfunctions when attached to a computer and works normally when playing music.
    thanx for any help guys
    - Spruce

    ok update, ive now charged the ipod (left it for approx 10 hours) with the screen showing it was charging. After the approx 10 hours it hadnt reached full. I disconnected the ipod mini and tried to listen to 1 song and it told me the battery was empty.
    im now assuming the problem has only to do with just the battery.
    Anyone got any ideas?

  • My Mac is doing strange things: delaying between users, mouse flickering and bouncing, gets stuck with rainbow wheel flickering. I ran the appel hardware test and it detected an error: 4MOT/4/40000003:HDD-1233 Does anybody know what that means? HELP!

    My imac is doing strange things:
    -delaying between users: when closing session it goes to blue, then takes a while to appear users signin box, and then wont recognize mouse command to enter until a couple of minutes later... then everything seems alright until....
    -it gets stuck between things, the rainbow wheel appears and its just delays there forever....
    -and every now and then the mouse starts flickering and bouncing wildly onscreen.
    I ran the appel hardware test and it detected an error:
    4MOT/4/40000003:HDD-1233
    Does anybody know what that means? HELP!

    WZZZ answered about where to get iStat. And do check the SMART status. If it is an overheating problem due to a fan or logic board problem, your hard drive is possibly cooking itself to death. If so it isn't a faulty hard drive even though the hard drive might fail. So assuming it's a temperature problem, even if you are able to repair things on the disk with software, that is working on symptoms, not causes. I could be wrong however.
    RE: AppleCare: Your iMac came with one year of AppleCare (Apple's warranty program), but within the first year you can buy 2 more years. You have to extend by the one year anniversary of purchase of the computer. Your 10,1 is too old to still be in the first year, and since you asked what it was, I'm sure you don't have it. Bottom line meaning is that whatever this problem turns out to be, you'll have to pay for it. Unless there is something like this. It is for 2011 iMacs with certain Seagate drives. You can put in your serial number for fun, but it looks like yours is too old. Lastly, some people have had Apple help them anyway if it is just out of warranty, but many have not. Your machine is one of these. Type in 10,1 in the search box. Is there an Apple Store near you? Just b/c it's out of warranty doesn't mean you shouldn't have it looked at by Apple. But no one here can say at all what Apple will or will not do.
    Hope you get it taken care of!

  • IPhone 4 does strange things

    one of my phones keeps doing strange things.  First the bluetooth stops working (even when settings are on), then Find My iPhone then stops working.  iPhone shuts down for no reason during usage, etc.  the list can go on.  I have rebooted, updated, etc. to no changes.  Ideas????

    A little long but this thread might help with the 1013 error... http://discussions.apple.com/thread.jspa?messageID=12632690&#12632690

  • WRT54G ver.7 does strange things

    hello everybody!
    i've bought a WRT54-G (ver.7) router about 2 years before, but it does strange things
    1. sometimes i can't see the admin interface. i type 192.168.1.1, give
    password, but i can only get a white, blank page without any text. when this
    happens, just a router & modem restart or reset can help.I use the network
    every day, through weeks...but it happens in about a few days. why does it
    do it? i need it everytime!
    2. three computers connected to the router, 2 with UTP cables, 1 via WiFi.
    If the computer with wifi is working and one of the "UTP computers" too,
    then the 3rd computer (with UTP) only see limited connectivity, but 2 dhcps
    are enabled in the router settings, with 2 static DNS..I use WEP2 security
    to my wirless connectivity, and only just my notebook's MAC address is
    enabled to use the network. my router's password is not default, so nobody
    can steal my bandwidth.
    i can't find newer firmware verison than ver. 7.00.4..i've bought it with this version
    i don't use any firewalls, windows firewall is disabled too
    thanks for your answer!

    Have you tried to reset your Router and Re-configure all the settings on your router back again. If not please do it now, Press and hold the reset button for 60 seconds...Release the reset button...Unplug the power cable from your router, wait for 60 seconds and re-connect the power cable...Now re-configure your router.....

  • K7N420Pro memory upgrade doing strange things

    i just recently upgraded from 2x256 in slots 1/3 to 2x512 in the same slots. memory is at a low now (US$75 per 512), so i thought might as well. both before and after rams are kingston made, and certified on the nvidia website. the only difference is that the 256s were USA manufactured, and the 512s were taiwan made. both rams non-ECC.
    since changing memory i've experienced 'strange things'. sometimes windows does things i never intended. it created a shortcut by itself, right before my eyes, and i swear google did a search for some gibberish phrase without my intervention. last night i experienced my first win xp blue screen (i thought the blue screen was obsolete?!?). can't remembered what exactly it said, but i believe to be some memory location conflict.
    my BIOS is set to high performance and i din't change anything before and after upgrade. i din't activate any shadowing or chaching in memory that i'm aware of. auto precharge on, cl 2.5 as rated by my ram.
    if anyone can offer advice please do!
    setup:
    athlon xp 2000+ w/ amd issue fan
    k7n420 pro bios 2.4
    2x512 kingston ddr ram (kvr266x64c25/512) slots 1/3
    msi geforce 4 ti 4200 64mb agp 8x
    terratec dmx 6fire 24/96
    philips 17" dual crt monitors

    thanks for the link to the software!
    Quote
    Hi performance settings mean X, 2, 2. (X is the CAS setting, set in BIOS).
    what do you mean X,2,2? is it something i need to set in memtest?
    Quote
    If you have errors in memtest, try default (and change the rest of the options back to your settings).
    i did not get errors after 1 pass with default test setup. i guess that is ok?
    Quote
    also, what is your power supply? i see you have a XP2000 plus a GF4. If you were just marginally supplying your RAM a bigger bank could cause instability.
    i run a 430watt enermax.
    well since i last posted, i removed and reinserted my ram into their slots as i had a feeling i din't do it properly the last time (gfx card got in the way). so far no strange glitches, keeping my fingers crossed.
    will cooling the ram with a heatsink help stability?

  • Help needed because of strange things with Lollipop!

    Hello everyone. I've updated to Lollipop 5.0.2 .... But some strange things are happening.
    I've updated using PC companion. When I finished downloading the update files from the Net
    ,and I've turned off my phone so the update starts. After 1 minute something wrong went with my
    computer. It restarts by itself. So my phone didn't boot anymore. I tried to reupdate it, but
    that couldn't be done cause the phone is not booting. So I had one option, which is to do
    a system repair to repair my phone. I did it and I succeed. So my phone is now updated to lollipop
    , but of course all the data in the phone were wiped out. This is not a problem, I can redownload the apps I want.
    The problem is that on Kitkat I used to play a game called ( plants vs zombies ) , but on Lollipop
    Whenever I open the game it shuts down after half a minute. I thought the problem was
    because I moved it to the SD card, so I moved it to the internal storage of my phone
    but no change. It still shuts down by itself.
    Another thing is that when I install an app, in normal state there are moving lines from the above
    to show that the app is installing . Sometimes those lines disappear , I don't know if this is a problem or not.
    This is a screenshot of the fault.As you can see , the line is still. There must be lines moving inside it.Thanks.

    Hi! Sorry, I've been busy and hadn't gone on the forum for about 2 weeks haha. Uhm I do not experience the problem anymore it was a long time ago, from where do you download your APK files? I used 1MobileMarket for the download of PvZ2 but I receive updates via Google PlayStore. The only thing I can suggest is that you uninstall it, try downloading it vis 1MobileMarket and see if it works. If not I really don't know what the problem is.. I had my problems with PvZ on the Z, not the Z2, but it was the same you are experiencing with the game. I did notice that whenever I did a factory reset or system repair, I'd lose all my PvZ gaming data although I had my Google Play Account logged it to sync my data. As for the lines while installing the app; If the apps work normal after installing (the lines still didn't show up or disappeared) I don't think it might be such a problem. As long as you can run the apps. Hope this helps!

  • My PowerMac G5 started doing strange things today

    My G5 started doing some strange things this afternoon. i thought it was a sofware problem with one of my programs and decided to reboot. When i tried to restart the system it started to reboot, but then stopped. i tried several times with differing results. One time i got the white start-up scrdeen, but got no further. Another time i got the chime, but nothing else. i then noticed a liquid seeping from the bottom of the case. This doesn't appear to be water as it has a very slightly "oily" consistency. i have definitely not spilt anything anywhere near the G5. Very odd. Anyone know what is going on and can it be fixed?

    Thank you both for your valued input. My machine is the Dual 2.7 GHz PowerPC G5. I suspect that you have given me my answer as it is still leaking, although I do now have it up and running, for the time being! I hadn't realised that mine effectively had an in-built airconditioner, that could and would likely go wrong!
    I have been planning to replace my G5 for some time now and I guess that I will now have to bite the mighty bullet. In many ways this is long overdue, given all the PowerPC / Intel issues that I have with up-grading much of the software I require as a photographer.
    In the meantime I am ensuring that my backups are up to date, whilst it still has some life. I am also creating a full backup of my applications disk so that I can transfer stuff to a new machine without having to reload/ rundown some of my more esoteric apps. Luckily all my data is backed up twice daily.
    One further question if I may, do the current twelve core Mac Pro's use this type of cooling system?

  • I mac doing strange things

    imac, 20", running 10.5.8 Using any mouse (not mouse specific)
    There have been some strange things happening to the imac lately.
    Some examples:
    -in any browser (camino, safari) in Google maps for instance, placing the mouse curser in a map window, it'll zoom right down to the closest level. When I try zooming out, it zipps right back in.
    -in Aperture, while viewing a full screen photo and (using the keyboard) hitting the next arrow, it'll flay though ALL the photos instead of just the next one.
    -in Garage band, when trying to move (drag) a track in the timeline, it shoots back to wherever it wants to.
    -in Simms 2, the pointer disappears, menu bar flashes on and off, and the main view window spins (looking at sky, ground, up, down left right) all on it's own.
    This issue doesn't seem to be application specific, and I've tried different mice. I've run disk repair (and permissions etc) and run FSCK. will shut down and/or restart and the problem may be gone for a few hours, but keeps coming back. The imac is backed up with time machine.
    Any suggestions?
    Should I erase the drive and restore from Time Machine?
    (I've resisted going to Snow Leopard because I'm not sure Simms2 works with it)

    I would try resetting your computer's PRAM and running a Safe Boot. To do so, boot your machine with the Shift key held down. See this support document for more information.
    Since you're running 10.5, download and run the 10.5.8 Combo Updater. It will re-apply any system patches needed, and may fix whatever is going in with your zooming issues.

  • Time Machine doing strange things

    Hi folks,
    So I recently upgraded my hard drive, and restored from my Time Machine backup and everything came back just as it was, which was great.  However, now I am having some serious Time Machine issues.  It deleted all of my old backups, which I understand happens when you restore?  That is kind of annoying, but whatever, I can live with it. 
    However, what's really strange is that now it tries to backup, and it's telling me it needs 270 GB and I only have 163 GB available.  But there is already one backup on there, so I'm not sure why it thinks it needs to start from scratch basically (at least I think that's what it's doing, as my account only has 235 GB of used space total).  And what's really strange is that when I check out the space on my Time Machine hard drive, when I click "Get Info" on the backups folder, it says that it's 130 GB, but when I scan the drive with DaisyDisk, it tells me that it's over 200 GB, but not hidden or anything, and I just cannot figure out where all that extra space that is being taken up is. 
    So what I'm actually considering doing is just deleting the backup folder all together (although I don't know if this will get rid of just the 130 GB that it says it is, or all of it), and letting Time Machine start over.  Is that a good or bad idea?  Any ideas as to what the heck is going on?  Any thoughts would be much appreciated.
    Thanks in advance!

    sbollag wrote:
    now it tries to backup, and it's telling me it needs 270 GB
    That means it's actually trying to back up about 225 GB (it adds about 20% for workspace), so yes, that's a full backup (less the things it skips, such as system work files, most caches and logs, trash, etc.).
    And what's really strange is that when I check out the space on my Time Machine hard drive, when I click "Get Info" on the backups folder, it says that it's 130 GB, but when I scan the drive with DaisyDisk, it tells me that it's over 200 GB,
    Believe Get Info.  Time Machine backups have an unusual structure that cause many apps to count things more than once.  See Hard Links in How Time Machine works its Magic for details.
    So what I'm actually considering doing is just deleting the backup folder all together (although I don't know if this will get rid of just the 130 GB that it says it is, or all of it), and letting Time Machine start over.
    Yes, but don't delete it (emptying the trash will take a very long time and may cause other troubles).  Erase it with Disk Utility -- that will just take a few moments.
    What's happened is, Time Machine is treating your disk as a new one (it shouldn't on Snow Leoaprd, but sometimes it does).  So it deleted all but the last backup of the "old" one, trying to make room. 
    It sounds like your TM drive may be a bit too small.  Usually, it needs at least twice the space of the data it's backing-up.  See #1 in Time Machine - Frequently Asked Questions.  You might want to put a larger one on your Christmas list. 
    Then you can use the old one for "secondary" backups.  See #27 in that same link for some suggestions.

  • Launchpad doing strange things

    Hi there,
    When I scroll to the right to access page 2 in launch pad, it goes across to the page but then seems to recoil back to page 1 when I let go the mouse.  Anybody got any suggestions.  It has only recently started doing this.
    Roger

    Please read this whole message before doing anything. This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it. Step 1 The purpose of this step is to determine whether the problem is localized to your user account. Enable guest logins* and log in as Guest. For instructions, launch the System Preferences application, select Help from the menu bar, and enter “Set up guest users” (without the quotes) in the search box. Don't use the Safari-only “Guest User” login created by “Find My Mac.” While logged in as Guest, you won’t have access to any of your personal files or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin. Test while logged in as Guest. Same problem? After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it. *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing. Step 2 The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login. Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode* and log in to the account with the problem. The instructions provided by Apple are as follows: 
    Shut down your computer, wait 30 seconds, and then hold down the shift key while pressing the power button.
    When you see the gray Apple logo, release the shift key.
    If you are prompted to log in, type your password, and then hold down the shift key again as you click Log in.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    *Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a software RAID, you can’t boot in safe mode.
    Test while in safe mode. Same problem?
    After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of steps 1 and 2.

  • Ever since i did the IOS 7 my Iphone has been doing strange things it didn't do before, why is that?

    I work for a business where were using multiple iphones and since we all did our software update to the IOS 7 our phones have all been playing up - freezing when clicking on apps, when you answer a call the new keypads very touchy and hangs up all the time, dials number on its own, the sound randomly stops working, and sound in general is very sketchy. Sounds like were in a car when were talking to someone. and a few other little things.
    Is this happening to anyone else? Will another update be coming out to fix these little bugs or could it be all our phones themselves?

    Hi tfishe,
    There are various issues that Apple is continue to work on. You are running the 7.02 release, so you have been updated twice since the intiital release. 7.03 was just released earlier today, and several fixes have been added to that release.
    Hang in there. It appears that Apple is diligently working on addressing the various issues that have been reported. Remember, this is a major iOS change. It is the first major change to the iOS platform since it was originally released with the iPhone 1, so it's going to go through some growing pains....
    Best of luck!
    GB

  • Lightroom 4.2 doing strange things, no drobo, no tethering??

    I switched to lightroom 4.2, first, it still pointed to lightroom 4.1. I got that set right by forcing the links. Now, after installing 4.2 (and confirming in help that 4.2 is indeed running), I can no longer see my DROBO drive which is where my images reside, all links are greyed out. Help
    Win 7 - 64 bit, 16 GB Ram, I5 chip
    My Nikon D800E keeps disconnecting as well, not a good start since I thought tethering was one of the bug fixes??
    mike

    OH ! Boy its gonna be fun...
    problem like this is with me also..
    i have written some code with many classes..and i am trying to delete some elements from defaultlistmodel ..
    It is throwing error ArrayindexoutofBoundExcp. with 1.4 beta3 but not with 1.2.2 ..
    I have pasted this question in Swing topic , java language topic and to SUN bug contaniner also..
    Sorry baby !
    Sanjeev Dhiman

  • Print front panel does strange things

    Hi everyone,
    I am having some difficulty in printing the front panel of a vi.
    It seems to print the panel as it appears when the vi starts, and not as
    how it appears at the end of the vi's execution. This is a problem because
    new data is loaded into graphs during the execution and this is what I'm
    interested in printing.
    The vi that does the printing currently doesn't get shown when it runs.
    Any suggestions very much appreciated.
    Jeff Abell

    I think I have a solution for you.
    You can press print screen on your keyboard, but make sure that you don't
    have any windows open that could get in the way of your Panel.
    Then you can import ( paste ) the picture into for ex. "Paint Shop" and
    manipulate the picture there.
    I hope this will help you print out your VI.
    Frode.....
    Jeff Abell wrote in message
    <01bea1bf$a7da9c60$[email protected]>...
    >Hi everyone,
    >
    >I am having some difficulty in printing the front panel of a vi.
    >
    >It seems to print the panel as it appears when the vi starts, and not as
    >how it appears at the end of the vi's execution. This is a problem because
    >new data is loaded into graphs during the execution and this is what I'm
    >interested in printing.
    >
    >The vi that does the p
    rinting currently doesn't get shown when it runs.
    >
    >Any suggestions very much appreciated.
    >
    >Jeff Abell
    >
    >
    >
    >

  • IPhoto is doing strange things

    After picking new pictures and placing them in a new albums the screen goes fuzzy and nothing works so I have close iPhoto and then go back in and start over.

    There are 9 different versions of iPhoto and they run on 9 different versions of the Operating System. The tricks and tips for dealing with issues vary depending on the version of iPhoto and the version of the OS. So to get help you need to give as much information as you can. Include things like:
    - What version of iPhoto.
    - What version of the Operating System.
    - Details. As full a description of the problem as you can. For example, if you have a problem with exporting, then explain by describing how you are trying to export, and so on.
    - History: Is this going on long? Has anything been installed or deleted? - Are there error messages?
    - What steps have you tried already to solve the issue.
    - Anything unusual about your set up? Or how you use iPhoto?
    Anything else you can think of that might help someone understand the problem you have.

Maybe you are looking for