/** * Add component to the status bar. * * @param comp Component to add. * * @throws IllegalArgumentException * Thrown if <TT>null</TT> <TT>JComponent</TT> passed. */ public void addToStatusBar(JComponent comp) { if (comp == null) { throw new IllegalArgumentException("JComponent == null"); } _statusBar.addJComponent(comp); }
/** * Default ctor. */ public MainFrameStatusBar(IApplication app) { super(); createGUI(app); }
/** * Remove component to the main frames status bar. * * @param comp Component to remove. */ public void removeFromStatusBar(JComponent comp) { if (comp == null) { throw new IllegalArgumentException("JComponent == null"); } _statusBar.remove(comp); }
private void createGUI(IApplication app) { clearText(); addJComponent(new LogPanel(app)); addJComponent(new MemoryPanel(app)); addJComponent(new TimePanel()); } }
_statusBar = new MainFrameStatusBar(_app); final Font fn = _app.getFontInfoStore().getStatusBarFontInfo().createFont(); _statusBar.setFont(fn);
private void createGUI(IApplication app) { clearText(); addJComponent(new LogPanel(app)); addJComponent(new MemoryPanel(app)); addJComponent(new TimePanel()); } }
_statusBar = new MainFrameStatusBar(_app); final Font fn = _app.getFontInfoStore().getStatusBarFontInfo().createFont(); _statusBar.setFont(fn);
/** * Default ctor. */ public MainFrameStatusBar(IApplication app) { super(); createGUI(app); }
/** * Remove component to the main frames status bar. * * @param comp Component to remove. */ public void removeFromStatusBar(JComponent comp) { if (comp == null) { throw new IllegalArgumentException("JComponent == null"); } _statusBar.remove(comp); }
/** * Add component to the status bar. * * @param comp Component to add. * * @throws IllegalArgumentException * Thrown if <TT>null</TT> <TT>JComponent</TT> passed. */ public void addToStatusBar(JComponent comp) { if (comp == null) { throw new IllegalArgumentException("JComponent == null"); } _statusBar.addJComponent(comp); }