Changeset 835 for trunk/src/jlatexeditor/gui/StatusBar.java
- Timestamp:
- 09/04/10 09:06:26 (21 months ago)
- Files:
-
- 1 modified
-
trunk/src/jlatexeditor/gui/StatusBar.java (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/jlatexeditor/gui/StatusBar.java
r744 r835 30 30 private CheckForUpdates updateChecker = new CheckForUpdates(); 31 31 32 private ArrayList<String> mess ges = new ArrayList<String>();32 private ArrayList<String> messages = new ArrayList<String>(); 33 33 34 34 public StatusBar(JLatexEditorJFrame jLatexEditor) { … … 58 58 59 59 public synchronized void showMessage(String shortMessage, String message) { 60 mess ges.add(message);61 new MessagePopup( message, jLatexEditor);60 messages.add(message); 61 new MessagePopup(new Color(0, 192, 0), message, jLatexEditor); 62 62 } 63 63 … … 112 112 } 113 113 114 public static class MemoryUsage extends JPanel implements ActionListener { 114 public void showTextError(String shortMessage, String textMessage) { 115 String message = "<html>" + textMessage.replaceAll("\\n", "<br>") + "</html>"; 116 messages.add(message); 117 new MessagePopup(new Color(192, 0, 0), message, jLatexEditor); 118 } 119 120 public static class MemoryUsage extends JPanel implements ActionListener { 115 121 public static Color COLOR_BAR = new Color(163, 201, 247); 116 122 public static Color COLOR_BACKGROUND = ColorUtil.mix(COLOR_BAR, 0.5, Color.WHITE);
![(please configure the [header_logo] section in trac.ini)](http://jlatexeditor.endrullis.de/chrome/site/logo.png)