Question

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

No correct solution

OTHER TIPS

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top