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

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

?? nimrodlookandfeel.java

?? NimROD L&F是一個(gè)具有多種主題的Swing皮膚
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
/* *                 (C) Copyright 2005 Nilo J. Gonzalez * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser Gereral Public Licence as published by the Free * Software Foundation; either version 2 of the Licence, or (at your opinion) any * later version. *  * This library is distributed in the hope that it will be usefull, but WITHOUT ANY * WARRANTY; without even the implied warranty of merchantability or fitness for a * particular purpose. See the GNU Lesser General Public Licence for more details. *  * You should have received a copy of the GNU Lesser General Public Licence along * with this library; if not, write to the Free Software Foundation, Inc., 59 * Temple Place, Suite 330, Boston, Ma 02111-1307 USA. * * http://www.gnu.org/licenses/lgpl.html (English) * http://gugs.sindominio.net/gnu-gpl/lgpl-es.html (Espa駉l) * * * Original author: Nilo J. Gonz醠ez *  * And, last but not least, these people improved the code: *   Fritz Elfert *   Eduardo *  */ /** * The main class for the NimROD Look&Feel. * * To use this Look&Feel, simply include these two lines into your code:<br> * <code> * NimRODLookAndFeel NimRODLF = new NimRODLookAndFeel(); * UIManager.setLookAndFeel( NimRODLF); * </code> * You can change the default theme color in two ways. *  * You can create theme and change de colours with this lines:<br> *   <code> *   NimRODLookAndFeel NimRODLF = new NimRODLookAndFeel(); *   NimRODTheme nt = new NimRODTheme(); *   nt.setX( Color); *   .... *   nt.setX( Color); *   NimRODLF.setCurrentTheme( nt); *   UIManager.setLookAndFeel( NimRODLF); *   <code><br> * This way is good if you can change the sources and you want the program works *only* with NimRODLF.  * * If you don't have the sources you can change the theme color including same properties in your command line and the look and feel * will do its best... This couldn't work if the application changes the system properties, but, well, if you don't have the sources...<br> * For example:<br> *   <code>java -Dnimrodlf.selection=0x00cc00 XXX.YOUR.APP.XXX</code> will colour with green the selected widgets<br> *   <code>java java -Dnimrodlf.s1=0xdde8ee -Dnimrodlf.s2=0xb7daec -Dnimrodlf.s3=0x74bfe6 XXX.YOUR.APP.XXX</code> will colour with blue the background of the widgets<br> * The values are in the tipical HTML format (0xRRGGBB) with the red, green and blue values encoded in hexadecimal format.<br>  * These are the admited properties: * <ul>    * <li>nimrodlf.selection: this is the selection color</li> * <li>nimrodlf.background: this is the background color</li> * <li>nimrodlf.p1: this is the primary1 color (緿on't you understand? Patience?</li> * <li>nimrodlf.p2: this is the primary2 color</li> * <li>nimrodlf.p3: this is the primary3 color</li> * <li>nimrodlf.s1: this is the secondary1 color</li> * <li>nimrodlf.s2: this is the secondary2 color</li> * <li>nimrodlf.s3: this is the secondary3 color</li> * <li>nimrodlf.b: this is the black color</li> * <li>nimrodlf.w: this is the white color</li> * <li>nimrodlf.menuOpacity: this is the menu opacity</li> * <li>nimrodlf.frameOpacity: this is the frame opacity</li> * </ul> * 縋rimary color? 縎econdary? 縒hat the...? Cool. <a href='http://java.sun.com/products/jlf/ed1/dg/higg.htm#62001'>Here</a> you can learn what  * i'm talking about. Swing applications have only 8 colors, named PrimaryX, SecondaryX, White and Black, and <a href='http://java.sun.com/products/jlf/ed1/dg/higg.htm#62001'>here</a> * you hava a table with the who-is-who.<br> * You don't need to write all the values, you only must write those values you want to change. There are two shorthand properties, selection and background. * If you write nimrodlf.selection or nimrodlf.background the NimRODLF will calculate the colors around (darker and lighter) your choose.<br> * If nimrodlf.selection is writen, pX, sX, b and w are ignored.  * Ahh!! One more thing. 0xRRGGBB is equal #RRGGBB.  * @see NimRODTheme * @see http://java.sun.com/products/jlf/ed1/dg/higg.htm#62001 * @author Nilo J. Gonzalez  */ package com.nilo.plaf.nimrod;import java.awt.*;import java.awt.image.Kernel;import javax.swing.*;import javax.swing.plaf.*;import javax.swing.plaf.metal.*;import java.io.*;import java.util.*;public class NimRODLookAndFeel extends MetalLookAndFeel {  private static final long serialVersionUID = 7191199335214123414L;    String fichTheme = "";    protected static MetalTheme theme;    public NimRODLookAndFeel() {    super();        NimRODTheme nt = new NimRODTheme();        String p1, p2, p3, s1, s2, s3, selection, background, w, b, opMenu, opFrame;            // Vamos a ver si han puesto por linea de comandos un fichero de tema...        // Este codigo esta aqui gracias a Fritz Elfert, que descubrio que esto cascaba miserablemente    // cuando se usaba en un applet.    String nomFich = null;    try {      nomFich = System.getProperty( "nimrodlf.themeFile");    }     catch ( Exception ex) {      // If used in an applet, this could throw a SecurityException.    }        // ... o tenemos que tirar del fichero por defecto    nomFich = ( nomFich == null ? "NimRODThemeFile.theme" : nomFich);        try {      Properties props = new Properties();      InputStream res = null;            try {        res = new FileInputStream( nomFich);  // Primero, se carga el fichero      }      catch ( Exception ex) {        nomFich = ( nomFich.equals( "NimRODThemeFile.theme")? "/" + nomFich : nomFich);        res = this.getClass().getResourceAsStream( nomFich);   // Si no hay fichero, se busca en el classpath/jar      }            props.load( res);  // Si no esta en ningun sitio, esto dara una excepcion y cargara uno por defecto            selection = props.getProperty( "nimrodlf.selection");      background = props.getProperty( "nimrodlf.background");            p1 = props.getProperty( "nimrodlf.p1");      p2 = props.getProperty( "nimrodlf.p2");      p3 = props.getProperty( "nimrodlf.p3");            s1 = props.getProperty( "nimrodlf.s1");      s2 = props.getProperty( "nimrodlf.s2");      s3 = props.getProperty( "nimrodlf.s3");            w = props.getProperty( "nimrodlf.w");      b = props.getProperty( "nimrodlf.b");            opMenu = props.getProperty( "nimrodlf.menuOpacity");      opFrame = props.getProperty(  "nimrodlf.frameOpacity");              nt = NimRODUtils.iniCustomColors( nt, selection, background, p1, p2, p3, s1, s2, s3, w, b, opMenu, opFrame);            fichTheme = nomFich;    }    catch ( Exception ex) {    // Si no se puede leer el fichero o el fichero esta malamente,       nt = new NimRODTheme();  // no le hacemos ni caso.    }        try {      // Ahora vamos a ver si se expecifican los colores por linea de comandos.      selection = System.getProperty( "nimrodlf.selection");      background = System.getProperty( "nimrodlf.background");            p1 = System.getProperty( "nimrodlf.p1");      p2 = System.getProperty( "nimrodlf.p2");      p3 = System.getProperty( "nimrodlf.p3");            s1 = System.getProperty( "nimrodlf.s1");      s2 = System.getProperty( "nimrodlf.s2");      s3 = System.getProperty( "nimrodlf.s3");            w = System.getProperty( "nimrodlf.w");      b = System.getProperty( "nimrodlf.b");            opMenu = System.getProperty( "nimrodlf.menuOpacity");      opFrame = System.getProperty(  "nimrodlf.frameOpacity");              nt = NimRODUtils.iniCustomColors( nt, selection, background, p1, p2, p3, s1, s2, s3, w, b, opMenu, opFrame);    }    catch ( Exception ex ) {      // Este codigo esta aqui gracias a Fritz Elfert, que descubrio que esto cascaba miserablemente      // cuando se usaba en un applet. Un gran tipo Fritz...      if ( fichTheme.length() == 0 ) {        nt = new NimRODTheme();      }    }        setCurrentTheme( nt);        float[] elements = new float[NimRODUtils.MATRIX_FAT*NimRODUtils.MATRIX_FAT];    for ( int i = 0; i < elements.length; i++ ) {      elements[i] = 0.1f;    }    int mid = NimRODUtils.MATRIX_FAT/2+1;    elements[mid*mid] = .2f;        NimRODUtils.kernelFat = new Kernel( NimRODUtils.MATRIX_FAT,NimRODUtils.MATRIX_FAT, elements);        elements = new float[NimRODUtils.MATRIX_THIN*NimRODUtils.MATRIX_THIN];    for ( int i = 0; i < elements.length; i++ ) {      elements[i] = 0.1f;    }    mid = NimRODUtils.MATRIX_THIN/2+1;    elements[mid*mid] = .2f;        NimRODUtils.kernelThin = new Kernel( NimRODUtils.MATRIX_THIN,NimRODUtils.MATRIX_THIN, elements);  }      public String getID() {    return "NimROD";  }  public String getName() {    return "NimROD";  }  public String getDescription() {    return "Look and Feel NimROD, by Nilo J. Gonzalez 2005-2007";  }  public boolean isNativeLookAndFeel() {    return false;  }  public boolean isSupportedLookAndFeel() {    return true;  }    /**   * Este metodo devuelve false porque para dar bordes como es debido a la ventana principal hay que   * fusilarse la clase MetalRootPaneUI enterita porque la mayoria de sus metodos son privados...   * Ademas, no es mala idea que la decoracion de la ventana principal la ponga el sistema operativo   * para que sea igual que todas (y si tiene transparencias, mejor)   */  public boolean getSupportsWindowDecorations() {    return false;  }  /* Esta mierda es debida a que quiero que esto funcione en la version 1.4 de Java y ademas,      que el sitio adecuado para dejar la transparencia de los menus es el theme. Bueno, pues     en la version 1.4 eso no se puede hacer, porque la funcion getCurrentTheme es privada de     MetalLookAndFeel, asi que no hay manera de saber que tema se esta usando y por tanto no     se puede recuperar la opacidad (ni ninugna otra caracteristica de los temas que no sea      estandar). Asi que hay que replicar la funcion setCurrentTheme aqui, guardar el tema en      una variable local y devolverlo despues en la funcion getOpacity

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产一区二区精品在线观看| 日韩欧美国产系列| 欧美一区二区三区爱爱| 久久精品欧美一区二区三区不卡| 亚洲三级视频在线观看| 一色屋精品亚洲香蕉网站| 亚洲男同1069视频| 蜜桃久久久久久| 欧美一区午夜视频在线观看| 久久久久久久综合色一本| 欧美一区二区三区视频免费| 欧美日韩三级视频| 51精品秘密在线观看| 日韩女优毛片在线| 中文字幕免费不卡| 亚洲男同性恋视频| 国产乱人伦偷精品视频免下载| 国产精品影音先锋| 精品视频1区2区| 中文字幕视频一区二区三区久| 丝袜美腿亚洲一区| eeuss国产一区二区三区| 一区二区欧美精品| 色丁香久综合在线久综合在线观看| 日本一区二区成人| 91丨porny丨最新| 欧美高清视频在线高清观看mv色露露十八 | 2021中文字幕一区亚洲| 伊人色综合久久天天| 国产成人亚洲综合a∨猫咪| 9191精品国产综合久久久久久| 中文字幕亚洲电影| 日韩精品在线网站| 欧美性生活一区| 丁香一区二区三区| 爽爽淫人综合网网站| 久久日韩粉嫩一区二区三区| 色婷婷激情综合| 丰满少妇久久久久久久| 丝袜美腿亚洲一区| 亚洲三级久久久| 91麻豆国产香蕉久久精品| 最新成人av在线| 欧美性受极品xxxx喷水| 美女一区二区三区| 国产精品视频免费| 欧美日韩国产区一| 九九**精品视频免费播放| 国产三级一区二区| 欧美日韩在线三级| 亚洲一区二区三区自拍| 久久久久久久久蜜桃| 91精品国产综合久久久蜜臀图片| 成人a免费在线看| 精品99一区二区| 99九九99九九九视频精品| 亚洲国产中文字幕| 国产性做久久久久久| 91福利视频在线| 国产乱码字幕精品高清av | 国产精品久久精品日日| 色域天天综合网| 精品一区二区三区免费| 亚洲欧美影音先锋| 日韩欧美久久久| 欧美性感一区二区三区| 国产精品1区2区| 视频在线在亚洲| 中文字幕一区二区三区精华液 | 亚洲三级电影网站| 欧美一级片免费看| 欧美亚洲综合色| a4yy欧美一区二区三区| 91论坛在线播放| 亚洲mv大片欧洲mv大片精品| 欧美高清视频不卡网| 99久精品国产| 成人免费看的视频| 国产一区二区三区四| 免费一级欧美片在线观看| 午夜精品福利在线| 五月天激情综合网| 偷窥国产亚洲免费视频| 亚洲18影院在线观看| 午夜欧美电影在线观看| 视频一区二区三区入口| 亚洲午夜免费视频| 日本一不卡视频| 久久99精品国产| 成人亚洲一区二区一| 成人综合婷婷国产精品久久蜜臀| 国产99久久久国产精品潘金网站| 激情丁香综合五月| a亚洲天堂av| 欧美日韩二区三区| 久久久三级国产网站| 国产精品理论在线观看| 亚洲国产精品欧美一二99| 日本最新不卡在线| 成人a免费在线看| 777久久久精品| 日韩一区日韩二区| 秋霞电影一区二区| 99久久精品国产麻豆演员表| 日本精品一级二级| 2023国产精品| 日本视频免费一区| 欧美午夜电影一区| 国产激情视频一区二区在线观看| 欧美在线一二三| 欧美午夜理伦三级在线观看| 91丝袜美腿高跟国产极品老师| 成人亚洲一区二区一| 欧美在线|欧美| 4438x成人网最大色成网站| 成人黄色在线看| 在线不卡欧美精品一区二区三区| 欧美综合久久久| 一区二区三区不卡视频在线观看 | 一区二区三区免费看视频| 精油按摩中文字幕久久| 成人伦理片在线| 亚洲超丰满肉感bbw| 欧美高清性hdvideosex| 国产日韩av一区| 久久av中文字幕片| 国内欧美视频一区二区| 国产九色精品成人porny | 91免费版pro下载短视频| 中文字幕 久热精品 视频在线| 亚洲欧美日韩国产中文在线| 亚洲国产精品ⅴa在线观看| 亚洲欧美日韩久久| 国产一区二区网址| 色综合中文字幕国产| 在线电影院国产精品| 亚洲人成伊人成综合网小说| 蜜臀av在线播放一区二区三区| 色综合久久久网| 奇米影视一区二区三区小说| 99久久久精品免费观看国产蜜| 国产欧美日韩一区二区三区在线观看| 老司机午夜精品99久久| 欧美精品一区二区三区在线播放 | 国产精品亚洲专一区二区三区| 国产亚洲欧美在线| 欧美在线啊v一区| 麻豆一区二区三区| 国产精品国产三级国产aⅴ入口| 色哟哟国产精品| 奇米一区二区三区av| 国产女人18毛片水真多成人如厕 | 国产三级欧美三级日产三级99| 亚洲成人av一区二区三区| 99热精品国产| 麻豆成人久久精品二区三区红 | 国产伦精品一区二区三区视频青涩 | 亚洲一二三四在线| 日韩欧美久久久| 欧美精品v国产精品v日韩精品 | 国产欧美日韩一区二区三区在线观看| 色94色欧美sute亚洲线路一久 | 亚洲国产另类精品专区| 国产嫩草影院久久久久| 中文字幕欧美国产| 欧美体内she精高潮| 国产精品影视天天线| 丝袜诱惑制服诱惑色一区在线观看| 国产三级精品视频| 欧美v亚洲v综合ⅴ国产v| 91精品国产综合久久精品性色| 成人av网站在线观看| 国产精品77777| 成人综合婷婷国产精品久久蜜臀| 久久超碰97中文字幕| 老司机一区二区| 国产一区二区三区久久久| 国产在线精品一区二区| 激情文学综合插| 大胆亚洲人体视频| 色综合天天在线| 欧美撒尿777hd撒尿| 欧美高清你懂得| 337p粉嫩大胆噜噜噜噜噜91av| 色婷婷av一区二区三区软件| 国内精品国产三级国产a久久| 韩国一区二区视频| 成人av一区二区三区| 一本大道久久a久久综合婷婷| 在线观看国产一区二区| 欧美日韩aaaaa| 2014亚洲片线观看视频免费| 国产日韩亚洲欧美综合| 一区二区三区在线高清| 日本va欧美va精品| 成人av电影在线播放| 欧美久久久影院| 国产日产精品1区| 亚洲一二三区在线观看| 国产一区999|