Search Results

Showing results 1 to 14 of 14
Search took 0.01 seconds.
Search: Posts Made By: Colin Mac ; Forum: Java and child forums
Forum: Java Mar 14th, 2007
Replies: 6
Views: 2,391
Posted By Colin Mac
Might be a useful link
http://today.java.net/pub/a/today/2006/04/25/writing-cool-games-for-mobile-devices.html
Forum: Java Feb 23rd, 2007
Replies: 5
Views: 1,794
Posted By Colin Mac
eg. If you declare a variable named total and make it = 0.
Each time going through a loop with this line of code;

total = total + price;

the total becomes equal to whatever value total has...
Forum: Java Feb 23rd, 2007
Replies: 5
Views: 1,794
Posted By Colin Mac
Sorry while(true) I meant there, not while(1).
Forum: Java Feb 23rd, 2007
Replies: 5
Views: 1,794
Posted By Colin Mac
You could
do away with the Do-while and instead use an infinite loop.

while(1)
{
print out menu, get choice

switch(choice)
{
Ask to quit in here, scan input and then break out of...
Forum: Java Jan 20th, 2007
Replies: 32
Views: 6,118
Posted By Colin Mac
Whether someone is better off starting using an IDE or just Notepad is something I wouldn't argue over. But there is no reason or real evidence to suggest that a person using BlueJ would be worse off...
Forum: Java Jan 19th, 2007
Replies: 32
Views: 6,118
Posted By Colin Mac
Meh, I disagree with that and I never said it teaches you anything. It's useful for typing code and compiling code. If someone ever puts themselves in a position where they are lost without their...
Forum: Java Jan 19th, 2007
Replies: 32
Views: 6,118
Posted By Colin Mac
I recommend BlueJ, it's nice and simple.
http://www.bluej.org/download/download.html
Forum: Java Jan 3rd, 2007
Replies: 2
Views: 1,525
Posted By Colin Mac
Ok, I'll just read on then, it'll probably come back to it later.
Forum: Java Jan 2nd, 2007
Replies: 3
Views: 1,312
Posted By Colin Mac
Ok, well I used the trial of exe4J to do it. If you download it, skip option 1 and go to the second option and select Jar To Exe. You'll see what I mean if you install it.
Forum: Java Jan 2nd, 2007
Replies: 3
Views: 1,312
Posted By Colin Mac
You can convert the Jar to an Exe, and run it then. Just google "Jar to Exe."
At least that's how I how I did it, perhaps there's an easier way.
Forum: Java Jan 2nd, 2007
Replies: 2
Views: 1,525
Posted By Colin Mac
This is an example from a book to explain using the WhoWins type for three possibilities.
But when I go to compile, I get the error, "cannot find symbol - class WhoWins". Any suggestions? Thanks
...
Forum: Java Dec 28th, 2006
Replies: 5
Views: 1,216
Posted By Colin Mac
I see now, thanks, I copy and pasted that code from a pdf.
Forum: Java Dec 28th, 2006
Replies: 5
Views: 1,216
Posted By Colin Mac
Thanks.

No, here are the errors when I took out the quotes.


--------------------Configuration: MyFirstProject - JDK version 1.5.0_09 <Default> - <Default>--------------------
C:\Program...
Forum: Java Dec 28th, 2006
Replies: 5
Views: 1,216
Posted By Colin Mac
Just started reading 'Beginning Programming in Java for Dummies' and when I got to the first example below, I'm getting errors when i try to compile?

I have the JDK 5 update 9 and the Jcreator...
Showing results 1 to 14 of 14

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC