Hello'
How I can implements circuit with gate as object ( and,nor ,or ,nand,xor,xnor...) to connection them with line to make whole circuit in order to run and take result .. and able to save this as object vector format images file , make clipping ,copy,paste,cut, move gate ...using java GUI ?
Why does it have to be written in Java? Something like Graffle (for OS x) should do nicely, shouldn't it? I'm sure similar programs exists for Windows.
The first thing you need to do is figure out how to model a AND gate. not graphically on a GUI, but just inside your program. Once you get it working, then you can look a an OR gate, then a NOR, etc.
Do NOT try and to all of them at once, and do not worry about the GUI until you can do it from a command line.
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
To get a wish, you need a genie. To get a genie, you need a lamp. To get a lamp, you need a tiny ad:
a bit of art, as a gift, the permaculture playing cards