title: Write a networking simulator like Packet tracer with Netbean, how should I approach?
body: <p>I have a project which developing a java program - packet tracer alike. I have managed to get the most of GUI done with movable PCs, popup, etc.. but i'm totally clueless about the best way to give PCs IPs, Subneting and further development like Ping, tracert etc....</p>
  
  <p>Can anyone enlighten me with any idea?</p>
  
  <p>Picture 
  <a href="https://www.dropbox.com/s/wq9bowrwwmib6kx/1.png" rel="nofollow">https://www.dropbox.com/s/wq9bowrwwmib6kx/1.png</a>
  <a href="https://www.dropbox.com/s/eas558lr80evxeg/2.png" rel="nofollow">https://www.dropbox.com/s/eas558lr80evxeg/2.png</a></p>