0

I am doing This example. My code is exactly the same but in stead of getting This

I am getting

This

Can anyone explain why?

mKorbel
  • 109,525
  • 20
  • 134
  • 319
NeonMedusa
  • 95
  • 2
  • 6
  • 14

3 Answers3

2

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.

Alexi Akl
  • 1,934
  • 1
  • 21
  • 20
0

You're either joking or you're executing the wrong example. The linked code does definetly not create the second screenshot ;-)

D.R.
  • 20,268
  • 21
  • 102
  • 205
0

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.

Tui Popenoe
  • 2,098
  • 2
  • 23
  • 44