This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv 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 REST with Spring (video course) this week in the Spring forum!
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: 42959
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: 11920

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
It's not a secret anymore!