src/demo/share/applets/NervousText/NervousText.java

Print this page

        

*** 70,81 **** @Override public void init() { banner = getParameter("text"); if (banner == null) { ! banner = "HotJava"; } int bannerLength = banner.length(); StringBuilder bc = new StringBuilder(bannerLength); StringBuilder attrs = new StringBuilder(bannerLength); int wd = 0; --- 70,82 ---- @Override public void init() { banner = getParameter("text"); if (banner == null) { ! banner = "Java Development Kit "; } + banner += System.getProperty("java.version", ""); int bannerLength = banner.length(); StringBuilder bc = new StringBuilder(bannerLength); StringBuilder attrs = new StringBuilder(bannerLength); int wd = 0;