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

📄 retireresources.java

📁 sun公司开发的,java2核心技术,卷II:高级性能,包括一系列的高级java应用技术,如数据库德连接,高级swing,多线程,软件本地化等等,本文件中则包含该书中的所用实例,配合该书使用,使对ja
💻 JAVA
字号:
import java.util.*;
import java.awt.*;

public class RetireResources
   extends java.util.ListResourceBundle 
{  public Object[][] getContents() { return contents; }
   static final Object[][] contents = 
   {  // BEGIN LOCALIZE
      { "language", "Language" },
      { "computeButton", "Compute" },
      { "savings", "Prior Savings" },
      { "contrib", "Annual Contribution" },
      { "income", "Retirement Income" },
      { "currentAge", "Current Age" },
      { "retireAge", "Retirement Age" },
      { "deathAge", "Life Expectancy" },
      { "inflationPercent", "Inflation" },
      { "investPercent", "Investment Return" },
      { "retire", "Age: {0,number} Balance: {1,number,currency}" },
      { "colorPre", Color.blue },
      { "colorGain", Color.white },
      { "colorLoss", Color.red }
      // END LOCALIZE
   };
}

⌨️ 快捷键说明

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