Very simple Java program. Just create a frame and show it. All it prints,
however, is "here1" -- it seems to be hanging on the "Frame f = new Frame();"
line. Very frustrating. Why would this be happening?
(FYI this is on Mac PowerPC G4 running Mac OS X version 10.2.8.)
----
import java.awt.*;
public class test
{
public static void main( String[] args )
{
System.out.prin tln( "here1" );
Frame f = new Frame();
System.out.prin tln( "here2" );
f.setSize( new Dimension( 500, 500 ) );
System.out.prin tln( "here3" );
f.setVisible( true );
System.out.prin tln( "here4" );
}
}
however, is "here1" -- it seems to be hanging on the "Frame f = new Frame();"
line. Very frustrating. Why would this be happening?
(FYI this is on Mac PowerPC G4 running Mac OS X version 10.2.8.)
----
import java.awt.*;
public class test
{
public static void main( String[] args )
{
System.out.prin tln( "here1" );
Frame f = new Frame();
System.out.prin tln( "here2" );
f.setSize( new Dimension( 500, 500 ) );
System.out.prin tln( "here3" );
f.setVisible( true );
System.out.prin tln( "here4" );
}
}
Comment