-
Anyone know what's wrong?
Hello everyone,
I am being stuck in a minor problem here. do you know what's wrong with this? I get an error when i trying to compile. it's say "identifier expected" with the code "proType.add(xxxx);
Here's part of my code.
java.awt.Choice proType = new java.awt.Choice();
proType.add("Ties");
proType.add("Socks");
proType.add("Shirts");
add(proType);
proType.setBounds(230,36,180,26)
Please help me~~ thank you.
Regards,
Rwin
-
Well, I can't see any errors here, except for the last line of code that is missing
a semicolon...
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