Getting my feet wet, first time with
java.
Working thruough this tutorial:
http://www.netbeans.org/kb/60/web/intro.html Product Version: NetBeans
IDE 6.1 (Build 200805300101)
Java: 1.6.0_05; Java HotSpot(TM) Client VM 10.0-b19
Simple list box with options property: #{Page2.listbox1DefaultOptions}
I am coming from a different world, where I could have just typed in some items under the "items property" in the IDE. Here it looks like I maybe need a constructor for the listbox which will initialize the default items. Or maybe a
string array in the ApplicationBean... The docs on Option, Option[] etc seem complete, but what I am apparently lacking is examples.
One example is worth a dozen paragraphs of explanation, I seek the syntax more than anything else.
(Similarly I am getting stumped on other simple tasks, such as setting the HTML "size" property for an input text field).
Have plenty of programming experience and many languages under me, concepts and OOP are not an issue. But not ready for a strict reference guide at this point, I also need to see code snippets showing syntax and usage.
Any good suggestions where to find code snippets for beginners?
Or an online manual with plenty of examples?
Eg: here is some code that will replace the default "item1","item2" in the tutorial listbbox with real values.
TONS of java sites out there. Anyone know of "experienced programmer but java noob" sites? Cut the explanations that are not java-specific and plenty of snippet/syntax samples...
It's the little tasks that kill ya!
Many thanks in advance.