comparison flys-artifacts/src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java @ 3637:d5a0602375fb

Fixed logo integration in timeseries charts. flys-artifacts/trunk@5346 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Raimund Renkert <raimund.renkert@intevation.de>
date Mon, 03 Sep 2012 12:40:01 +0000
parents ebfce31c7eec
children 6bfcbe391393
comparison
equal deleted inserted replaced
3636:9f485f9fe8f9 3637:d5a0602375fb
272 flys-artifacts: 272 flys-artifacts:
273 XYChartGenerator.java 273 XYChartGenerator.java
274 Timeseries*Generator.java and 274 Timeseries*Generator.java and
275 in the flys-client projects Chart*Propert*Editor.java. 275 in the flys-client projects Chart*Propert*Editor.java.
276 */ 276 */
277 java.net.URL imageURL;
277 if (logo.equals("Intevation")) { 278 if (logo.equals("Intevation")) {
278 imageIcon = new ImageIcon("/home/felix/Downloads/intevation_logo_120.png"); 279 imageURL = XYChartGenerator.class.getResource("/images/intevation.png");
279 } 280 }
280 else { // TODO else if ... 281 else { // TODO else if ...
281 imageIcon = new ImageIcon("/home/felix/Downloads/bfg_logo.gif"); 282 imageURL = XYChartGenerator.class.getResource("/images/bfg_logo.gif");
282 } 283 }
283 284 imageIcon = new ImageIcon(imageURL);
284 double xPos = 0d, yPos = 0d; 285 double xPos = 0d, yPos = 0d;
285 286
286 String placeh = logoHPlace(); 287 String placeh = logoHPlace();
287 String placev = logoVPlace(); 288 String placev = logoVPlace();
288 289

http://dive4elements.wald.intevation.org