< prev index next >

src/java.desktop/unix/classes/sun/awt/X11/MotifColorUtilities.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2003, 2006, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 418,428 **** throw new FileNotFoundException("Could not open : "+ paletteFilePath); } } BufferedReader bfr = new BufferedReader(new FileReader(pFile)); ! int colors[] = new int[8]; int r,g,b; String temp,color; for (int i=0;i<8;i++) { temp = bfr.readLine(); --- 418,428 ---- throw new FileNotFoundException("Could not open : "+ paletteFilePath); } } BufferedReader bfr = new BufferedReader(new FileReader(pFile)); ! int[] colors = new int[8]; int r,g,b; String temp,color; for (int i=0;i<8;i++) { temp = bfr.readLine();
< prev index next >