|
-
I need help with Xcode on my mac
I am using the ide xcode and it is pissing me off. when i debug a program i don't know how to get it to show me what part of the code is conflicting. i wrote a simple program applet and the !@#$ing program found an error and i don't even know what is wrong. can some one please tell me what is wrong with this applet and please tell me a little bit more about xcode.
import java.applet.Applet;
import java.awt.*;
public class FontApplet extends Applet
{
Label lblName = new Label("Blank");
Label lblPhone = new Label("555-5555");
Font fntName = new Font("Serif", Font.ITALIC, 14);
Font fntPhone = new Font("Sans Serif", Font.BOLD , 12);
public void init()
{
setBackround(Color.cyan);
lblName.setFont(fntName);
add(lblName);
lblPhone.setFont(fntPhone);
lblPhone.setForeground(Color.red);
add(lblPhone);
}
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks