-
Notifications
You must be signed in to change notification settings - Fork 32
HeapManager
lcaron edited this page Jul 7, 2015
·
1 revision
A widget that displays the available heap size, the current heap size and a button to perform a Garbage Collecting.
In order to add this widget in your GUI, you just have to instantiate the widget with the appropriate parent
If you want to change the look of the widget, you can play with the following properties :
- barBorderColor
- barInnerColor
- barTextColor
- barGradientColorTopStart
- barGradientColorTopEnd
- barGradientColorMiddleStart
An example called HeapManagerSnippet.java is available in the directory src/test/java/org/mihalis/opal/heapManager.
This example is also available here : https://github.com/lcaron/opal/blob/master/src/test/java/org/mihalis/opal/heapManager/HeapManagerSnippet.java