亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? logbrokermonitor.java

?? apache的log4j源碼
?? JAVA
?? 第 1 頁 / 共 4 頁
字號:
            updateStatusLabel();          }        }    );    return editRestoreAllNDCMI;  }  protected JToolBar createToolBar() {    JToolBar tb = new JToolBar();    tb.putClientProperty("JToolBar.isRollover", Boolean.TRUE);    JComboBox fontCombo = new JComboBox();    JComboBox fontSizeCombo = new JComboBox();    _fontSizeCombo = fontSizeCombo;    ClassLoader cl = this.getClass().getClassLoader();    if(cl == null) {        cl = ClassLoader.getSystemClassLoader();    }    URL newIconURL = cl.getResource("org/apache/log4j/lf5/viewer/" +        "images/channelexplorer_new.gif");    ImageIcon newIcon = null;    if (newIconURL != null) {      newIcon = new ImageIcon(newIconURL);    }    JButton newButton = new JButton("Clear Log Table");    if (newIcon != null) {      newButton.setIcon(newIcon);    }    newButton.setToolTipText("Clear Log Table.");    //newButton.setBorder(BorderFactory.createEtchedBorder());    newButton.addActionListener(        new ActionListener() {          public void actionPerformed(ActionEvent e) {            _table.clearLogRecords();            _categoryExplorerTree.getExplorerModel().resetAllNodeCounts();            updateStatusLabel();            clearDetailTextArea();            LogRecord.resetSequenceNumber();          }        }    );    Toolkit tk = Toolkit.getDefaultToolkit();    // This will actually grab all the fonts    String[] fonts;    if (_loadSystemFonts) {      fonts = GraphicsEnvironment.          getLocalGraphicsEnvironment().getAvailableFontFamilyNames();    } else {      fonts = tk.getFontList();    }    for (int j = 0; j < fonts.length; j++) {      fontCombo.addItem(fonts[j]);    }    fontCombo.setSelectedItem(_fontName);    fontCombo.addActionListener(        new ActionListener() {          public void actionPerformed(ActionEvent e) {            JComboBox box = (JComboBox) e.getSource();            String font = (String) box.getSelectedItem();            _table.setFont(new Font(font, Font.PLAIN, _fontSize));            _fontName = font;          }        }    );    fontSizeCombo.addItem("8");    fontSizeCombo.addItem("9");    fontSizeCombo.addItem("10");    fontSizeCombo.addItem("12");    fontSizeCombo.addItem("14");    fontSizeCombo.addItem("16");    fontSizeCombo.addItem("18");    fontSizeCombo.addItem("24");    fontSizeCombo.setSelectedItem(String.valueOf(_fontSize));    fontSizeCombo.addActionListener(        new ActionListener() {          public void actionPerformed(ActionEvent e) {            JComboBox box = (JComboBox) e.getSource();            String size = (String) box.getSelectedItem();            int s = Integer.valueOf(size).intValue();            setFontSizeSilently(s);            refreshDetailTextArea();            _fontSize = s;          }        }    );    tb.add(new JLabel(" Font: "));    tb.add(fontCombo);    tb.add(fontSizeCombo);    tb.addSeparator();    tb.addSeparator();    tb.add(newButton);    newButton.setAlignmentY(0.5f);    newButton.setAlignmentX(0.5f);    fontCombo.setMaximumSize(fontCombo.getPreferredSize());    fontSizeCombo.setMaximumSize(        fontSizeCombo.getPreferredSize());    return (tb);  }//    protected void setView(String viewString, LogTable table) {//        if (STANDARD_VIEW.equals(viewString)) {//            table.setStandardView();//        } else if (COMPACT_VIEW.equals(viewString)) {//            table.setCompactView();//        } else if (DETAILED_VIEW.equals(viewString)) {//            table.setDetailedView();//        } else {//            String message = viewString + "does not match a supported view.";//            throw new IllegalArgumentException(message);//        }//        _currentView = viewString;//    }  protected void setView(String viewString, LogTable table) {    if (DETAILED_VIEW.equals(viewString)) {      table.setDetailedView();    } else {      String message = viewString + "does not match a supported view.";      throw new IllegalArgumentException(message);    }    _currentView = viewString;  }  protected JComboBox createLogLevelCombo() {    JComboBox result = new JComboBox();    Iterator levels = getLogLevels();    while (levels.hasNext()) {      result.addItem(levels.next());    }    result.setSelectedItem(_leastSevereDisplayedLogLevel);    result.addActionListener(new ActionListener() {      public void actionPerformed(ActionEvent e) {        JComboBox box = (JComboBox) e.getSource();        LogLevel level = (LogLevel) box.getSelectedItem();        setLeastSevereDisplayedLogLevel(level);      }    });    result.setMaximumSize(result.getPreferredSize());    return result;  }  protected void setLeastSevereDisplayedLogLevel(LogLevel level) {    if (level == null || _leastSevereDisplayedLogLevel == level) {      return; // nothing to do    }    _leastSevereDisplayedLogLevel = level;    _table.getFilteredLogTableModel().refresh();    updateStatusLabel();  }  /**   * Ensures that the Table's ScrollPane Viewport will "track" with updates   * to the Table.  When the vertical scroll bar is at its bottom anchor   * and tracking is enabled then viewport will stay at the bottom most   * point of the component.  The purpose of this feature is to allow   * a developer to watch the table as messages arrive and not have to   * scroll after each new message arrives.  When the vertical scroll bar   * is at any other location, then no tracking will happen.   * @deprecated tracking is now done automatically.   */  protected void trackTableScrollPane() {    // do nothing  }  protected void centerFrame(JFrame frame) {    Dimension screen = Toolkit.getDefaultToolkit().getScreenSize();    Dimension comp = frame.getSize();    frame.setLocation(((screen.width - comp.width) / 2),        ((screen.height - comp.height) / 2));  }  /**   * Uses a JFileChooser to select a file to opened with the   * LF5 GUI.   */  protected void requestOpen() {    JFileChooser chooser;    if (_fileLocation == null) {      chooser = new JFileChooser();    } else {      chooser = new JFileChooser(_fileLocation);    }    int returnVal = chooser.showOpenDialog(_logMonitorFrame);    if (returnVal == JFileChooser.APPROVE_OPTION) {      File f = chooser.getSelectedFile();      if (loadLogFile(f)) {        _fileLocation = chooser.getSelectedFile();        _mruFileManager.set(f);        updateMRUList();      }    }  }  /**   * Uses a Dialog box to accept a URL to a file to be opened   * with the LF5 GUI.   */  protected void requestOpenURL() {    LogFactor5InputDialog inputDialog = new LogFactor5InputDialog(        getBaseFrame(), "Open URL", "URL:");    String temp = inputDialog.getText();    if (temp != null) {      if (temp.indexOf("://") == -1) {        temp = "http://" + temp;      }      try {        URL url = new URL(temp);        if (loadLogFile(url)) {          _mruFileManager.set(url);          updateMRUList();        }      } catch (MalformedURLException e) {        LogFactor5ErrorDialog error = new LogFactor5ErrorDialog(            getBaseFrame(), "Error reading URL.");      }    }  }  /**   * Removes old file list and creates a new file list   * with the updated MRU list.   */  protected void updateMRUList() {    JMenu menu = _logMonitorFrame.getJMenuBar().getMenu(0);    menu.removeAll();    menu.add(createOpenMI());    menu.add(createOpenURLMI());    menu.addSeparator();    menu.add(createCloseMI());    createMRUFileListMI(menu);    menu.addSeparator();    menu.add(createExitMI());  }  protected void requestClose() {    setCallSystemExitOnClose(false);    closeAfterConfirm();  }  /**   * Opens a file in the MRU list.   */  protected void requestOpenMRU(ActionEvent e) {    String file = e.getActionCommand();    StringTokenizer st = new StringTokenizer(file);    String num = st.nextToken().trim();    file = st.nextToken("\n");    try {      int index = Integer.parseInt(num) - 1;      InputStream in = _mruFileManager.getInputStream(index);      LogFileParser lfp = new LogFileParser(in);      lfp.parse(this);      _mruFileManager.moveToTop(index);      updateMRUList();    } catch (Exception me) {      LogFactor5ErrorDialog error = new LogFactor5ErrorDialog(          getBaseFrame(), "Unable to load file " + file);    }  }  protected void requestExit() {    _mruFileManager.save();    setCallSystemExitOnClose(true);    closeAfterConfirm();  }  protected void closeAfterConfirm() {    StringBuffer message = new StringBuffer();    if (_callSystemExitOnClose == false) {      message.append("Are you sure you want to close the logging ");      message.append("console?\n");      message.append("(Note: This will not shut down the Virtual Machine,\n");      message.append("or the Swing event thread.)");    } else {      message.append("Are you sure you want to exit?\n");      message.append("This will shut down the Virtual Machine.\n");    }    String title =        "Are you sure you want to dispose of the Logging Console?";    if (_callSystemExitOnClose == true) {      title = "Are you sure you want to exit?";    }    int value = JOptionPane.showConfirmDialog(        _logMonitorFrame,        message.toString(),        title,        JOptionPane.OK_CANCEL_OPTION,        JOptionPane.QUESTION_MESSAGE,        null    );    if (value == JOptionPane.OK_OPTION) {      dispose();    }  }  protected Iterator getLogLevels() {    return _levels.iterator();  }  protected Iterator getLogTableColumns() {    return _columns.iterator();  }  /**   * Loads and parses a log file.   */  protected boolean loadLogFile(File file) {    boolean ok = false;    try {      LogFileParser lfp = new LogFileParser(file);      lfp.parse(this);      ok = true;    } catch (IOException e) {      LogFactor5ErrorDialog error = new LogFactor5ErrorDialog(          getBaseFrame(), "Error reading " + file.getName());    }    return ok;  }  /**   * Loads a parses a log file running on a server.   */  protected boolean loadLogFile(URL url) {    boolean ok = false;    try {      LogFileParser lfp = new LogFileParser(url.openStream());      lfp.parse(this);      ok = true;    } catch (IOException e) {      LogFactor5ErrorDialog error = new LogFactor5ErrorDialog(          getBaseFrame(), "Error reading URL:" + url.getFile());    }    return ok;  }  //--------------------------------------------------------------------------  //   Private Methods:  //--------------------------------------------------------------------------  //--------------------------------------------------------------------------  //   Nested Top-Level Classes or Interfaces:  //--------------------------------------------------------------------------  class LogBrokerMonitorWindowAdaptor extends WindowAdapter {    protected LogBrokerMonitor _monitor;    public LogBrokerMonitorWindowAdaptor(LogBrokerMonitor monitor) {      _monitor = monitor;    }    public void windowClosing(WindowEvent ev) {      _monitor.requestClose();    }  }}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产欧美一区二区三区鸳鸯浴 | 日韩国产精品久久久| ●精品国产综合乱码久久久久| 久久精品欧美一区二区三区不卡 | ㊣最新国产の精品bt伙计久久| 久久精品男人的天堂| 久久色视频免费观看| 日韩美一区二区三区| 日韩视频免费观看高清完整版在线观看| 欧美日韩高清在线播放| 欧美一区二区三区免费观看视频| 日韩一区二区视频在线观看| 日韩免费成人网| 久久亚洲一区二区三区明星换脸| 欧美精品一区二区三区蜜桃| 欧美电影免费观看高清完整版在| 欧美一级久久久| 日韩欧美一二区| 欧美va天堂va视频va在线| 欧美一区二区三区爱爱| 91国在线观看| 欧美日韩aaaaaa| 欧美酷刑日本凌虐凌虐| 91麻豆精品久久久久蜜臀| 欧美日韩国产成人在线免费| 欧美区在线观看| 在线视频一区二区三区| 欧美性videosxxxxx| 欧美性感一区二区三区| 欧美日韩视频一区二区| 91精品欧美综合在线观看最新| 正在播放亚洲一区| 日韩一区二区精品葵司在线| 精品美女一区二区| 久久美女高清视频| 国产欧美日韩精品一区| 亚洲欧洲国产日本综合| 一区二区在线观看不卡| 亚洲伦在线观看| 亚洲高清三级视频| 久久精品国产秦先生| 国产综合色在线| 国产福利不卡视频| 99久久国产综合精品麻豆| 国产欧美视频一区二区| 久久亚洲综合av| 亚洲欧洲成人精品av97| 亚洲国产精品久久不卡毛片| 蜜臀久久久久久久| 国产精品综合在线视频| 波多野结衣欧美| 欧美日韩成人综合在线一区二区| 欧美亚洲自拍偷拍| 日韩三级免费观看| 久久亚洲二区三区| 亚洲自拍偷拍图区| 久久精品国产精品亚洲红杏| 粉嫩av一区二区三区在线播放 | 经典一区二区三区| 粉嫩aⅴ一区二区三区四区| 色婷婷综合在线| 日韩精品最新网址| 中文字幕一区二区三区乱码在线| 五月激情综合色| 国产麻豆成人传媒免费观看| 色综合天天做天天爱| 免费看日韩a级影片| 国产aⅴ精品一区二区三区色成熟| 91网站最新地址| 日韩欧美一级二级三级久久久| 中文字幕精品一区| 视频一区二区国产| 成人动漫视频在线| 日韩一区二区精品在线观看| 欧美国产一区二区| 美腿丝袜一区二区三区| 色噜噜狠狠一区二区三区果冻| 精品国产伦一区二区三区观看体验 | 亚洲综合免费观看高清完整版| 美女久久久精品| 一本大道av一区二区在线播放| 久久综合色8888| 午夜伦欧美伦电影理论片| 成人一道本在线| 精品国产一区二区在线观看| 一区二区三区欧美在线观看| 亚洲美女视频在线| 国产一区二区精品久久99| 欧美日韩欧美一区二区| 中文字幕亚洲成人| 国产一区在线看| 欧美三级电影网站| 日本一区二区三区免费乱视频| 另类小说色综合网站| 99久久精品国产精品久久| 欧美videos中文字幕| 丝袜亚洲另类丝袜在线| 91久久精品网| 日韩一区在线免费观看| 国产福利精品导航| www国产成人| 国内精品伊人久久久久av影院| 制服.丝袜.亚洲.中文.综合| 亚洲成人激情av| 色94色欧美sute亚洲13| 国产精品传媒在线| 国产一区二区中文字幕| 欧美一区二区国产| 日日嗨av一区二区三区四区| 欧美日韩一级片网站| 亚洲天堂免费在线观看视频| 国产99久久久精品| 中文字幕乱码久久午夜不卡| 国产一区二区三区高清播放| xnxx国产精品| 国产一区二区三区免费播放| 欧美日韩视频专区在线播放| 亚洲欧美日韩国产中文在线| 色综合中文综合网| 日韩精品影音先锋| 免费成人在线视频观看| 欧美福利视频一区| 日韩电影网1区2区| 欧美一区二区在线免费观看| 亚洲第一主播视频| 欧美另类变人与禽xxxxx| 婷婷激情综合网| 精品视频1区2区3区| 一区二区在线观看视频| 欧美性猛交xxxx乱大交退制版| 亚洲综合另类小说| 777午夜精品视频在线播放| 国产精品一区久久久久| 亚洲三级免费观看| 日日摸夜夜添夜夜添精品视频| 国产91精品一区二区麻豆网站 | 午夜精品123| 亚洲免费成人av| 欧美日韩国产一区二区三区地区| 成人禁用看黄a在线| 成人福利视频网站| 国产一区二区调教| 美脚の诱脚舐め脚责91| 婷婷激情综合网| 一区二区在线观看免费| 日韩一二三区视频| 精品无人码麻豆乱码1区2区| 午夜久久福利影院| 欧美精品乱人伦久久久久久| 精品国内二区三区| 香蕉av福利精品导航| jlzzjlzz欧美大全| 色噜噜久久综合| 在线观看日韩一区| 在线观看日韩电影| 欧美日韩一区久久| 日韩va欧美va亚洲va久久| 亚洲电影一区二区三区| 一区二区三区精密机械公司| 自拍偷拍亚洲激情| 中文字幕欧美三区| 亚洲欧美日韩系列| 亚洲影视资源网| 免费成人在线播放| 久久aⅴ国产欧美74aaa| 国产乱子轮精品视频| 美女在线视频一区| 国产精品一区二区三区四区| 国产成人精品网址| 欧美在线免费观看视频| 欧美日韩成人在线一区| 日韩欧美另类在线| 久久久777精品电影网影网| 日韩美女视频一区二区| 国产精品水嫩水嫩| 亚洲综合图片区| 麻豆91小视频| 欧美吞精做爰啪啪高潮| 91精品综合久久久久久| 日韩一卡二卡三卡国产欧美| 亚洲国产精品一区二区尤物区| 99久久99久久精品免费观看| 日韩欧美不卡在线观看视频| xnxx国产精品| 欧美年轻男男videosbes| 欧美一区二区三区免费观看视频 | 日韩av一区二区在线影视| 国产亚洲综合在线| 亚洲精品一二三四区| 国产精品538一区二区在线| 亚洲精品水蜜桃| 久久蜜臀中文字幕| 欧美视频一区二| 欧美性感一区二区三区| 成人v精品蜜桃久久一区| 国产精品99久久久久久有的能看| 午夜在线电影亚洲一区| 一区二区三区视频在线看| 亚洲色图色小说| 91麻豆精品一区二区三区|