(Component toAdd, Container addTo)
| 137 | |
| 138 | |
| 139 | private void addLeftAligned(Component toAdd, Container addTo) { |
| 140 | JPanel temp = new JPanel(new BorderLayout()); |
| 141 | temp.setOpaque(false); // For ones on white background. |
| 142 | temp.add(toAdd, BorderLayout.LINE_START); |
| 143 | addTo.add(temp); |
| 144 | } |
| 145 | |
| 146 | |
| 147 | private String getMemoryInfo() { |
no test coverage detected