lawrancej / logisim

Git fork of Logisim code base
http://www.cburch.com/logisim/
GNU General Public License v3.0
211 stars 104 forks source link

Linux display problems and refactoring #108

Closed dheid closed 6 years ago

dheid commented 8 years ago

When I started Logisim on my Ubuntu 16 machine, the menus missed some separators and the deactivated entries font edges were not rendered correctly. I changed the look and feel to nimbus to ensure platform independence.

Also I started refactoring the class AbstractGate, since there is a very long method "paintBase" that is used frequently and was complex. I moved some of the code to the InstancePainter.

There were not unit tests, so I created the first ones.

To ensure compatibility with newer Java versions, I exchanged some a deprecated method of JList with the recommended one.

Please include these commits, to ensure a higher display quality and less code complexity.

dheid commented 6 years ago

Okay, seems like no one cares.