>>>>> Riyad Kalla writes:

    Riyad> I've been trying to create a splash screen for my
    Riyad> application all day and am not having any luck with it
    Riyad> displaying my graphics. I've tried everything off of sun's
    Riyad> site, tutorials and asked friends.

    Riyad> Are there known problems with displaying graphics on linux
    Riyad> with jdk1.2prev2 glibc2.1 version?

The problem is in your code.
    
    Riyad>     public void paintComponent( Graphics g )
    Riyad>     {
    Riyad>      super.paint( g );

Here you start an infinite loop.  The code runs until a stack overflow
occurs.  
If you remove the line or change it to 'super.paintComponent(g)' it
should work.

    Riyad>      g.drawImage( splashImage, 0, 0, this );
    Riyad>     }


        Juergen

-- 
Juergen Kreileder, Blackdown Java-Linux Porting Team
http://www.blackdown.org/java-linux.html


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to