[java programming] Re: (1.4) ArrayIndexOutOfBoundsException

2010-09-27 Thread ooo.stephen
i'll persevere, and you have been quick to correct the properly identified exercises. = On Sep 24, 9:47 pm, Michèle Garoche wrote: > On Sep 24, 11:21 pm, "ooo.stephen" wrote:> lab > 1007 - exception handling. > > > i've noted a few labs where errors in

[java programming] Re: (1.4) ArrayIndexOutOfBoundsException

2010-09-27 Thread ooo.stephen
> > So do not be worried, use netbeans if not already doing, and in case of > errore read the exercise agaon and check the code with the one on the lab. > > Enjoy your passion!! > > Inviato da iPhone > > Il giorno 25/set/2010, alle ore 06:47, Michèle Garoche > ha

[java programming] Re: (1.4) ArrayIndexOutOfBoundsException

2010-09-24 Thread ooo.stephen
re the course material is true? thanks kindly, ...stephen On Sep 23, 6:19 pm, Michèle Garoche wrote: > On Sep 23, 11:05 pm, "ooo.stephen" wrote:> > somethings wrong with this exercise. > > please update, and notify me. > > If you could specify the lab that would h

[java programming] (1.4) ArrayIndexOutOfBoundsException

2010-09-23 Thread ooo.stephen
somethings wrong with this exercise. please update, and notify me. -- To post to this group, send email to javaprogrammingwithpassion@googlegroups.com To unsubscribe from this group, send email to javaprogrammingwithpassion+unsubscr...@googlegroups.com For more options, visit this group at http

[java programming] Re: NB6.9 auto format code...

2010-09-13 Thread ooo.stephen
shoot, it didn't work. i'm just not seeing a setting to reformat the code if the args have been presented in a list. instead of 'tabs and indents', the 'wrapping' option looked promising, but it's not effecting my code either. thanks for the suggestion. ooo.st

[java programming] 1025, ex3.1 package issue...

2010-09-13 Thread ooo.stephen
this exercise step says... For the Package field, either enter myonlineshop or choose myonlineshop from the drop-down menu. but the code says... package myonlineshopusinginterface; public interface BookInterface extends ProductInterface { public String getPublisher(); public void setPubl

[java programming] Re: NB6.9 auto format code...

2010-09-13 Thread ooo.stephen
reading the post i see the formatting was not kept. my goal is to keep the class args on one line, not in a list form. i'd like to hit, from the toolbar, Source => Format, and put the those args on a single line. thx. On Sep 13, 2:48 pm, "ooo.stephen" wrote: > anyone kn

[java programming] NB6.9 auto format code...

2010-09-13 Thread ooo.stephen
*/ public Cartoon(double regularPrice, String publisher, int yearPublished, String characterName) the Tools => Options => Editor => Formatting, options do not offer this ability. it offers many other convenient formatting options, just not this one. thanks kindly, ooo.stephen

[java programming] Re: New topics are added to the course

2010-09-13 Thread ooo.stephen
sweet! i'm very much looking forward to the design pattern lesson. ooo.stephen On Sep 12, 10:29 am, Sang Shin wrote: > Folks, > > The following topics are added to the "Java Programming" course. (Homeworks > are not added as of yet, however.)  Please check

[java programming] 1027 ex6, step 6 'PersonAnother2.java'...

2010-09-11 Thread ooo.stephen
not sure if this is obvious to others, but it wasn't to me, so i thought i'd mention it in case it helps others. the example code uses a default 'Person' constructor, but my sample files didn't have one. to clear the error message i added a default constructor to 'Person.java'. a comment to the e

[java programming] 1027 - ex1.2 instructions a little confusing...

2010-09-10 Thread ooo.stephen
this could be made clearer by mentioning that 'main' will have to be in the package 'myonlineshop', which means editing the 'create main' field with 'myonlineshop.main'. following the instructions, main is created in a package named 'myonlineshopusingabstractclass', and then rest of the steps won'

[java programming] 1023 Exercise 6 typo...

2010-09-07 Thread ooo.stephen
after creating the new project 'myonlineshop', the instructions start using the 'MyFinalClassExample' project, when 'myonlineshop' is what's intended. 3. Write Electronics.java. * Right click MyFinalClassExample project node and select New- >Java Class. -- To post to this group, send email

[java programming] 1029 - (4.2) Add event handling using your own event source

2010-08-31 Thread ooo.stephen
whew, event handling is a little confusing. to clear it up i've tried to map the Java 1.1 event model to the files in lab, ex4.2. not sure if its correct, and any comments would help. *the event model was found in the recommended reading - http://www.drbob42.com/JBuilder/jb210t.htm Java 1.1 even

[java programming] 1029 - Introspect a bean...

2010-08-30 Thread ooo.stephen
this exercise uses a PropertyDescriptor object to iterate through the properties of the SimpleBean class, which implements Serializable. Does that mean then, that PropertyDescriptor is describing the Serializable class? i'm also seeing most if not all of those properties/methods as belonging to the

[java programming] Re: 1003 class path...

2010-08-29 Thread ooo.stephen
thanks, that helps. its purpose seems clear, but its utility less so. is there a best practice or design pattern regarding -cp you can recommend? ooo.stephen === On Aug 26, 1:46 pm, Mihai DINCA wrote: > Hi ooo.stephen > > This is a good question, because it worth to under

[java programming] 1003 class path...

2010-08-26 Thread ooo.stephen
he package statement must match the dir structure, changing the class path seems undesirable, and would require recompiling the .class file. thanks kindly, ooo.stephen -- To post to this group, send email to javaprogrammingwithpassion@googlegroups.com To unsubscribe from this group, send email