public static void setStatusBoldText(JTextComponent c, String text) { StatusBar sb = getEditorUI(c).getStatusBar(); if (sb != null) { sb.setBoldText(StatusBar.CELL_MAIN, text); } }
public static void setStatusBoldText(JTextComponent c, String text) { StatusBar sb = getEditorUI(c).getStatusBar(); if (sb != null) { sb.setBoldText(StatusBar.CELL_MAIN, text); } }
public static void setStatusText(JTextComponent c, String text, Coloring extraColoring) { StatusBar sb = getEditorUI(c).getStatusBar(); if (sb != null) { sb.setText(StatusBar.CELL_MAIN, text, extraColoring); } }
public static void setStatusText(JTextComponent c, String text, Coloring extraColoring) { StatusBar sb = getEditorUI(c).getStatusBar(); if (sb != null) { sb.setText(StatusBar.CELL_MAIN, text, extraColoring); } }
/** * Clears the status bar if it contains the latest status message * displayed by this annotation bar. */ private void clearRecentFeedback() { StatusBar statusBar = editorUI.getStatusBar(); if (statusBar.getText(StatusBar.CELL_MAIN) == recentStatusMessage) { statusBar.setText(StatusBar.CELL_MAIN, ""); // NOI18N } }
public static void setStatusText(JTextComponent c, String text) { StatusBar sb = getEditorUI(c).getStatusBar(); if (sb != null) { sb.setText(StatusBar.CELL_MAIN, text); } }
public static void setStatusText(JTextComponent c, String text) { StatusBar sb = getEditorUI(c).getStatusBar(); if (sb != null) { sb.setText(StatusBar.CELL_MAIN, text); } }
public static String getStatusText(JTextComponent c) { StatusBar sb = getEditorUI(c).getStatusBar(); return (sb != null) ? sb.getText(StatusBar.CELL_MAIN) : null; }
public static String getStatusText(JTextComponent c) { StatusBar sb = getEditorUI(c).getStatusBar(); return (sb != null) ? sb.getText(StatusBar.CELL_MAIN) : null; }
protected JComponent createExtComponent() { setLineNumberEnabled(true); // enable line numbering // extComponent will be a panel JComponent ec = new JPanel(new BorderLayout()); ec.putClientProperty(JTextComponent.class, component); // Add the scroll-pane with the component to the center JScrollPane scroller = new JScrollPane(component); scroller.getViewport().setMinimumSize(new Dimension(4,4)); // remove default scroll-pane border, winsys will handle borders itself scroller.setBorder(null); setGlyphGutter(new GlyphGutter(this)); scroller.setRowHeaderView(glyphGutter); initGlyphCorner(scroller); ec.add(scroller); // Install the status-bar panel to the bottom ec.add(getStatusBar().getPanel(), BorderLayout.SOUTH); return ec; }
extComponent.add(getStatusBar().getPanel(), BorderLayout.SOUTH);
StatusBar statusBar = editorUI.getStatusBar(); recentStatusMessage = loc.getString("CTL_StatusBar_WaitFetchAnnotation"); // NOI18N statusBar.setText(StatusBar.CELL_MAIN, recentStatusMessage);
StatusBar statusBar = eui.getStatusBar(); if (statusBar != null) { Coloring coloring = null;