On Thursday, May 23, 2013 6:22:30 AM UTC-7, DVH wrote:
> On 23/05/2013 14:11, White Spirit wrote:
>
> > On Thursday, 23 May 2013 13:51:22 UTC+1, DVH wrote:
>
> >
>
> >> On 23/05/2013 13:17, White Spirit wrote:
>
> >
>
> >>> It means that you don't belong anywhere near a compiler.
>
> >
>
> >> That's a foolish attitude.
>
> >
>
> > It's polemically meant.
>
> >
>
> >> But I've seen the same from many
>
> >> representatives of alleged high skills trying to exclude new entrants
>
> >> from their guilds.
>
> >
>
> > What you are referring to now certainly is a foolish attitude. I'm far more concerned about the numbers coming from overseas. A few do-it-yourself tinkerers aren't anything to worry about.
>
> >
>
>
>
> Netbeans IDE is tinkering. Java isn't an exceptional skill.
>
>
>
> If you were any good, you wouldn't need to worry about overseas invaders.
>
>
>
> By "good" I mean capable not only of good code but also effective
>
> networking, imagination, intelligent communication with the client, and
>
> fast. It also helps to choose the right areas to specialise in.
>
>
> Foreign invaders able to do all that are *very* rare.
Hi DVH,
was wondering how you are getting on.
(i) Open NetBeans IDE 7.1
(ii) File > New Project
- when New Project window opens
Category = Java
Project = Java Application
- click 'Next'
(iii) when 'New Java Application' panel opens, click 'Finish' button.
You should now have a new Java project, which in my case is called
'JavaApplication6'.
NetBeans unhelpfully creates a new class called 'JavaApplication6.java'
which we should ignore.
(iv) Right mouse click on Project JavaApplication6.
New > Java Class
(v) When the New Java Class panel appears, change Class Name to DVH
and click the Finish button.
(vi) Select all text in the editor and paste in the source code from
https://groups.google.com/forum/?hl=en-GB&fromgroups#!msg/uk.politics.misc/6zcjmkfYArU/lJwX6HIm3xEJ
(vii) Fix the package error by either commenting out the package statement
(the first line), or by doing Alt - Enter and selecting the 'Move class to
correct folder' option.
(viii) Click in the editor window with the right mouse button, and select
'Run File'.
The programme output will be printed in the Console window 'Output - JavaApplication6 (run)'.
Your homework, should you choose to accept it, is to explain why there are
amber lightbulbs in the left hand margin of the editor on every line that
declares a StringBuilder instance, and make them go away.
Max