This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Java in General and the fly likes circuit in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "circuit in java " Watch "circuit in java " New topic
Author

circuit in java

rose dando
Greenhorn

Joined: Sep 26, 2012
Posts: 5
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 ?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42367
    
  64
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.


Ping & DNS - my free Android networking tools app
rose dando
Greenhorn

Joined: Sep 26, 2012
Posts: 5
this assignment binding java
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11444
    
  16

There is just a whole lot going on here.

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: circuit in java