File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Java in General
Bookmark "circuit in java " Watch "circuit in java " New topic

circuit in java

rose dando

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

Joined: Mar 22, 2005
Posts: 42965
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.
rose dando

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

Joined: Oct 02, 2003
Posts: 11955

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
I agree. Here's the link:
subject: circuit in java
It's not a secret anymore!