Write a networking simulator like Packet tracer with Netbean, how should I approach?

StackOverflow https://stackoverflow.com/questions/17769846

  •  03-06-2022
  •  | 
  •  

문제

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....

Can anyone enlighten me with any idea?

Picture https://www.dropbox.com/s/wq9bowrwwmib6kx/1.png https://www.dropbox.com/s/eas558lr80evxeg/2.png

올바른 솔루션이 없습니다

다른 팁

Simple object oriented programming. First make object classes for what you need. store these objects in an arrey after you create them. Its kind of like your own little database for your program. When they need to be used run a for loop to check for the object you need. You can save these list so the user can reopen your program and continue working from where they left off.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top