Go to contiki-ng/tools/cooja in terminal
Then give command ant
Go to File option select New Simulation
Create new simulation
The network simulation is created
Then go to mote option select add motes and give create new mote type and select cooja mote.
Select any file for simulation then give clean and compile.
Select create option
Now add motes and positioning.
Now the nodes are deployed in the network area.