0

I am using Eclipse to do my firmware project. However, it keeps giving me a red under lined error for the import line java.awt whenever i try to import the following.
Anybody helps me please.

2
Contributors
2
Replies
3
Views
5 Years
Discussion Span
Last Post by TeresaTa
0

I am using Eclipse to do my firmware project. However, it keeps giving me a red under lined error for the import line java.awt whenever i try to import the following.

Post your code. We need to know whether you have written the statement correctly

0

package GmrView;
import java.io.IOException;
import java.util.Calendar;
import java.util.Date;
import java.util.Enumeration;
import java.util.TimeZone;
//import java.awt.Font;
//import java.lang.Object;
import javax.microedition.lcdui.Command;
import javax.microedition.lcdui.CommandListener;
import javax.microedition.lcdui.Displayable;
import javax.microedition.lcdui.Font;
import javax.microedition.lcdui.Graphics;
import javax.microedition.lcdui.Image;
import javax.microedition.lcdui.game.GameCanvas;
import mainMidlet;
import java.awt.Font;

public class GmrView extends GameCanvas{
}

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.