⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 resources.java

📁 模仿WINDOWS的WINZIP的一款软件
💻 JAVA
字号:
package org.jr.jzj;

/**
 * <p>Copyright: Copyright (c) 2002-2003</p>
 * <p>Company: JavaResearch(http://www.javaresearch.org)</p>
 * <p>最后更新日期:2003年1月9日
 * @author Cherami,Barney,Brain
 * @version 0.8
 */

import java.util.*;

import org.jr.swing.*;

/**
 * 针对没有系统所支持的特定语言外的其他所有用户的资源内容,实际上就是当作英文用户。
 */

public class Resources
    extends ListResourceBundle
    implements ImageNames {
  /**
   * 得到资源的所有内容。
   * @return 资源的所有内容
   */
  public Object[][] getContents() {
    return contents;
  }

  static final ButtonProperty b_new = new ButtonProperty(
      "New*Create new package*" + img_b_new);
  static final ButtonProperty b_open = new ButtonProperty(
      "Open*Open a package*" + img_b_open);
  static final ButtonProperty b_extract = new ButtonProperty(
      "Extract*Extract files...*" + img_b_extract);
  static final ButtonProperty b_add = new ButtonProperty(
      "Add*Add files to package*" + img_b_add);
  static final ButtonProperty b_delete = new ButtonProperty(
      "Delete*Delete files from package*" + img_b_delete);
  static final ButtonProperty b_view = new ButtonProperty(
      "View*View selected file*" + img_b_view);
  static final ButtonProperty b_close = new ButtonProperty(
      "Close*Close current package*" + img_b_close);
  static final ButtonProperty b_option = new ButtonProperty(
      "Options*Setting global options*" + img_b_option);
  static final ButtonProperty b_about = new ButtonProperty(
      "About*About this software*" + img_b_about);
  static final ButtonProperty b_exit = new ButtonProperty(
      "Exit*Close this tools*" + img_b_exit);

  static final ButtonProperty v_b_close = new ButtonProperty(
      "Close*Close internal text browser*");

  static final ButtonProperty a_b_ok = new ButtonProperty(
      "OK*Close about dialog*");

  static final ButtonProperty e_b_ok = new ButtonProperty(
      "OK*Confirm extract files*");
  static final ButtonProperty e_b_cancel = new ButtonProperty(
      "Cancel*Cancel extract files*");

  static final MenuProperty m_file = new MenuProperty("File*f");
  static final MenuItemProperty m_new = new MenuItemProperty(
      "New*Create new package*" + img_m_new + "*n*control N");
  static final MenuItemProperty m_open = new MenuItemProperty(
      "Open*Open a package*" + img_m_open + "*o*control O");
  static final MenuItemProperty m_close = new MenuItemProperty(
      "Close*Close current package*" + img_m_close + "*c*control C");
  static final MenuItemProperty m_exit = new MenuItemProperty(
      "Exit*Close this tools*" + img_m_exit + "*e*control E");

  static final MenuProperty m_actions = new MenuProperty("Operation*a");
  static final MenuItemProperty m_add = new MenuItemProperty(
      "Add*Add files to package*" + img_m_add + "*a*INSERT");
  static final MenuItemProperty m_delete = new MenuItemProperty(
      "Delete*Delete files from package*" + img_m_delete + "*d*DELETE");
  static final MenuItemProperty m_extract = new MenuItemProperty(
      "Extract*Extract files...*" + img_m_extract + "*e*control X");
  static final MenuItemProperty m_view = new MenuItemProperty(
      "View*View selected file*" + img_m_view + "*v*control V");

  static final MenuProperty m_option = new MenuProperty("Options*o");
  static final MenuItemProperty m_o_option = new MenuItemProperty(
      "Options*Options for this software**o*control P");
  static final MenuProperty m_lookfeel = new MenuProperty("Lookfeel*l");

  static final MenuProperty m_help = new MenuProperty("Help*h");
  static final MenuItemProperty m_about = new MenuItemProperty(
      "About*About this software*" + img_m_about + "*a*control A");

  static final String[] t_columnNames = {
      "File Name", "Size", "Compress", "Scale", "Modify Time", "Type", "Path"};
  public static final int columnCount = t_columnNames.length;
  static final String j_title = "JZJ";
  static final String v_title = "JZJ internal text browser:";
  static final String a_title = "about JZJ(compress tools by java)";

  static final String e_title = "JZJ file extract...";
  static final String e_extract = "Extract to:";
  static final String e_selected_files = "Selected files";
  static final String e_all_files = "All files";
  static final String e_files = "Files";
  static final String e_overwrite = "Overwrite exists files";

  static final String i_file = "File";
  static final String i_exist = "already exists.";
  static final String i_overwrite = "OverWrite?";
  static final String i_warning = "Warning!";

  static final String i_selected = "Selected %1 files,%2";
  static final String i_total = "Total %1 files,%2";
  static final String i_memory = "Free:%1M/Total:%2M";
  static final String i_fileunit = "";
  static final String i_seperator = ",";
  static final String i_byte = "byte";
  static final String i_kilo = "KB";
  static final String i_mega = "MB";

  static final String o_title = "Options";
  static final String o_view_title = "View";
  static final String o_toolbar_title = "Toolbar";
  static final String o_folder_title = "Folders";
  static final String o_location_title = "Program locations";
  static final String o_mis_title = "Miscellaneous";
  static final String o_table_title = "Columns";
  static final String o_ms_title = "Mouse Selections";
  static final String o_general_title = "General";
  static final String o_vg_fullsel = "Full row select";
  static final String o_vg_grid = "Grid lines";
  static final String o_vg_filename = "Allow all upcase file names";
  static final String o_vm_doubleopen =
      "Double click to open a file (single click to select)";
  static final String o_vm_singleopen =
      "Single click to open a file (point to select)";
  static final String o_t_title = "Toolbar configuration";
  static final String o_t_showtext = "Show button text";
  static final String o_t_showtip = "Show tool tip";
  static final String o_l_viewer = "Viewer";
  static final String o_l_virusscanner = "Optional virus scanner";
  static final String o_m_recentfiles = "Number of &files in recent file list";
  static final String o_m_autoopen =
      "Automatically show the Open Archive dialog box";
  static final String o_m_loglevel = "The level of log";
  static final String[] loglevels = {
      "OFF", "FATAL", "ERROR", "WARN", "INFO", "DEBUG", "ALL"};
  static final String[] o_f_startup = {
      "Start-up folder", "System default", "Last open archive", "Folder"};
  static final String[] o_f_extract = {
      "Extract folder", "Open archive folder", "Last extract folder", "Folder"};
  static final String[] o_f_add = {
      "Add folder", "Open archive folder", "Last add archive", "Folder"};
  static final String[] o_f_work = {
      "Working folder", "Use for removable media only"};

  static final ButtonProperty o_b_ok = new ButtonProperty(
      "OK*Confirm close Options Dialog*");
  static final ButtonProperty o_b_apply = new ButtonProperty(
      "Apply*Apply the options*");
  static final ButtonProperty o_b_cancel = new ButtonProperty(
      "Cancel*Cancel the options*");
  static final ButtonProperty o_b_selectbtn = new ButtonProperty(
      "Select buttons*Select buttons*");
  static final ButtonProperty o_b_browsebtn = new ButtonProperty(
      "...*...*" + img_b_browse);
  static final String t_allrecords = "All Files Mode";
  static final String t_treemode = "Tree Mode";
  static final Object[][] contents = {
      {
      "j_title", j_title}
      ,

      {
      "v_title", v_title}
      , {
      "a_title", a_title}
      ,

      {
      "e_title", e_title}
      , {
      "e_extract", e_extract}
      , {
      "e_selected_files", e_selected_files}
      , {
      "e_all_files", e_all_files}
      , {
      "e_files", e_files}
      , {
      "e_overwrite", e_overwrite}
      ,

      {
      "b_new", b_new}
      , {
      "b_open", b_open}
      , {
      "b_add", b_add}
      , {
      "b_extract", b_extract}
      , {
      "b_delete", b_delete}
      , {
      "b_about", b_about}
      , {
      "b_close", b_close}
      , {
      "b_view", b_view}
      , {
      "b_option", b_option}
      , {
      "b_exit", b_exit}
      ,

      {
      "v_b_close", v_b_close}
      ,

      {
      "a_b_ok", a_b_ok}
      ,

      {
      "e_b_ok", e_b_ok}
      , {
      "e_b_cancel", e_b_cancel}
      ,

      {
      "m_file", m_file}
      , {
      "m_new", m_new}
      , {
      "m_open", m_open}
      , {
      "m_close", m_close}
      , {
      "m_exit", m_exit}
      ,

      {
      "m_actions", m_actions}
      , {
      "m_add", m_add}
      , {
      "m_extract", m_extract}
      , {
      "m_delete", m_delete}
      , {
      "m_view", m_view}
      ,

      {
      "m_option", m_option}
      , {
      "m_lookfeel", m_lookfeel}
      , {
      "m_help", m_help}
      , {
      "m_about", m_about}
      ,

      {
      "i_file", i_file}
      , {
      "i_exist", i_exist}
      , {
      "i_overwrite", i_overwrite}
      , {
      "i_warning", i_warning}
      ,

      {
      "i_selected", i_selected}
      , {
      "i_total", i_total}
      , {
      "i_memory", i_memory}
      , {
      "i_fileunit", i_fileunit}
      , {
      "i_seperator", i_seperator}
      ,

      {
      "i_byte", i_byte}
      , {
      "i_kilo", i_kilo}
      , {
      "i_mega", i_mega}
      ,

      {
      "t_columnnames", t_columnNames}
      , {
      "t_allrecords", t_allrecords}
      , {
      "t_treemode", t_treemode}
      , {
      "o_view_title", o_view_title}
      , {
      "o_toolbar_title", o_toolbar_title}
      , {
      "o_folder_title", o_folder_title}
      , {
      "o_location_title", o_location_title}
      , {
      "o_mis_title", o_mis_title}
      , {
      "o_title", o_title}
      , {
      "m_o_option", m_o_option}
      , {
      "o_b_ok", o_b_ok}
      , {
      "o_b_apply", o_b_apply}
      , {
      "o_b_cancel", o_b_cancel}
      , {
      "o_table_title", o_table_title}
      , {
      "o_ms_title", o_ms_title}
      , {
      "o_general_title", o_general_title}
      , {
      "o_vg_fullsel", o_vg_fullsel}
      , {
      "o_vg_grid", o_vg_grid}
      , {
      "o_vg_filename", o_vg_filename}
      , {
      "o_vm_doubleopen", o_vm_doubleopen}
      , {
      "o_vm_singleopen", o_vm_singleopen}
      , {
      "o_t_title", o_t_title}
      , {
      "o_t_showtext", o_t_showtext}
      , {
      "o_t_showtip", o_t_showtip}
      , {
      "o_b_selectbtn", o_b_selectbtn}
      , {
      "o_l_viewer", o_l_viewer}
      , {
      "o_l_virusscanner", o_l_virusscanner}
      , {
      "o_b_browsebtn", o_b_browsebtn}
      , {
      "o_m_recentfiles", o_m_recentfiles}
      , {
      "o_m_autoopen", o_m_autoopen}
      , {
      "o_m_loglevel", o_m_loglevel}
      , {
      "loglevels", loglevels}
      , {
      "o_f_startup", o_f_startup}
      , {
      "o_f_extract", o_f_extract}
      , {
      "o_f_add", o_f_add}
      , {
      "o_f_work", o_f_work}
  };

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -