Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Using Java Swing: Which Components to use  RSS feed

william brown
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I need a guide here. I want to develop a program to simulate a simple logic circuit (AND, OR, NAND, NOR, XOR, XNOR gates). Here are the properties of the program. (These gates are images):

  • There is a dialog box containing all the gates where I can select which gate to use and drag it onto the display area.
  • The gates on the display area can be connected through lines.
  • The circuit can accept input bits
  • The circuit can compute the output bits given the input bits
  • I can open an input file (probably XML) that contains a circuit and display it on the display area and run simulation on it.

  • So, what Java Swing components that I can use to display the circuit?

    What component of Java Swing that support XML file manipulation?

    Any other advice??

    Thank you.
    It is sorta covered in the JavaRanch Style Guide.
    • Post Reply Bookmark Topic Watch Topic
    • New Topic
    Boost this thread!