Revision 6604 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/gui/layout/fframes/dialogs/FFrameScaleBarDialog.java
FFrameScaleBarDialog.java | ||
---|---|---|
269 | 269 |
public void valueChanged( |
270 | 270 |
javax.swing.event.ListSelectionEvent e) { |
271 | 271 |
IFFrame[] fframes=m_layout.getFFrames(); |
272 |
int selectInt = (int) ((JList) e.getSource())
|
|
272 |
int selectInt = ((JList) e.getSource()) |
|
273 | 273 |
.getSelectedIndex(); |
274 | 274 |
if (selectInt != selectIndex) { |
275 | 275 |
selectIndex = selectInt; |
... | ... | |
919 | 919 |
true, colorChooser, null, null); |
920 | 920 |
dlg.show(true); |
921 | 921 |
|
922 |
textcolor = (Color) colorChooser.getColor();
|
|
922 |
textcolor = colorChooser.getColor(); |
|
923 | 923 |
|
924 | 924 |
//getJPanel1().setBackground(textcolor); |
925 | 925 |
bUnidadesColor.setBackground(textcolor); |
... | ... | |
951 | 951 |
true, colorChooser, null, null); |
952 | 952 |
dlg.show(true); |
953 | 953 |
|
954 |
barcolor = (Color) colorChooser.getColor();
|
|
954 |
barcolor = colorChooser.getColor(); |
|
955 | 955 |
|
956 | 956 |
//getJPanel().setBackground(barcolor); |
957 | 957 |
bBarraColor.setBackground(barcolor); |
Also available in: Unified diff