Analysis from Justin Hanney indicates that the CPU is constantly processing paint events in the ScaleScrollPane.Ruler. Change the updateSize method to not revalidate and repaint since the paintComponent method also invokes the updateSize to ensure it is drawing components of the right size. This change also refactors the ChangeListener implementation to have the RulerClass implement the method instead of using an anonymous class for event handling when ruler units change. Additionally, this change adds a revalidate call to the scrollPane to fix an issue where the ruler is not repainted when switching views from 3D to 2D. Fixes #615 Signed-off-by: Billy Olsen <billy.olsen@gmail.com>
OpenRocket
Build Status -
Overview
OpenRocket is a free, fully featured model rocket simulator that allows you to design and simulate your rockets before actually building and flying them.
The main features include:
- Six-degree-of-freedom flight simulation
- Automatic design optimization
- Realtime simulated altitude, velocity and acceleration display
- Staging and clustering support
- Cross-platform (Java-based)
Read more about it on the OpenRocket Wiki.
License
OpenRocket is an Open Source project licensed under the GNU GPL. This means that the software is free to use for whatever purposes, and the source code is also available for studying and extending.
Contributing
OpenRocket needs help to become even better. Implementing features, writing documentation and creating example designs are just a few ways of helping. If you are interested in helping make OpenRocket the best rocket simulator out there, please click here for information on how to get involved!
Description
Languages
Java
80.3%
Csound
13.9%
Racket
4.6%
Cython
1.1%