• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Using Java Swing: Which Components to use

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

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.
     
    reply
      Bookmark Topic Watch Topic
    • New Topic