+ newColours = new Color[jucs.getColourCount()];\r
+\r
+ for (int i = 0; i < 24; i++)\r
+ {\r
+ newColours[i] = new Color(Integer.parseInt(\r
+ jucs.getColour(i).getRGB(), 16));\r
+ }\r
+ if (newColours != null)\r
+ {\r
+ ucs = new UserColourScheme(newColours);\r
+ ucs.setName(jucs.getSchemeName());\r
+ }\r
+ }catch(Exception ex2)\r
+ { ex2.printStackTrace(); }\r
+\r
+ if(newColours==null)\r
+ System.out.println("Error loading User ColourFile\n"+ex);\r
+ }\r