tags:

views:

9

answers:

0

Hi guys. I'm trying to use the ACM library, my source code looks like this. On running it the Applet is started, but the output is still in the console within Eclipse. It is supposed the app to be started in a standalone window, not in the console. What I'm doing wrong?

import acm.graphics.*;
import acm.program.*;
import acm.util.*;
import java.applet.*;
import java.awt.*;
import java.awt.event.*;

public class Breakoutme extends GraphicsProgram {

    public void run() {
        println("Hi there");
    }

}