This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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: 41173
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

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

Joined: Oct 02, 2003
Posts: 11170

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
Similar Threads
a logic problem for a friday morn
WA #1.....word association
Using wait and notify with threads
Using Java Swing: Which Components to use