I am doing This example. My code is exactly the same but in stead of getting
I am getting
Can anyone explain why?
I am doing This example. My code is exactly the same but in stead of getting
I am getting
Can anyone explain why?
Most probably you are running a different project. Next to the run button there is a drop down arrow, click it and pick the right project to run.
You're either joking or you're executing the wrong example. The linked code does definetly not create the second screenshot ;-)
You are running a separate project within eclipse. Make sure that the project you are building and executing is the one that contains a textbox, instead of the tree structure shown.