[java programming] Re: Can I use Eclipse instead of NetBeans?

2009-07-11 Thread Rita Dhruve
Thank you to all who expressed their opinion. I'm familiar with eclipse but just wanted to make sure I am not miss-interpreting anything. Thanks again, -Rita Date: Fri, 10 Jul 2009 15:49:19 -0300 Subject: Re: [java programming] Can I use Eclipse instead of NetBeans? From: barbararode...

[java programming] Re: Error in Netbeans?

2009-07-11 Thread Andre Brown
Hi Shawn, I had the same error. I got rid of it by including a package statement, eg.: package myassignment; The first statement in a java file (excluding comments) should be the package declaration. However, the package declaration is optional AFAIK. So I'm not entirely sure why netbeans is c

[java programming] Homework 1038 - Names-Ages Command Line - Get Average Age

2009-07-11 Thread Dan
Hello! I am having trouble figuring out how to access just the Array [odd numbers]. This should be where the ages are located. public class testtwo { public static void main(String[] args) { Task: /Enter 3 to six names and ages on the command line : Name Age /Next/: Separate names

[java programming] Re: how to

2009-07-11 Thread Andi Zunaidi
On Jul 12, 12:19 am, ben wrote: > hi everyone, > > i just have one more small doubt i would like to know how to add > the path C:\"Program Files"\Java\jdk1.6.0_11\bin to the front of the > environment variable so that i can compile the programs without having > to specify the entire path...

[java programming] Error in Netbeans?

2009-07-11 Thread Shawn Sampson
// does anyone know why I am getting this error? import javax.swing.JOptionPane; // Error is here states "incorrect package" the program still //works correctly public class MyOwnWhileProject { /** Creates a new instance of ForLoop */

[java programming] Re: how to

2009-07-11 Thread Andrés Mauricio
Put an ; and the "C:\"Program Files"\Java\jdk1.6.0_11\bin" at the end of PATH variable on System Propierties on My Computer, Please take care of don't delete the entire value of the variable, just add the path to bin at the end Andres Mauricio Heredia Guerrero --- "Haz lo que tu quieras, será el

[java programming] Re: how to

2009-07-11 Thread ravitej badana
put it in the System environmentalvariables. of my Compter properties. On Sat, Jul 11, 2009 at 10:49 PM, ben wrote: > > hi everyone, > > i just have one more small doubt i would like to know how to add > the path C:\"Program Files"\Java\jdk1.6.0_11\bin to the front of the > environment varia

[java programming] Re: 1001_javaprogenv.zip not working

2009-07-11 Thread Dean Rush
Ben, you can use the Online lab document instead of downloading the file - that's what I do. Another alternative is the free 7zip utility (http://www.7zip.com). I just upzipped 1001_javaprogenv.zip with it so I know it works! Regards, Dean Rush -Original Message- From: javaprogrammingw

[java programming] how to

2009-07-11 Thread ben
hi everyone, i just have one more small doubt i would like to know how to add the path C:\"Program Files"\Java\jdk1.6.0_11\bin to the front of the environment variable so that i can compile the programs without having to specify the entire path... thanks, ben. --~--~-~--~~-

[java programming] Re: 1001_javaprogenv.zip not working

2009-07-11 Thread miga
On Jul 11, 5:30 pm, ben wrote: > hi i've just joined this course, and i've just started exploring the > course content and the problem is the 1001_javaprogenv.zip file is not > extracting with winrar. its saying that there was an error and that > the file might be broken or unsupported. i've tr

[java programming] Re: JUST CHECK IT( Actually the subject should be "JavaIntro-javaprogenv")

2009-07-11 Thread miga
On Jul 11, 1:36 pm, pradeepan patra wrote: > hiii  frnds > > having  doubts > > 1. can we send the home work now onwards or after the completion of course > only. See the FAQ; it is explained in it. > > 2.is it in the proper manner to submit or i don need to change something Just send the l

[java programming] 1001_javaprogenv.zip not working

2009-07-11 Thread ben
hi i've just joined this course, and i've just started exploring the course content and the problem is the 1001_javaprogenv.zip file is not extracting with winrar. its saying that there was an error and that the file might be broken or unsupported. i've tried downloading multiple times but it does

[java programming] Re: whats the error in th code

2009-07-11 Thread * ^ *
On Jul 11, 5:25 pm, Sonu Mittal wrote: > I have 2 files namely food.java and foodmain.java both files' code is > given below. > > FOODMAIN.java > > package foodpackagefruitpackage; > public class foodmain { >      public foodmain(){} > public static void main(String []args){ >      int price; >  

[java programming] Re: LAB 1010 -- TimingIsEverything

2009-07-11 Thread Robert Childers
As to the problem of show JavaDocs, You have to first generate javadoc. It cannot show the javadocs if they haven't been generated first. right click on the project tab and select generate javadocs. On 6/29/09, Al Catraz wrote: > > Hi, > LAB 1010TimingIsEverythingApplet > When I look at the

[java programming] Start of the 8th session of the Java Programming course

2009-07-11 Thread miga
Hello, As you all probably know already, the 8th session of the Java Programming course by Mr Sang Shin has started today. To get most benefits of this course, please have a look at the following pages which explain in details how this course works: 1 - the discussion group home page:

[java programming] Re: whats the error in th code

2009-07-11 Thread Freddy Vé
Hi,The problem is you have the main method in your two classes. Get rid of this code "public static void main(String[] args) { }" in your second class and you should be OK. 2009/7/11 Sonu Mittal > > I have 2 files namely food.java and foodmain.java both files' code is > given below. > > FOODM

[java programming] whats the error in th code

2009-07-11 Thread Sonu Mittal
I have 2 files namely food.java and foodmain.java both files' code is given below. FOODMAIN.java package foodpackagefruitpackage; public class foodmain { public foodmain(){} public static void main(String []args){ int price; food d=new food(); d.food("apple"); d.food(10)

[java programming] Re: whats the error in the codeq

2009-07-11 Thread Sonu Mittal
thanks jason i have done it On Jul 11, 2:43 am, Jason wrote: > Hey Sonu, > > 1)  FileOutputStream throws a FileNotFoundException which must be > handled.  The easiest way to do this is to surround it in a try/catch > block. > 2)  The save() method takes two arguments, save(OutputStream o