Revision 33213 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/gui/styling/JComboBoxColorScheme.java

View differences:

JComboBoxColorScheme.java
1
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
1
/* gvSIG. Geographic Information System of the Valencian Government
2 2
 *
3
 * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
3
 * Copyright (C) 2007-2008 Infrastructures and Transports Department
4
 * of the Valencian Government (CIT)
4 5
 *
5 6
 * This program is free software; you can redistribute it and/or
6 7
 * modify it under the terms of the GNU General Public License
......
14 15
 *
15 16
 * You should have received a copy of the GNU General Public License
16 17
 * along with this program; if not, write to the Free Software
17
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
18
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19
 * MA  02110-1301, USA.
18 20
 *
19
 * For more information, contact:
20
 *
21
 *  Generalitat Valenciana
22
 *   Conselleria d'Infraestructures i Transport
23
 *   Av. Blasco Ib??ez, 50
24
 *   46010 VALENCIA
25
 *   SPAIN
26
 *
27
 *      +34 963862235
28
 *   gvsig@gva.es
29
 *      www.gvsig.gva.es
30
 *
31
 *    or
32
 *
33
 *   IVER T.I. S.A
34
 *   Salamanca 50
35
 *   46005 Valencia
36
 *   Spain
37
 *
38
 *   +34 963163400
39
 *   dac@iver.es
40 21
 */
41 22
package com.iver.cit.gvsig.gui.styling;
42 23

  
......
49 30
import java.awt.Rectangle;
50 31
import java.awt.event.ActionEvent;
51 32
import java.awt.event.ActionListener;
52
import java.io.File;
53 33
import java.util.ArrayList;
54 34

  
55 35
import javax.swing.JComboBox;
......
70 50
 * @autor jaume dominguez faus - jaume.dominguez@iver.es
71 51
 */
72 52
public class JComboBoxColorScheme extends JComboBox {
73
	private String palettesPath = System.getProperty("user.home") +
74
	File.separator +
75
	"gvSIG" +
76
	File.separator +
77
	"ColorSchemes";
78

  
53
	private String palettesPath = com.iver.andami.Launcher.getAppHomeDir() + "ColorSchemes";
79 54
	private boolean interpolated = false;
80 55
	private ArrayList fileList = new ArrayList();
81 56

  

Also available in: Unified diff