svn commit: r13857 - trunk/src_new/org/argouml/ui/ProjectBrowser.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: tfmorris
Date: 2007-12-06 02:37:19-0800
New Revision: 13857

Modified:
   trunk/src_new/org/argouml/ui/ProjectBrowser.java

Log:
Issue 4935: Add a JVM heap monitor to the bottom of the screen

Modified: trunk/src_new/org/argouml/ui/ProjectBrowser.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/ui/ProjectBrowser.java?view=diff&rev=13857&p1=trunk/src_new/org/argouml/ui/ProjectBrowser.java&p2=trunk/src_new/org/argouml/ui/ProjectBrowser.java&r1=13856&r2=13857
==============================================================================
--- trunk/src_new/org/argouml/ui/ProjectBrowser.java	(original)
+++ trunk/src_new/org/argouml/ui/ProjectBrowser.java	2007-12-06 02:37:19-0800
@@ -273,7 +273,12 @@
             this.setJMenuBar(menuBar);
             //getContentPane().add(_menuBar, BorderLayout.NORTH);
             getContentPane().add(assemblePanels(), BorderLayout.CENTER);
-            getContentPane().add(statusBar, BorderLayout.SOUTH);
+
+            JPanel bottom = new JPanel();
+            bottom.setLayout(new BorderLayout());
+            bottom.add(statusBar, BorderLayout.CENTER);
+            bottom.add(new HeapMonitor(), BorderLayout.EAST);
+            getContentPane().add(bottom, BorderLayout.SOUTH);
 
             setAppName(applicationName);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.