Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-19-2008, 09:05 PM
Member
 
Join Date: Apr 2008
Location: USA
Posts: 12
JavaLovenJoe is on a distinguished road
Program Won't Compile
This is mostly straits out of tutorial:
Code:
import com.blogspot.joelnkode.tutorial.java.*; public class CoolCode extends NewApplication { public void startHere() { String name = new InputUtils("What's your name?"); new OutputUtils(new String[] {"Hello", name}); String[] luckyNumbers = InputUtils.times(5, "What are your 5 lucky numbers?"); for (String luckyNumber : luckyNumbers) { new EqualsUtils(this).is(luckyNumber). isEquals(0, "message0"). isEquals(5, "message5")). isEquals(100, "message100"). otherwise("otherwise"); } ApplicationUtils.exit(); } public void message0() { new OutputUtils("L0L! You are a 0!"); } public void message5() { new OutputUtils("5 is the best number!"); new OutputUtils("Live long and prosper!"); } public void message100() { new OutputUtils("You are old."); } public void otherwise() { new OutputUtils("That's not a lucky number."); } }
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 04-21-2008, 09:13 PM
CaptainMorgan's Avatar
Moderator
 
Join Date: Dec 2007
Location: NewEngland, US
Posts: 841
CaptainMorgan will become famous soon enoughCaptainMorgan will become famous soon enough
Send a message via AIM to CaptainMorgan
Once again, consult the API for your library or if a support group exists use that.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
to our beloved Java Forums!
(closes on September 4, 2008)
Want to voice your opinion on your IDE/Editor of choice?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
!
Got a little Capt'n in you? (drink responsibly)
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 04-22-2008, 03:31 PM
Chris.Brown.SPE's Avatar
Member
 
Join Date: Apr 2008
Location: State College, PA
Posts: 50
Chris.Brown.SPE is on a distinguished road
Send a message via AIM to Chris.Brown.SPE
I agree with Captain Morgan...what is com.blogspot.joelnkode.tutorial.java.* anyways? Eclipse doesn't recognize it.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to compile an applet to an exe elizabeth Java Applets 4 02-18-2008 05:57 AM
Not able to compile bugger New To Java 2 01-10-2008 12:13 AM
compile error dirtycash New To Java 6 12-12-2007 08:00 PM
problem when I try to compile a program from command prompt osval Advanced Java 2 08-06-2007 11:16 PM
Compile a program toby New To Java 2 07-30-2007 11:09 AM


All times are GMT +3. The time now is 11:55 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org