Thanks for the reply my path to jdk was fine
I have now fixed it i found a sunrsasign.jar buried deep in the
netbeans folder on my desktop pc, so i copied it to \fre\lib directory
and now works fine
On 10 Feb, 04:02, miga wrote:
> On Feb 9, 11:01 pm, Mark Probert wrote:> Anyone have any
> id
On Feb 9, 11:01 pm, Mark Probert wrote:
> Anyone have any ideas on this, I have NB 6.7.1 and this tuns fine with
> the input box appearing
> on my laptop i have NB 6.8 and get the debug errors below with no
> input box
> thanks
Do you try a clean and build?
Otherwise you may try to go inside Fil
Anyone have any ideas on this, I have NB 6.7.1 and this tuns fine with
the input box appearing
on my laptop i have NB 6.8 and get the debug errors below with no
input box
thanks
On Feb 5, 11:20 am, Mark Probert wrote:
> Hi All
>
> I have opened the MyGradesProject OK and when I run it says Build
Hello,
You need to set the
permissions on the files.
Open a console and cd to the
directory containing the unzipped directory. Once you are there type
this command
chmod -R 755
Date: Tue, 25 Aug 2009 23:50:17 -0400
Subject: [java programming] Lab 1034 Error: The folder "javacontrol" could not
On Aug 26, 5:50 am, Gian-Gabriel Cappuccio wrote:
> Hello,
> I am doing the Lab 1034.
> Link:http://www.javapassion.com/handsonlabs/javacontrol/index.html
>
> I have downloaded and unziped the file 1034_javacontrol.zip but when I try
> to enter to the javacontrol folder the systems says: "The
Merouen,
Have a look in javadoc: java.text.NumberFormat and
java.text.DecimalFormat classes. You will have to import these.
The code goes something like:
NumberFormat nf = new DecimalFormat("###");
System.out.println("number is " + nf.format(number);
Merouen Ballout wrote:
as example code
I believe the problem is with your blocks unless if it was typo, try it this
way, the i++ should be within the while block:
int 0;
while (i wrote:
From: David Seto
Subject: [java programming] Lab 1034
To: javaprogrammingwithpassion@googlegroups.com
Date: Wednesday, July 22, 2009, 11:04 AM
You created a scope.
incrementation of i variable must be executed in while loop.
In order to do this, write this:
int i = 0;
while (i wrote:
> Hello all on lab 1034 homework assignment
>
> When I run the program and type in the 1st name on the list "Beah" no
> problem.
>
> Name found
Is there a way to walk through step by step to see what var values are.
Specifically a for loop? In command prompt and net beans, is there a lesson on
this?
Sent on the Sprint® Now Network from my BlackBerry®
-Original Message-
From: "David Seto"
Date: Wed, 22 Jul 2009 11:04:30
To:
Hi David,
The increment statement should be part of the while loop. In your program,
the block in which you have incremented the value of i will be unreachable.
The while loop runs infinitely for any value of name other than the 1st
name.
So, place the incrementation part inside the while loop an
Ups, forgot to CC the group.
Repost:
Hi guys,
Sorry but I don't get it. Merouen, as I understand your question, when
you print (display) the double value 'average', either you only see
the integer part (before the decimal seperator), or you think you
won't see the rest.
If the 'average' variab
divide average by 3.0
then you can use the static String.format() method:
average = (mathGrade + historyGrade + scienceGrade) / 3.0;
System.out.println(String.format("%.2f", average));
On Jul 18, 4:41 pm, Merouen Ballout wrote:
> as example code 1.11 the average is declared like primitive typ
On Jul 18, 11:41 pm, Merouen Ballout wrote:
> as example code 1.11 the average is declared like primitive type
> double so in the output it should be double , so what's method can be
> used in order to to display after point?
See the class DecimalFormat, read the javadoc, especially the
expla
Hi Will,
The loop is just to find the name you entered. Use JOptionPane to display if
it did find it or not. Just like exercice to, except that it should use
another way to loop through the name list array.
Hugs
On Wed, Jul 15, 2009 at 2:10 AM, William Espinosa wrote:
> Hey all,
>
> I have a
Hi there,
When working with while loops there are a few conditions to consider.
In the for loop you can see the initial state, the boolean test and lastly what
happens after each loop.
In the following for loop the initial state is that there is an integer 'i'
equal to the value 0.
Second
Also in exercise 3.2 the same problems
so should be changed to do-while structure in this case.
Thanks
On Jan 19, 11:38 pm, lesh59 wrote:
> Also further down it says
>
> Study how for loop control structure is used, whose code fragment is
> highlighted in bold font in Code-3.11 below.
>
> agai
Also further down it says
Study how for loop control structure is used, whose code fragment is
highlighted in bold font in Code-3.11 below.
again I think this should say
Study the while loop control structure .
On Jan 19, 2:22 am, lesh59 wrote:
> In the file 1034_javacontrol.zip
>
> Ste
Hi.
You can exit your loop only in case when you reach the maximum index, but
you increment the index only when you find the right result. So you have to
find the right name length-times to finish the loop. Try this:
int i=0;
while (i
> I am having trouble converting the homework form a for loo
I think Constantine J Coutsoukes wrote true beacause the Jennifer
Cook's while loop have
while (i the
while loop will run fail.
--~--~-~--~~~---~--~~
To post to this group, send email to javaprogrammingwithpassion@googlegroups.com
To unsubscribe from this group,
Jennifer,
You are only incrementing i with i++ if you found the name. Move i++
out of the if statement or add and else clause and put it there!
DenS
Jennifer Cook wrote:
I am having trouble converting the homework form a for loop to a
while loop.
Here is the for loop:
for
Take i++; out of your if clause. It will only increment when .equals is true
.
int i=0;
while (imailto:[EMAIL PROTECTED] On Behalf Of Jennifer
Cook
Sent: Wednesday, December 10, 2008 3:02 PM
To: Free Java Programming Online Training Course By Sang Shin
Subject: [java programming] Lab 1034
Hello.
I think you have to increment your counter AFTER action like that:
int i=0;
while (i wrote:
> I am having trouble converting the homework form a for loop to a while loop.
>
> Here is the for loop:
> for (int i=0; i if (names [i ].equals(searchName)){
>
22 matches
Mail list logo